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

本站中文解释

Oracle 视图DBA_HIST_RESOURCE_LIMIT提供了用户的历史资源限制情况的详细信息。它包括每个数据库会话或操作系统进程的历史资源限制统计记录,如访问CPU时长、共享内存、等待时间、Redo日志大小等。

使用此视图可以帮助DBA诊断数据库egress问题等,以便调整会话或操作系统进程的资源限制。例如,可以检查内存使用是否超出了所设定的资源限制,并采取及时行动确保数据库的正常使用。

使用此视图的步骤如下:

1. 在Oracle数据库中查询DBA_HIST_RESOURCE_LIMIT视图,以获取历史资源限制记录;

2. 检查资源限制参数,以诊断操作系统或数据库会话是否受到了限制;

3. 如果必要,可以增加资源限制,以避免此类问题的发生;

4. 检查日志文件,以确认资源限制是否被正确应用;

5. 根据情况,可以调整资源使用分配,以确保系统的性能。

官方英文解释

DBA_HIST_RESOURCE_LIMIT displays historical information about global resource use for some of the system resource.

This view contains snapshots of V$RESOURCE_LIMIT.

If time is of interest, join this view with DBA_HIST_SNAPSHOT.END_INTERVAL_TIME.

Column Datatype NULL Description

SNAP_ID

NUMBER

NOT NULL

Unique snapshot ID

DBID

NUMBER

NOT NULL

Database ID for the snapshot

INSTANCE_NUMBER

NUMBER

NOT NULL

Instance number for the snapshot

RESOURCE_NAME

VARCHAR2(30)

NOT NULL

Name of the resource

CURRENT_UTILIZATION

NUMBER

Number of (resources, locks, or processes) currently being used

MAX_UTILIZATION

NUMBER

Maximum consumption of the resource since the last instance start up

INITIAL_ALLOCATION

VARCHAR2(10)

Initial allocation. This will be equal to the value specified for the resource in the initialization parameter file (UNLIMITED for infinite allocation).

LIMIT_VALUE

VARCHAR2(10)

Unlimited for resources and locks. This can be greater than the initial allocation value (UNLIMITED for infinite limit).

CON_DBID

NUMBER

The database ID of the PDB for the sampled session

CON_ID

NUMBER

The ID of the container that CON_DBID identifies. 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


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