将表填充到 Oracle 内存段中

Populating Tables into Oracle in-memory segments

我正在尝试将 table 加载到 oracle 内存数据库中。我已经使用 sql+ 命令 ALTER TABLE table_name INMEMORY 为 INMEMORY 启用了 tables。 table 还包含数据,即 table 已填充。但是当我尝试使用命令 SELECT v.owner, v.segment_name name, v.populate_status status from v$im_segments v; 时,它显示 no rows selected.

可能是什么问题?

你考虑过这个吗?

https://docs.oracle.com/database/121/CNCPT/memory.htm#GUID-DF723C06-62FE-4E5A-8BE0-0703695A7886

Population of the IM Column Store in Response to Queries Setting the INMEMORY attribute on an object means that this object is a candidate for population in the IM column store, not that the database immediately populates the object in memory.

By default (INMEMORY PRIORITY is set to NONE), the database delays population of a table in the IM column store until the database considers it useful. When the INMEMORY attribute is set for an object, the database may choose not to materialize all columns when the database determines that the memory is better used elsewhere. Also, the IM column store may populate a subset of columns from a table.

您可能需要先 运行 select 日期