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

本站中文解释

Oracle 视图V$INMEMORY_AREA用以提供有关In-Memory Column Store(IM column store)存储区的信息。IM column store是 Oracle Database 12c 中的一项新特性,也是一种相比传统物理存储而言具有更高性能的内存存储系统。它可以将表和索引的数据集加载到内存中,用以加快 OLTP 和 DSS 的性能。

V$INMEMORY_AREA 视图中的信息,可以帮助用户更有效地识别用来加载数据和行为情况的 In-Memory Column Store 区以及其大小:

AREA_NAME:用于存储和IM column store相关的数据的存储区。

AREA_SIZE:此存储区的大小,以字节为单位。

ALLOCATED_SIZE:此存储区中使用的大小,以字节为单位。

AREA_USED_SIZE:向此存储区写入的数据总量大小,以字节为单位。

POPULATION_PERCENT:此存储区内数据加载的百分比。

AREA_ACTIVITY:此存储区正在执行的行为。

此外,V$INMEMORY_AREA 查询还会返回与存储区相关的其他详细信息,如压缩比率,重新加载和失效的原因,便于定位IM column store相关问题,为其运行性能进行调优,因此可以称之为一个重要的用户调优视图。

官方英文解释

V$INMEMORY_AREA contains information on the space allocation inside the In-Memory area.

The In-Memory area is sub-divided into two pools: a 1MB pool used to store the actual column formatted data populated into memory, and a 64K pool used to store metadata about the objects that are populated into the In-Memory Column Store (IM column store). The amount of available memory in each pool is visible in the V$INMEMORY_AREA view. The relative size of the two pools is determined by internal heuristics. The majority of the In-Memory area memory is allocated to the 1MB pool.

Column Datatype Description

POOL

VARCHAR2(26)

Name of the pools in the In-Memory area

ALLOC_BYTES

NUMBER

Total amount of memory allocated to this pool

USED_BYTES

NUMBER

Amount of memory currently used in this pool

POPULATE_STATUS

VARCHAR2(26)

Shows the status of the IM column store, for example, whether it is currently being populated or if it is done

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

See Also:

  • “INMEMORY_CLAUSE_DEFAULT”

  • “V$IM_COLUMN_LEVEL”

  • “V$IM_SEGMENTS”

  • “V$IM_USER_SEGMENTS”

  • Oracle Database In-Memory
    Guide
    for an introduction to the IM column store

版权声明:本文采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权
文章名称:《Oracle 视图 V$INMEMORY_AREA 官方解释,作用,如何使用详细说明》
文章链接:https://zhuji.vsping.com/284521.html
本站资源仅供个人学习交流,请于下载后24小时内删除,不允许用于商业用途,否则法律问题自行承担。