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

本站中文解释

Oracle视图V$SGAINFO是静态SGA(共享全局区)信息视图,用于显示当前SGA的一些初始化参数、组成和使用细节。它的信息来源主要有下列几种:

1. 用于存放名为sga_target或memory_target的PFILE参数;
2. 预算相关的计算,例如何时用内存池多大的内存;
3. 与特定的参数设置相关的缓存和内存池。

使用V$SGAINFO视图,可以查询SGA的名称、尺寸、存在的状态和选项。

例如,可以使用这个视图来获取SGA中内存池的名称、已分配内存的大小、内存池的状态以及可用空间等信息。

使用这个视图可以了解SGA池的相关状况,如果发现SGA池有异常可以更容易找出原因,同时也可以做些优化工作。

官方英文解释

V$SGAINFO displays size information about the SGA, including the sizes of different SGA items, the granule size, and free memory.

Column Datatype Description

NAME

VARCHAR2(32)

Name of the SGA size item

BYTES

NUMBER

Size of the item (in bytes)

RESIZEABLE

VARCHAR2(3)

Indicates whether the item is resizeable (Yes) or not (No)

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