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

本站中文解释

_RLU

V$RSRC_PDB_RLU是一种oracle视图,用于查询有关资源调度中处理原始逻辑单元(ORLU)的信息。原始逻辑单元是用来表示数据库中各个Pluggable Database(PDB)及其资源之间关系的一个抽象概念,它们通常由交换池,可容纳的PDB,可访问的PDB或可暂存器PDB构成。

V$RSRC_PDB_RLU可以用于帮助开发和管理团队更好地理解资源调度需求和PDB数据的场景。它们提供了有关当前处理ORLUs的一些重要信息,例如当前ORLU状态,处理此ORLU的PDB及其内容等。管理员可以通过V$RSRC_PDB_RLU视图来监视和控制数据库中符合ORLU标准的所有处理。

官方英文解释

V$RSRC_PDB displays data related to currently active resource consumer groups by pluggable database (PDB).

When the STATISTICS_LEVEL is set to TYPICAL or ALL, this view contains information about CPU utilization and wait times even when no Resource Manager plan is set or when the Resource Manager plan does not monitor CPU or session resources.

Statistics in V$RSRC_PDB are reset when a multitenant container database (CDB) changes its resource plan. They are not impacted by PDB resource plan changes.

V$RSRC_PDB covers the same time period for all PDBs. This view is specifically designed for comparing statistics across different PDBs.

Since V$RSRC_PDB does not contain information at the consumer group level, it is not useful for comparing consumer groups inside a PDB.

Column Datatype Description

PDB_NAME

VARCHAR2(32)

PDB name

CPU_WAIT_TIME

NUMBER

Cumulative amount of time that sessions waited for CPU because of resource management. This does not include waits due to latch or enqueue contention, I/O waits, and so on. When CPU resources are not being actively managed, this value is set to zero.

CPU_WAITS

NUMBER

Cumulative number of times all sessions in the consumer group had to wait for CPU because of resource management. This does not include waits due to latch or enqueue contention, I/O waits, and so on. When CPU resources are not being actively managed, this value is set to zero.

CONSUMED_CPU_TIME

NUMBER

Cumulative amount of CPU time consumed by all sessions in the consumer group (in milliseconds)

YIELDS

NUMBER

Cumulative number of times that sessions in the consumer group had to yield CPU to other sessions because of quantum expiration. When CPU resources are not being actively managed, this value is set to zero.

IO_SERVICE_TIME

NUMBER

Cumulative I/O wait time (in milliseconds)

IO_SERVICE_WAITS

NUMBER

Total number of wait requests

SMALL_READ_MEGABYTES

NUMBER

Number of single block megabytes read

SMALL_WRITE_MEGABYTES

NUMBER

Number of single block megabytes written

LARGE_READ_MEGABYTES

NUMBER

Number of multiblock megabytes read

LARGE_WRITE_MEGABYTES

NUMBER

Number of multiblock megabytes written

SMALL_READ_REQUESTS

NUMBER

Number of single block read requests

SMALL_WRITE_REQUESTS

NUMBER

Number of single block write requests

LARGE_READ_REQUESTS

NUMBER

Number of multiblock read requests

LARGE_WRITE_REQUESTS

NUMBER

Number of multiblock write requests

PQS_COMPLETED

NUMBER

Total number of completed parallel statements in the consumer group

PQ_SERVERS_USED

NUMBER

Total number of parallel servers used by completed parallel statements in the consumer group

PQS_QUEUED

NUMBER

Number of times that sessions in the consumer group were queued when trying to run parallel statements

PQ_ACTIVE_TIME

NUMBER

Cumulative sum of the parallel active times for all completed parallel statements in the consumer group (in milliseconds)

PQ_QUEUED_TIME

NUMBER

Total amount of time that sessions in the consumer group were queued when trying to run parallel statements (in milliseconds)

PQ_QUEUE_TIME_OUTS

NUMBER

Number of times that parallel statements from sessions in the consumer group timed out because their queue time exceeded the Resource Manager plan’s PARALLEL_QUEUE_TIMEOUT limit

CURRENT_PQS_ACTIVE

NUMBER

Number of active parallel statements in the consumer group. This value does not include parallel statements that are never queued, such as GV$ queries.

CURRENT_PQ_SERVERS_ACTIVE

NUMBER

Number of active parallel servers in the consumer group. This value does not include servers running parallel statements that are never queued, such as GV$ queries.

CURRENT_PQS_QUEUED

NUMBER

Number of sessions in the consumer group that are waiting in the parallel statement queue trying to run parallel statements

SGA_BYTES

NUMBER

The current SGA usage by this PDB in bytes

BUFFER_CACHE_BYTES

NUMBER

The current usage of buffer cache by this PDB in bytes

SHARED_POOL_BYTES

NUMBER

The current usage of shared pool by this PDB in bytes

PGA_BYTES

NUMBER

The current usage of PGA by this PDB in bytes

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$RSRC_CONSUMER_GROUP”


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