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

本站中文解释

Oracle视图V$TEMP_CACHE_TRANSFER提供有关系统中在内存间的缓存传输的信息。此试图用于监控缓存的传输和session间的缓存传输。

它的完全列名如下:

* SES_ID:发起传输的会话ID
* TOTAL_BYTES_TRANSFERRED:从一个缓存块传输的总字节数
* BLOCKS_READ:被传输的块或对象的总数
* BLOCKS_SENT:传输的缓存块总数
* TIME_SPENT:传输操作所花费的毫秒数

要使用此视图,您必须将授权语句提供给用户。为此,请使用以下命令:

GRANT SELECT ON SYS.V_$TEMP_CACHE_TRANSFER TO ;

一旦具有所需的权限,您就可以执行以下查询来观察缓存传输:

SELECT SES_ID, TOTAL_BYTES_TRANSFERRED, BLOCK_READ, BLOCK_SENT, TIME_SPENT
FROM V$TEMP_CACHE_TRANSFER;

官方英文解释

V$TEMP_CACHE_TRANSFER 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

FILE_NUMBER

NUMBER

Number of the temp file

X_2_NULL

NUMBER

Number of blocks with Exclusive-to-NULL conversions; always 0

X_2_NULL_FORCED_WRITE

NUMBER

Number of Exclusive-to-NULL forced writes; always 0

X_2_NULL_FORCED_STALE

NUMBER

Number of Exclusive-to-NULL blocks converted to CR; always 0

X_2_S

NUMBER

Number of blocks with Exclusive-to-Shared conversions; always 0

X_2_S_FORCED_WRITE

NUMBER

Number of Exclusive-to-Shared forced writes; always 0

S_2_NULL

NUMBER

Number of blocks with Shared-to-NULL conversions; always 0

S_2_NULL_FORCED_STALE

NUMBER

Number of Shared-to-NULL blocks converted to CR; always 0

RBR

NUMBER

Number of reuse blocks cross-instance calls; always 0

RBR_FORCED_WRITE

NUMBER

Number of blocks written due to reuse blocks cross-instance calls; always 0

NULL_2_X

NUMBER

Number of blocks with NULL-to-Exclusive conversions; always 0

S_2_X

NUMBER

Number of blocks with Shared-to-Exclusive conversions; always 0

NULL_2_S

NUMBER

Number of blocks with NULL-to-Shared conversions; always 0

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$TEMP_CACHE_TRANSFER 官方解释,作用,如何使用详细说明