Oracle 视图 V$DB_OBJECT_CACHE 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图V$DB_OBJECT_CACHE视图用于查询数据库中缓存的数据库对象。它可以查出特定的数据库对象,无论它们是何时加载到数据库中的。
这幅视图提供了有关当前已加载到数据库内存中的对象基本结构和统计信息的信息,以及其它有用的数据,如所属的对象类型。
如何使用Oracle视图V$DB_OBJECT_CACHE:
要查询某个已加载数据库对象的信息,可以使用如下SQL语句:
SELECT * FROM V$DB_OBJECT_CACHE WHERE name = ‘object_name’;
该语句将返回数据库对象object_name的详细信息,包括其对象类型,所属模式以及其他信息。
官方英文解释
V$DB_OBJECT_CACHE
displays database objects that are cached in the library cache. Objects include tables, indexes, clusters, synonym definitions, PL/SQL procedures and packages, and triggers.
Column | Datatype | Description |
---|---|---|
|
|
Owner of the object |
|
|
Name of the object |
|
|
Database link name, if any |
|
|
Library cache namespace of the object: |
|
|
Type of the object: |
|
|
Amount of sharable memory in the shared pool consumed by the object |
|
|
Number of times the object has been loaded. This count also increases when an object has been invalidated. |
|
|
Not used See Also: “V$SQLAREA” to see actual execution counts |
|
|
Number of users currently locking this object |
|
|
Number of users currently pinning this object |
|
|
( |
|
|
Child latch number that is protecting the object. This column is obsolete and maintained for backward compatibility. |
|
|
Total number of times objects in the namespace were marked invalid because a dependent object was modified |
|
|
Hash value of the object |
|
|
Current lock mode of the object |
|
|
Current pin mode of the object |
|
|
Status of the object |
|
|
Timestamp for the specification of the object |
|
|
Previous timestamp for the specification of the object |
|
|
Total number of times the object has been locked |
|
|
Total number of times the object has been pinned |
|
|
Property of the object. Possible values include |
|
|
Full hash value of the object |
|
|
The ID of the container to which the data pertains. Possible values include:
|
|
|
Container name of the object. The value of this column is |
|
|
Address of the handle for this object |
|
|
Edition name |
See Also:
-
Oracle Database PL/SQL
Packages and Types Reference for more information about theDBMS_SHARED_POOL.KEEP
procedure -
Oracle Database PL/SQL
Packages and Types Reference for more information about theDBMS_SHARED_POOL.MARKHOT
procedure