Don't overlook STATSPACK in Oracle 10g
I had the privilege last month of hearing Rich Niemiec of TUSC speak about performance tuning at the Dallas Oracle Users Group. One tip he gave us was just too good not to pass on, so here it is: STATSPACK is still alive and well in Oracle 10g.
A lot of the excitement about performance tuning in Oracle 10g is about the new Automated Workload Repository (AWR) feature, and the proactive monitoring it provides through Automatic Database Diagnostic Monitor (ADDM). It is widely reported as the replacement for STATSPACK -- and it is. It does more, and it is the future of Oracle tuning, according to Mr. Niemiec.
But, he said, don't ignore STATSPACK. Not only is it still present in Oracle 10g for legacy reasons, but it was updated to include many of the new measurements captured in the AWR. While you need additional licenses for Diagnostics Pack and Tuning Pack to fully use AWR, STATSPACK is included in the price of Oracle.
Here are a few of the things that Mr. Niemiec mentioned as being new in STATSPACK in Oracle 10g:
- Time Model Statistics: Oracle's time model includes db_time, the time spent processing database requests, and various wait times, when a session is waiting for a resource. Time Model Statistics break down db_time into its components, so you can see how much time Oracle spent processing by operation type.
- Wait Event Histograms: Instead of overall counters of how many waits of each type occurred, the histogram further breaks out the count by time. You can see how many waits were less than 1ms, less than 4ms, less than 8ms, and so on. It may not be a tuning priority if you detect waits, but they're all very short.
- File Read Histograms: Like Wait Event Histograms, these break out the count of disk blocks read by the time required to read them. You can more easily see which devices are not performing well.
- Operating System Statistics: These show CPU broken down into system vs. user time and active vs. idle time, as well as bytes in and out.
- Undo Statistics: These are detailed measurements on the efficiency of the Undo segments.
The procedure for running STATSPACK hasn't changed significantly, though there are a few new options, such as setting the extent sizes of the tables built during the spcreate script.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7364032/viewspace-17471/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- PostgreSQL DBA(117) - pgAdmin(Don't do this: Don't use serial)SQL
- PostgreSQL DBA(113) - pgAdmin(Don't do this:Don't use char(n))SQL
- PostgreSQL DBA(109) - pgAdmin(Don't do this:Don't use BETWEEN)SQL
- PostgreSQL DBA(108) - pgAdmin(Don't do this:Don't use upper names)SQL
- PostgreSQL DBA(115) - pgAdmin(Don't do this:Don't use varchar(n) by default)SQL
- PostgreSQL DBA(116) - pgAdmin(Don't do this:Don't use money&serial)SQL
- PostgreSQL DBA(111) - pgAdmin(Don't do this:Don't use CURRENT_TIME)SQL
- PostgreSQL DBA(112) - pgAdmin(Don't do this:Don't use timestamptz(0))SQL
- You don't know CSSCSS
- PostgreSQL DBA(110) - pgAdmin(Don't do this: Don't use timestamp without tz)SQL
- You don't know css(2)CSS
- Don't let me think 筆記筆記
- 網站提示:You Don’t Have Permission To Access網站
- don't cry(original) - guns and rosesROS
- Couldn't be opened because you don't have permission to view it 執行時報錯View
- PostgreSQL DBA(104) - pgAdmin(Don't do this:Rule)SQL
- PostgreSQL DBA(106) - pgAdmin(Don't do this:NOT IN)SQL
- You don't have write permissions for the /usr/bin directory.
- Extract or Replicat Fail to Start (Don't Start) With No Error MessagesAIError
- 10g awr與statspack區別
- Oracle之StatspackOracle
- In PL/SQL,the statement of "into variable" wasn't appeared in statspackSQLAPP
- PostgreSQL DBA(103) - pgAdmin(Don't do this:Encoding)SQLEncoding
- 《Look Mom, I don’t use Shellcode》議題解析
- wamp出現You don’t have permission to access/on this server提示Server
- oracle statspack詳解Oracle
- Oracle Statspack的使用Oracle
- Oracle statspack綜合分析Oracle
- oracle statspack 詳解Oracle
- Oracle Statspack ReportOracle
- PostgreSQL DBA(107) - pgAdmin(Don't do this:NOT IN vs NOT EXISTS)SQL
- JDK5.0垃圾收集最佳化之--Don't PauseJDK
- 軟體開發流行的原則:don't repeat yourself
- Oracle statspack工具使用解析Oracle
- PostgreSQL DBA(105) - pgAdmin(Don't do this:psql&inheritance)SQL
- [php排錯] Forbidden You don't have permission to access / on this server.PHPORBServer
- 破解Don't Panic! 4.0(我又來了) (5千字)
- [WK-T]ORACLE 10G 配置故障轉移(Failover)Oracle 10gAI