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

本站中文解释

Oracle视图V$ACTIVE_SESS_POOL_MTH是一个动态性能视图,其中包含归属于多个内存池中正在运行的会话数据。 该视图显示当前内存池活动会话的信息,并显示执行内存池分配策略所必需的所有字段,使用者可以确定内存池使用情况,以及确定不分配内存的原因。

可以通过以下SELECT语句使用V$ACTIVE_SESS_POOL_MTH视图:

SELECT pool,MTH_PID,MTH_SEQ_NO,USERNAME,DESCRIPTION
FROM V$ACTIVE_SESS_POOL_MTH
ORDER BY pool;

此查询将返回类似下图的结果:

POOL MTH_PID MTH_SEQ_NO USERNAME DESCRIPTION
——— ———– ————– ———– ——————
0 14 123 user1 Allocating memory
0 15 234 user2 Allocating memory
1 11 345 user3 Allocating memory
1 12 456 user4 Allocating memory

官方英文解释

V$ACTIVE_SESS_POOL_MTH displays available active session pool resource allocation methods.

Column Datatype Description

NAME

VARCHAR2(40)

Name of the active session pool resource allocation method

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