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

本站中文解释

Oracle视图V$GC_ELEMENTS_WITH_COLLISIONS是垃圾回收(GC)元素与冲突(collisions)之间关联的一个动态视图。此视图用于显示数据库中可能发生垃圾回收冲突(collisions)的元素(element)。

此视图中包含三列信息:

NAME:GC元素的名称。

COLLISIONS:每个GC元素中包含的冲突(collisions)数。

LOCKS:每个GC元素如果在并发状态时发生冲突,等待锁的数量。

为了查看GC元素与冲突之间的关联,可以使用以下SQL语句:
SELECT * FROM V$GC_ELEMENTS_WITH_COLLISIONS;
该语句可用于列出具有冲突的所有垃圾回收元素。

官方英文解释

V$GC_ELEMENTS_WITH_COLLISIONS is deprecated. The information that was provided in this view is now provided in the V$INSTANCE_CACHE_TRANSFER and V$SEGMENT_STATISTICS views.

Column Datatype Description

GC_ELEMENT_ADDR

RAW(4 | 8)

Address of the lock element that contains the PCM lock covering the buffer. If more than one buffer has the same address, then these buffers are covered by the same PCM lock.

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

See Also:

  • “V$INSTANCE_CACHE_TRANSFER”

  • “V$SEGMENT_STATISTICS”


数据运维技术 » Oracle 视图 V$GC_ELEMENTS_WITH_COLLISIONS 官方解释,作用,如何使用详细说明