When tuning an Oracle database, each component has its own set of statistics. To look at the system as a whole, it is necessary to have a common scale for comparisons. For this reason, most Oracle Database advisories and reports describe statistics in terms of time.
In addition, the
V$SESS_TIME_MODEL
and V$SYS_TIME_MODEL
views provide time model statistics. Using the common time instrumentation helps to identify quantitative effects on the database operations.
The most important of the time model statistics is
DB
time
. This statistics represents the total time spent in database calls and is an indicator of the total instance workload. It is calculated by aggregating the CPU and wait times of all sessions not waiting on idle wait events (non-idle user sessions).DB
time
is measured cumulatively from the time of instance startup. Because DB
time
it is calculated by combining the times from all non-idle user sessions, it is possible that the DB
time
can exceed the actual time elapsed after the instance started. For example, an instance that has been running for 30 minutes could have four active user sessions whose cumulative DB
time
is approximately 120 minutes.
The objective for tuning an Oracle system could be stated as reducing the time that users spend in performing some action on the database, or simply reducing
DB
time
. Other time model statistics provide quantitative effects (in time) on specific actions, such as logon operations and hard and soft parses.
No comments:
Post a Comment