[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,如需转载请自行联系原作者

目录
相关文章
|
关系型数据库 MySQL 数据库
MySQL新增字段报错:ERROR 1118 -- Row size too large. The maximum row size for the used table type
MySQL新增字段报错:ERROR 1118 -- Row size too large. The maximum row size for the used table type
1466 0
|
3月前
|
关系型数据库 MySQL
mysql 5.5.62版本建表语句报错: Index column size too large. The maximum column size is 767 bytes
mysql 5.5.62版本建表语句报错: Index column size too large. The maximum column size is 767 bytes
|
4月前
|
关系型数据库 MySQL
MySQL【问题 02】报错 1709 - Index column size too large. The maximum column size is 767 bytes. 可能是最简单的方法
MySQL【问题 02】报错 1709 - Index column size too large. The maximum column size is 767 bytes. 可能是最简单的方法
53 0
|
11月前
|
搜索推荐 索引
Term Suggester 中 suggest_mode 的三种模式missing、popular、always 的区别
Term Suggester 中 suggest_mode 的三种模式missing、popular、always 的区别
|
SQL Java 数据库连接
SQL_CALC_FOUND_ROWS的使用
SQL_CALC_FOUND_ROWS的使用
201 0
【1121】Damn Single (25分)【set】
【1121】Damn Single (25分)【set】 【1121】Damn Single (25分)【set】
75 0
|
关系型数据库 MySQL
Mysql:Operand should contain 1 column(s)解决方案
Mysql:Operand should contain 1 column(s)解决方案
410 0
Mysql:Operand should contain 1 column(s)解决方案
未解决: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.
415 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
129 0
UI5 table display visible row count logic calculation calculate