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

本站中文解释

V$INMEMORY_FASTSTART_AREA视图显示内存中启动跨越实例重启的用于应用程序状态恢复的内存空间。在使用In-Memory Database时,数据库可以缓存应用程序上下文,以便实例重新启动后,尽可能减少长停机时间并快速重新启动应用程序。因此,Oracle在内存中创建一个固定大小的区域,称为快速启动文件系统(FSS),用于存储跨实例重新启动时保留的应用程序状态。

V$INMEMORY_FASTSTART_AREA视图用于监视每个实例的快速启动文件系统。它显示系统的空闲空间,每个实例的使用空间以及总的使用空间。这有助于管理员,确定该区域的大小,以更好地管理内存分配以及检查区域是否已被用完。

使用该视图的方法如下:

1、查询该实例的总空间大小:

SELECT INST_ID, SUM(TOTAL_SIZE) FROM V$INMEMORY_FASTSTART_AREA
GROUP BY INST_ID;

2、查询该实例的已使用空间大小:

SELECT INST_ID, SUM(USED_SIZE) FROM V$INMEMORY_FASTSTART_AREA
GROUP BY INST_ID;

3、查询该实例的空闲空间大小:

SELECT INST_ID, SUM(FREE_SIZE) FROM V$INMEMORY_FASTSTART_AREA
GROUP BY INST_ID;

官方英文解释

V$INMEMORY_FASTSTART_AREA provides information about the In-Memory FastStart (IM FastStart) area.

Column Datatype Description

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 multitenant container database (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

TABLESPACE_NAME

VARCHAR2(128)

IM FastStart tablespace name. When IM FastStart is not enabled, the value of TABLESPACE_NAME is INVALID_TABLESPACE and the value of STATUS is DISABLE.

STATUS

VARCHAR2(10)

IM FastStart status. Possible values include:

  • ENABLE: An IM FastStart tablespace has been specified and the content of the IM column is being periodically checkpointed to disk.

  • ENABLING: An IM FastStart tablespace has been specified and the database is creating the IM FastStart area.

  • DISABLE: An IM FastStart tablespace has not been specified. This is the default.

  • MIGRATING: A user has requested the IM FastStart area be migrated from one tablespace to another.

  • DISABLING: A user has requested IM FastStart to be disabled.

ALLOCATED_SIZE

NUMBER

The allocated size of an IM FastStart tablespace in bytes

USED_SIZE

NUMBER

The currently used size of an IM FastStart area (in bytes) within the tablespace.

LAST_CHECKPOINT_TIME

TIMESTAMP(6)

The time when the last IMCU was checkpointed to the IM FastStart area

LAST_POPULATE_TIME

TIMESTAMP(6)

The time of the last population from the IM FastStart area

NUM_DEFERRED_WRITES

NUMBER

The number of pending deferred writes to the IM FastStart area


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