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

本站中文解释

_LIMIT

Oracle视图V$RESOURCE_LIMIT用于显示当前实例及其对象的RDBMS资源限制设置。这些资源限制可以使用ALTER system进行设置和修改,或者使用ALTER system reset恢复到默认值。

V$RESOURCE_LIMIT是一个只读视图,其中包含SESSION_MAX_OPEN_FILES、SESSION_MAX_IDLE_TIME等变量,用于检查每个会话及每个连接的最大资源限制。比如,processe最大值,内存最大值等等。

要使用V$RESOURCE_LIMIT视图,一般可以用如下查询语句查询当前会话的最大值资源限制:

select * from V$RESOURCE_LIMIT where resource_name = ‘SESSION_MAX_OPEN_FILES’;

官方英文解释

V$RESOURCE contains resource name and address information.

Column Datatype Description

ADDR

RAW(4 | 8)

Address of the resource object

TYPE

VARCHAR2(2)

Resource type; the resource types are listed in Table 9-1

ID1

NUMBER

Resource identifier #1

ID2

NUMBER

Resource identifier #2

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


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