`
- 浏览:
1373920 次
-
Diagnostic and Tuning Tools(3)
statspack报告,对数据库做一次全面的体检。
参考书:《Oracle database 10g performance tuning tips & techniques 》
《Your Performing toolkit》 TOM大师
DD and Special Views
dba_tables,dba_tab_columns
dba_clusters
dba_indexes,index_stats
index_histogram,dba_tab_histograms
This statistical information is static until you reexecute dbms_stats.
重新执行一次这个包,这些信息才会改变。
Systemwide Statistics全局性的信息
v$sysstat,v$sgastat,v$event_name,v$system_event
Session-Related Statistics会话级别的信息
v$statname,v$sesstat,v$session
v$session_event,v$event_name,v$session_wait;
实验:
conn hr/hr
select sid,serial#,username from v$session
desc v$sesstat
select * from v$sesstat where sid=12;
统计指标是164,VALUE是6,什么含义呢?就查询v$statname了。
Oracle Wait Events
等待资源。
v$event_name
v$session_event:Waits for an event for each session that had to wait.
v$session_wait:Waits for an event for current active sessions that are waiting.
v$system_event:Total waits for an event,all sessions together.
分享到:
Global site tag (gtag.js) - Google Analytics
相关推荐
The book sequence is easy to follow and all topics are fully illustrated showing you how to make good use of different performance diagnostic tools. Who this book is written for If you are an ...
例如,它可能包含ADDM(Automatic Diagnostic Database Monitor)和ASH(Active Session History)等,这些工具可以帮助DBA分析数据库的性能问题,找出瓶颈并提供优化建议。此外,还可能包含一些实用脚本和实用程序...
engineersanddesignerswithpowerfultoolsthatcanbethesolutiontoreducethetimetomarketof specific devices, (such as modern mobile phones, tablets and ...
These include pattern generation, signal testing, and diagnostic tools. #### Package Pin Diagram The TW8816 is available in two package configurations: - **128-Pin LQFP (Leadless Quad Flat Package...
这通常包括了一个名为“Server Tools”或者“Diagnostic and Tuning Pack”的组件,其中包含了 Bbed。如果你的安装中没有这个组件,可能需要重新安装或者通过 Oracle Universal Installer (OUI) 添加。 安装步骤...
10. **Performance Tuning Advisor**:Oracle提供的一系列性能调优顾问,如SQL Tuning Advisor、Memory Advisor等,根据数据库行为提出优化建议。 11. **Database Resource Manager (DRM)**:管理数据库资源分配,...
- **Improved Backup and Recovery Tools**:改进了备份与恢复工具,如RMAN(Recovery Manager)。 #### 三、Oracle 11g维护关键技术 ##### 3.1 数据库备份与恢复 - **RMAN**:用于数据库备份和恢复的核心工具。 -...
3. **性能分析工具(Profiling Tools)**:Java提供了一系列性能分析工具,例如jmap、jstack、jstat和jconsole等,用于监控内存使用、线程状态、虚拟机性能指标和应用程序的性能瓶颈。 4. **JVM参数调整(JVM ...
10. **数据库故障诊断与维护**:学习如何使用 Alert Log、Automatic Diagnostic Repository (ADR) 和 Monitoring Tools 进行故障诊断和数据库维护。 11. **数据库升级与迁移**:了解不同版本之间的升级策略,以及...