| DB Name | DB Id | Instance | Inst num | Startup Time | Release | RAC |
|---|---|---|---|---|---|---|
| HDDB | 729144632 | hddb1 | 1 | 19-6月 -14 03:06 | 11.2.0.4.0 | YES |
| Host Name | Platform | CPUs | Cores | Sockets | Memory (GB) |
|---|---|---|---|---|---|
| dbserver1 | AIX-Based Systems (64-bit) | 32 | 8 | 62.00 |
| Snap Id | Snap Time | Sessions | Cursors/Session | Instances | |
|---|---|---|---|---|---|
| Begin Snap | 32367 | 13-8月 -14 10:02:33 | 587 | 4.8 | 2 |
| End Snap: | 32368 | 13-8月 -14 10:31:08 | 592 | 4.9 | 2 |
| Elapsed: | 28.60 (mins) | ||||
| DB Time: | 1,036.10 (mins) |
Top 10 Foreground Events by Total Wait Time
| Event | Waits | Total Wait Time (sec) | Wait Avg(ms) | % DB time | Wait Class |
|---|---|---|---|---|---|
| DB CPU | 9239.6 | 14.9 | |||
| reliable message | 1,175,583 | 3924.9 | 3 | 6.3 | Other |
| db file sequential read | 429,967 | 1844.8 | 4 | 3.0 | User I/O |
| SQL*Net more data to client | 8,947,769 | 838.2 | 0 | 1.3 | Network |
| log file sync | 195,677 | 436.8 | 2 | .7 | Commit |
| gc current block 2-way | 433,667 | 331.9 | 1 | .5 | Cluster |
| db file parallel read | 40,693 | 260.8 | 6 | .4 | User I/O |
| gc cr block 2-way | 137,863 | 125.1 | 1 | .2 | Cluster |
| SQL*Net message to client | 32,641,422 | 99.9 | 0 | .2 | Network |
| gc current block busy | 28,184 | 80.6 | 3 | .1 |
Cluster |
| Wait Class | Waits | Total Wait Time (sec) | Avg Wait (ms) | % DB time | Avg Active Sessions |
|---|---|---|---|---|---|
| DB CPU | 9,240 | 14.9 | 5.4 | ||
| Other | 6,603,229 | 4,114 | 1 | 6.6 | 2.4 |
| User I/O | 481,780 | 2,119 | 4 | 3.4 | 1.2 |
| Network | 42,069,399 | 1,190 | 0 | 1.9 | 0.7 |
| Cluster | 832,954 | 793 | 1 | 1.3 | 0.5 |
| Commit | 195,677 | 437 | 2 | .7 | 0.3 |
| System I/O | 571,383 | 418 | 1 | .7 | 0.2 |
| Concurrency | 2,157,806 | 100 | 0 | .2 | 0.1 |
| Configuration | 512 | 3 | 5 | .0 | 0.0 |
| Application | 714 | 1 | 1 | .0 | 0.0 |
Host CPU
| CPUs | Cores | Sockets | Load Average Begin | Load Average End | %User | %System | %WIO | %Idle |
|---|---|---|---|---|---|---|---|---|
| 32 | 8 | 51.97 | 78.14 | 77.7 | 19.1 | 0.4 | 3.2 |
Instance CPU
| %Total CPU | %Busy CPU | %DB time waiting for CPU (Resource Manager) |
|---|---|---|
| 17.6 | 18.1 | 0.0 |
| Statistic Name | Time (s) | % of DB Time |
|---|---|---|
| sql execute elapsed time | 52,477.58 | 84.42 |
| DB CPU | 9,239.60 | 14.86 |
| parse time elapsed | 422.57 | 0.68 |
| PL/SQL execution elapsed time | 41.28 | 0.07 |
| hard parse elapsed time | 18.58 | 0.03 |
| sequence load elapsed time | 17.49 | 0.03 |
| hard parse (sharing criteria) elapsed time | 15.02 | 0.02 |
| connection management call elapsed time | 12.12 | 0.02 |
| hard parse (bind mismatch) elapsed time | 3.45 | 0.01 |
| repeated bind elapsed time | 0.65 | 0.00 |
| PL/SQL compilation elapsed time | 0.38 | 0.00 |
| failed parse elapsed time | 0.05 | 0.00 |
| DB time | 62,166.08 | |
| background elapsed time | 2,233.68 | |
| background cpu time | 404.84 |
V$SYS_TIME_MODEL displays the system-wide accumulated times for various operations. The time reported is the total elapsed or CPU time (in microseconds). Any timed operation will buffer at most 5 seconds of time data. Specifically, this means that if a timed operation (such as SQL execution) takes a long period of time to perform, the data published to this view is at most missing 5 seconds of the time accumulated for the operation.
The time values are 8-byte integers and can therefore hold approximately 580,000 years worth of time before wrapping. Background process time is not included in a statistic value unless the statistic is specifically for background processes.
| Column | Datatype | Description |
|---|---|---|
| STAT_ID | NUMBER | Statistic identifier for the time statistic |
| STAT_NAME | VARCHAR2(64) | Name of the statistic (see Table 9-1) |
| VALUE | NUMBER | Amount of time (in microseconds) that the system has spent in this operation |
Table 9-1 V$SESS_TIME_MODEL and V$SYS_TIME_MODEL Statistics
| Statistic Name | Description |
|---|---|
|
DB Time |
Amount of elapsed time (in microseconds) spent performing Database user-level calls. This does not include the elapsed time spent on instance background processes such as PMON. |
|
DB CPU |
Amount of CPU time (in microseconds) spent on database user-level calls. This does not include the CPU time spent on instance background processes such as PMON. |
|
background elapsed time |
Amount of elapsed time (in microseconds) consumed by database background processes. |
|
background CPU time |
Amount of CPU time (in microseconds) consumed by database background processes. |
|
sequence load elapsed time |
Amount of elapsed time spent getting the next sequence number from the data dictionary. If a sequence is cached, then this is the amount of time spent replenishing the cache when it runs out. No time is charged when a sequence number is found in the cache. For non-cached sequences, some time will be charged for every nextval call. |
|
parse time elapsed |
Amount of elapsed time spent parsing SQL statements. It includes both soft and hard parse time. |
|
hard parse elapsed time |
Amount of elapsed time spent hard parsing SQL statements. |
|
SQL execute elapsed time |
Amount of elapsed time SQL statements are executing. Note that for select statements this also includes the amount of time spent performing fetches of query results. |
|
connection management call elapsed time |
Amount of elapsed time spent performing session connect and disconnect calls. |
|
failed parse elapsed time |
Amount of time spent performing SQL parses which ultimately fail with some parse error. |
|
failed parse (out of shared memory) elapsed time |
Amount of time spent performing SQL parses which ultimately fail with error ORA-04031. |
|
hard parse (sharing criteria) elapsed time |
Amount of elapsed time spent performing SQL hard parses when the hard parse resulted from not being able to share an existing cursor in the SQL cache. |
|
hard parse (bind mismatch) elapsed time |
Amount of elapsed time spent performing SQL hard parses when the hard parse resulted from bind type or bind size mismatch with an existing cursor in the SQL cache. |
|
PL/SQL execution elapsed time |
Amount of elapsed time spent running the PL/SQL interpreter. This does not include time spent recursively executing/parsing SQL statements or time spent recursively executing the Java VM. |
|
PL/SQL compilation elapsed time |
Amount of elapsed time spent running the PL/SQL compiler. |
|
inbound PL/SQL rpc elapsed time |
Time inbound PL/SQL remote procedure calls have spent executing. It includes all time spent recursively executing SQL and JAVA, and therefore is not easily related to "PL/SQL execution elapsed time". |
|
Java execution elapsed time |
Amount of elapsed time spent running the Java VM. This does not include time spent recursively executing/parsing SQL statements or time spent recursively executing PL/SQL. |
|
RMAN cpu time (backup/restore) |
Amount of CPU time (in microseconds) spent in RMAN backup and restore operations. |
|
repeated bind elapsed time |
Amount of elapsed time spent giving new values to bind variables (rebinding). |
1) background elapsed time
2) background cpu time
3) RMAN cpu time (backup/restore)
1) DB time
2) DB CPU
2) connection management call elapsed time
2) sequence load elapsed time
2) sql execute elapsed time
2) parse time elapsed
3) hard parse elapsed time
4) hard parse (sharing criteria) elapsed time
5) hard parse (bind mismatch) elapsed time
3) failed parse elapsed time
4) failed parse (out of shared memory) elapsed time
2) PL/SQL execution elapsed time
2) inbound PL/SQL rpc elapsed time
2) PL/SQL compilation elapsed time
2) Java execution elapsed time
2) repeated bind elapsed time
Children do not necessarily add up to the parent.(子项不一定会累加到父项)
Children are not necessarily exclusive (that is, it is possible that they overlap).(子项之间不是互斥的,即可能子项之间有重叠计算部分)
The union of children does not necessarily cover the whole of the parent.(子项合集并不一定会包括或覆盖整个父项,即父项还可能包括其它的未列出来的子项)
| Elapsed Time (s) | Executions | Elapsed Time per Exec (s) | %Total | %CPU | %IO | SQL Id | SQL Module | SQL Text |
|---|---|---|---|---|---|---|---|---|
| 15,434.99 | 10,719 | 1.44 | 24.83 | 15.49 | 0.00 | bbjh8y6nbzrvx | select aa.id, aa.title, aa.con... | |
| 12,280.97 | 10,704 | 1.15 | 19.76 | 14.26 | 0.00 | 78nftn2bahtvt | select * from ( select aa.id, ... | |
| 7,623.18 | 5,587 | 1.36 | 12.26 | 16.01 | 0.00 | 00rxjzvf46mjn | select aa.id, aa.title, aa.con... | |
| 6,119.31 | 5,578 | 1.10 | 9.84 | 14.74 | 0.00 | 1yn1kkk806cs9 | select * from ( select aa.id, ... | |
| 1,237.11 | 170 | 7.28 | 1.99 | 17.53 | 0.00 | 72x7sb99y9a47 | select count(t.business_id) nu... | |
| 1,161.12 | 3,589 | 0.32 | 1.87 | 19.46 | 0.00 | gq754q2k2ba00 | select tsurfmodul0_.id as id0_... | |
| 912.41 | 119,289 | 0.01 | 1.47 | 2.46 | 84.38 | b49ms69hn4as1 | select tdsurfassi0_.id as id4_... | |
| 616.80 | 1,435,837 | 0.00 | 0.99 | 17.73 | 0.00 | 20g72xjs4fuwn | select tsurfmodul0_.id as id12... | |
| 601.76 | 473 | 1.27 | 0.97 | 17.96 | 0.00 | 1pdyhb9xhuh94 | select aa.id, aa.title, aa.con... | |
| 581.22 | 4,662 | 0.12 | 0.93 | 24.05 | 0.00 | 73mu0ta89hpza | select tsurfmodul0_.id as id12... |
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29101923/viewspace-1431843/ ,如需转载,请注明出处,否则将追究法律责任。