Oracle 视图 V$LIBRARYCACHE 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图V$LIBRARYCACHE用于查询被缓存在shard pool (SP) 中的shared SQL cursors,以及在各个会话会话中使用次数。
使用方法:
1、查询缓存在SP中的SQL语句:
SELECT SQL_TEXT
FROM V$LIBRARYCACHE
WHERE namespace = ‘SQL AREA’;
2、查询会话中使用SQL次数:
SELECT *
FROM V$LIBRARYCACHE
WHERE SESSION_ADDR = ‘SESSION ADDRESS’;
官方英文解释
V$LIBRARYCACHE contains statistics about library cache performance and activity.
| Column | Datatype | Description |
|---|---|---|
|
| Library cache namespace |
|
| Number of times a lock was requested for objects of this namespace |
|
| Number of times an object’s handle was found in memory |
|
| Ratio of |
|
| Number of times a PIN was requested for objects of this namespace |
|
| Number of times all of the metadata pieces of the library object were found in memory |
|
| Ratio of |
|
| Any |
|
| Total number of times objects in this namespace were marked invalid because a dependent object was modified |
|
| Number of |
|
| Number of PIN requests lock instance locks |
|
| Number of release requests PIN instance locks |
|
| Number of |
|
| Number of invalidation pings received from other instances |
|
| The ID of the container to which the data pertains. Possible values include:
|
编辑:568数据
标签:缓存,次数,英文,视图,中文