[Oralce][InMemory]如何确定一个表已经被Populate 到In Memory 中?

简介:
[Oralce][InMemory]如何确定一个表已经被Populate 到In Memory 中?

以如下方法来查看 POPULATE_STATUS 是不行的。

SQL> select inst_id,
 2  pool
 3  ,alloc_bytes/1024/1024 alloc_mb
 4  ,used_bytes/1024/1024 used_mb
 5  ,populate_status
 6  ,con_id
 7  from gv$inmemory_area;

  INST_ID POOL          ALLOC_MB     USED_MB POPULATE_STATUS     CON_ID
---------- ---------- ----------- ----------- --------------- ----------
        1 1MB POOL       1816903     1451021 DONE                     0
        1 64KB POOL       198075        2174 DONE                     0

        2 1MB POOL       1916903     1449851 DONE                     0
        2 64KB POOL       198075        2170 DONE                     0

最准确的方法,是查看 v$im_segments 的 bytes_not_populated 列:

SELECT
v.owner,
v.segment_name,
v.partition_name,
v.bytes orig_size,
v.inmemory_size in_mem_size,
v.bytes_not_populated not_pop_size,
v.bytes/v.inmemory_size comp_ratio

FROM v$im_segments v;







本文转自健哥的数据花园博客园博客,原文链接:http://www.cnblogs.com/gaojian/p/7625446.html,如需转载请自行联系原作者

目录
相关文章
|
4月前
Elasticsearch【问题记录 02】【不能以root运行es + max virtual memory areas vm.max_map_count [65530] is too low处理】
【4月更文挑战第12天】Elasticsearch【问题记录 02】【不能以root运行es + max virtual memory areas vm.max_map_count [65530] is too low处理】
41 3
|
4月前
random.sample(population, k)
random.sample(population, k)
28 0
|
搜索推荐 索引
Term Suggester 中 suggest_mode 的三种模式missing、popular、always 的区别
Term Suggester 中 suggest_mode 的三种模式missing、popular、always 的区别
|
关系型数据库 MySQL 数据库
mysql插入表时报错ERROR 1067 (42000): Invalid default value for ‘end_time‘
mysql插入表时报错ERROR 1067 (42000): Invalid default value for ‘end_time‘
|
存储
PAT (Advanced Level) Practice - 1051 Pop Sequence(25 分)
PAT (Advanced Level) Practice - 1051 Pop Sequence(25 分)
93 0
PAT (Advanced Level) Practice - 1098 Insertion or Heap Sort(25 分)
PAT (Advanced Level) Practice - 1098 Insertion or Heap Sort(25 分)
94 0
mUrlPrefixes内entry的population逻辑
Created by Jerry Wang, last modified on Aug 10, 2015
mUrlPrefixes内entry的population逻辑
UI5 table display visible row count logic calculation calculate
UI5 table display visible row count logic calculation calculate
143 0
UI5 table display visible row count logic calculation calculate
未解决:error: R_LARCH_SOP_PUSH_PCREL against `x264_log_default‘:PLT shouldn‘t be with r_addend.
未解决:error: R_LARCH_SOP_PUSH_PCREL against `x264_log_default‘:PLT shouldn‘t be with r_addend.
464 0