惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
News | PayPal Newsroom
Security Archives - TechRepublic
Security Archives - TechRepublic
Hacker News: Ask HN
Hacker News: Ask HN
H
Hacker News: Front Page
Apple Machine Learning Research
Apple Machine Learning Research
TaoSecurity Blog
TaoSecurity Blog
Help Net Security
Help Net Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
V
V2EX
Hugging Face - Blog
Hugging Face - Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
人人都是产品经理
人人都是产品经理
博客园 - 三生石上(FineUI控件)
Security Latest
Security Latest
Cloudbric
Cloudbric
WordPress大学
WordPress大学
S
SegmentFault 最新的问题
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Know Your Adversary
Know Your Adversary
A
Arctic Wolf
L
LangChain Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
The GitHub Blog
The GitHub Blog
P
Proofpoint News Feed
W
WeLiveSecurity
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
M
MIT News - Artificial intelligence
Google DeepMind News
Google DeepMind News
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The Cloudflare Blog
小众软件
小众软件
NISL@THU
NISL@THU
云风的 BLOG
云风的 BLOG
P
Privacy & Cybersecurity Law Blog
S
Security @ Cisco Blogs
博客园 - 【当耐特】
I
InfoQ
Vercel News
Vercel News
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
P
Proofpoint News Feed
O
OpenAI News
Google DeepMind News
Google DeepMind News
N
News and Events Feed by Topic
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
K
Kaspersky official blog
T
Threat Research - Cisco Blogs
量子位
宝玉的分享
宝玉的分享

博客园 - 无意

程序猿的故事 余额宝收益查询_最新收益率 外国名著小说大全 linux 查看系统版本 32位 or 64位 redhat linux websphere 6 命令行安装(静默安装) 名著小说在线阅读 历史天气查询 oracle分区表之交换分区 altertable exchange partition with table 新工作 oracle 日常维护工作内容 RedHat Linux常见命令 Oracle to_char格式化函数 ROLLUP和CUBE语句 Oracle分析函数参考手册 oracle游标 oracle 存储过程模板 Oracle Merge into 详细介绍 11gr2中DBA_TAB_MODIFICATIONS视图返回结果异常 设置AUTOTRACE时出现SP2-0611错误
利用dbms_system包SET_SQL_TRACE_IN_SESSION开启sql跟踪
无意 · 2010-05-25 · via 博客园 - 无意

select name,value, ISSYS_MODIFIABLE from v$parameter where name like'%sga%'; 查看参数更改是否立即生效

select sid, SERIAL#,username from v$session; 查看会话

select sid, SERIAL#,username from v$session;
153         15 SCOTT


desc dbms_systems
execute dbms_system.SET_SQL_TRACE_IN_SESSION(153,15,true); 启动sq跟踪


select s.sid,s.serial#,s.username,p.spid         根据sid, SERIAL#查询spid

from v$session s,v$process p
where s.paddr=p.ADDR
/

根据显示的spid到C:\oracle\product\10.2.0\admin\orcl\udump中找文件orcl_ora_2020.trc

C:\Documents and Settings\Administrator>tkprof
C:\Documents and Settings\Administrator>tkprof C:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_2020.trc  c:\t1.txt             利用tkprof反编译跟踪文件