欢迎光临
我们一直在努力

Oracle 视图 V$RESULT_CACHE_DEPENDENCY 官方解释,作用,如何使用详细说明

本站中文解释

Oracle视图V$RESULT_CACHE_DEPENDENCY用于查看当前和活动结果缓存中的模式和对象的依赖关系。通过这个视图,可以查看表或视图被用做结果缓存中的依赖,以及缓存被每一个结果缓存依赖项更新的时间。

如何使用:
首先确保结果缓存已经启用,然后可以使用下面的SQL查询V$RESULT_CACHE_DEPENDENCY来查看当前和活动的缓存依赖关系:

SELECT SCHEMA#, SCHEMA_NAME, OBJ#, OBJ_NAME, LAST_CHANGE#
FROM V$RESULT_CACHE_DEPENDENCY;

官方英文解释

V$RESULT_CACHE_DEPENDENCY displays the depends-on relationship between cached results and dependencies.

Column Datatype Description

RESULT_ID

NUMBER

Cached result

DEPEND_ID

NUMBER

Dependency object

OBJECT_NO

NUMBER

Dictionary object number of the dependency object

CON_ID

NUMBER

The ID of the container to which the data pertains. Possible values include:

  • 0: This value is used for rows containing data that pertain to the entire CDB. This value is also used for rows in non-CDBs.

  • 1: This value is used for rows containing data that pertain to only the root

  • n: Where n is the applicable container ID for the rows containing data

赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。