Oracle内存数据库使用

  • 查询是否为内存表, enabled--内存表 disabled--非内存表 (普通当前用户执行)
  1. t.table_name,

t.inmemory,
t.inmemory_priority,
t.inmemory_distribute,
t.inmemory_compression,
t.inmemory_duplicate,
t.*
from user_tables t;

-- 查询InMemory空间使用量 (DBA用户执行)
select t.POOL, 
t.ALLOC_BYTES/1024/1024 || 'M' ALLOC_BYTES, 
t.USED_BYTES/1024/1024 || 'M' USED_BYTES, 
t.POPULATE_STATUS, 
t.CON_ID
from v$inmemory_area t;

-- 调整InMemory大小
-- alter system set inmemory_size=1000M scope=spfile;
-- 重启数据库

-- InMemory组件是否启用
select parameter,value from v$option where parameter like 'In-Memory%';

-- InMemory参数

点击查看原文

猜你喜欢

转载自blog.csdn.net/qswm_18301240090/article/details/81001000
今日推荐