本站中文解释
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 |
---|---|---|
|
|
Name of the pools in the In-Memory area |
|
|
Total amount of memory allocated to this pool |
|
|
Amount of memory currently used in this pool |
|
|
Shows the status of the IM column store, for example, whether it is currently being populated or if it is done |
|
|
The ID of the container to which the data pertains. Possible values include:
|
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