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

本站中文解释

Oracle视图V$MEMORY_DYNAMIC_COMPONENTS显示动态内存组件信息,包括当前内存使用量和最大值,它可以帮助我们诊断当前的内存使用情况,以及为Oracle提供了重要的性能指标。

具体使用方法:

1. 使用查询语句查看动态内存组件的最大值和当前使用量:

SELECT * FROM V$MEMORY_DYNAMIC_COMPONENTS;

2. 查看指定动态内存组件的最大值和当前使用量:

SELECT * FROM V$MEMORY_DYNAMIC_COMPONENTS WHERE COMPONENT_NAME=’name’;

其中,name为动态内存组件的名称,可以使用上面查询查看系统中所有可用的动态内存组件名称。

官方英文解释

V$MEMORY_DYNAMIC_COMPONENTS displays information about the dynamic SGA components.

This view summarizes information based on all completed SGA resize operations since instance startup. All sizes are expressed in bytes.

Column Datatype Description

COMPONENT

VARCHAR2(64)

Component name

CURRENT_SIZE

NUMBER

Current size of the component

MIN_SIZE

NUMBER

Minimum size of the component since instance startup

MAX_SIZE

NUMBER

Maximum size of the component since instance startup

USER_SPECIFIED_SIZE

NUMBER

Value of the user parameter for the component

OPER_COUNT

NUMBER

Number of operations since instance startup

LAST_OPER_TYPE

VARCHAR2(13)

Last completed operation for the component:

  • STATIC

  • INITIALIZING

  • DISABLED

  • GROW

  • SHRINK

  • SHRINK_CANCEL

LAST_OPER_MODE

VARCHAR2(9)

Mode of the last completed operation:

  • MANUAL

  • DEFERRED

  • IMMEDIATE

LAST_OPER_TIME

DATE

Start time of the last completed operation

GRANULE_SIZE

NUMBER

Granularity of the GROW or SHRINK operation

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