Lesson 2 | The Oracle performance views |
Objective | List the critical V$ views |
Using Oracle Memory Structures to gather performance Data
V$SYSSTAT view
The V$SYSSTAT view is an important source of many database-wide statistics. It is used to compute the following:
V$SYSSTAT view
Data buffer hit ratio
| Usually computed by using the bstat-estat utility, which reads values from V$SYSSTAT.
|
Number of disks |
Used to set the sort_area_size parameter |
Continued row fetches |
Increments a counter whenever Oracle must read a chained row. If this value is high, performance is being compromised, and database reorganization may be necessary |
Other important V$ views
Listed below are the other V$ views that every DBA should know.
View |
Description |
V$LIBRARYCACHE |
This view contains performance statistics about all activities in the library cache. These include cache_misses and cache_pins . |
V$SESSION_WAIT |
This view shows all Oracle sessions that are waiting on internal resources. |
V$SGASTAT |
This view shows internal SGA statistics such as free_memory . |
V$SQLAREA |
This view contains valuable information about executing SQL including the parse_count and the number of times the SQL was executed. |
V$WAITSTAT |
This view gives details about any sessions that are waiting on Oracle resources. |
V$SESSION |
This view gives detailed session information about all connected Oracle users. |
V$SESSION_EVENT |
This view is used to show the number of session waits and session timeouts. |
The following paragraph discusses in greater detail the critical V$ performance views in Oracle.
V$ performance Views in Oracle
V$ Performance Views