当前位置:网站首页>第四章 为IM 启用填充对象之强制填充In-Memory对象:教程(IM 4.7)
第四章 为IM 启用填充对象之强制填充In-Memory对象:教程(IM 4.7)
2022-04-23 11:37:00 【Grainger】
第一章 Oracle Database In-Memory 相关概念(IM-1.1)
第一章 Oracle Database In-Memory 相关概念(续)(IM-1.2)
第二章 Oracle Database In-Memory 体系结构(上) (IM-2.1)
第二章 IM 体系结构:CPU架构:SIMD向量处理(IM-2.3)
第四章 为In-Memory 启用填充对象(IM-4.1 第一部分)
第四章 为In-Memory 启用填充对象(IM-4.2 第二部分)
第四章 为IM 启用填充对象之启用和禁用列(IM-4.3 第三部分)
第四章 为IM 启用填充对象之在NO INMEMORY表上指定INMEMORY列属性:示例(IM-4.4 第四部分)
第四章 为IM 启用填充对象之启用和禁用表空间的IM列存储(IM 4.5)
本篇为IM系列的第四章:为IM 启用填充对象之强制填充In-Memory对象:教程(IM 4.7)
强制填充In-Memory对象:教程
启用In-Memory填充的对象并不会立即填充该对象。
如果启用了PRIORITY
设置为NONE
的对象,并且如果要立即填充该对象,则可以使用以下选项:
· 强制执行全表扫描
· 使用DBMS_INMEMORY.POPULATE
存储过程
假设
本教程假设以下内容:
· IM列存储已启用。
· 要为sh.customers
表启用In-Memory填充,使用默认PRIORITY
为NONE
。
· 您要强制将sh.customers
的立即填充到IM列存储中。
强制填充INMEMORY表:
1. 在SQL * Plus或SQLDeveloper中,使用管理员权限登录数据库。
2. 将INMEMORY
属性应用于表。
例如,为 sh.customers
启用IM填充如下:
ALTER TABLE sh.customers INMEMORY;
3. (可选)检查填充状态,请查询V$IM_SEGMENTS
视图。
例如,使用以下语句(包含样例输出):
SELECT OWNER, SEGMENT_NAME NAME,
POPULATE_STATUS STATUS
FROM V$IM_SEGMENTS
WHERE SEGMENT_NAME = 'CUSTOMERS';
no rows selected
上述输出显示尚未在IM列存储中填充对象。
4. 对表执行DBMS_INMEMORY.POPULATE
存储过程。
例如,针对 sh.customers
启用此存储过程,如下所示:
EXEC DBMS_INMEMORY.POPULATE('SH', 'CUSTOMERS');
5. (可选)要检查填充状态,请查询 V$IM_SEGMENTS视图
。
例如,使用以下语句(包含样例输出):
SELECT OWNER, SEGMENT_NAME NAME,
POPULATE_STATUS STATUS
FROM V$IM_SEGMENTS
WHERE SEGMENT_NAME = 'CUSTOMERS';
OWN NAME STATUS
--- ---------- --------------------
SH CUSTOMERS COMPLETED
现在,该对象已填充到IM列存储中。
山东Oracle用户组(Shandong Oracle User Group),简称:SDOUG,是一个充满朝气、年轻的非营利性组织,旨在为济南及周边地区技术爱好者提供一个交流平台。SDOUG会不定期组织线下技术分享活动,促进本地区及周边IT技术的发展、帮助技术爱好者提高自己。分享技术、分享快乐,SDOUG在路上。
版权声明
本文为[Grainger]所创,转载请带上原文链接,感谢
https://cloud.tencent.com/developer/article/1986077
边栏推荐
- 探究机器人教育的器材与教学
- Usage record of map < qstring, bool >
- TclError: no display name and no $DISPLAY environment variable
- Pytorch neural network trainer
- Understanding of fileprovider path configuration strategy
- Simple construction of rebbitmq
- ImportError: libX11. so. 6: cannot open shared object file: No such file or directory
- 配电房远程综合监控系统在10kV预制舱项目中的应用
- R-drop: a more powerful dropout regularization method
- Analyze the rules for the use of robots with good performance
猜你喜欢
Resolution due to AMD not found_ ags_ x64. DLL, unable to continue code execution. Reinstallation of the program may solve this problem, Forza horizon 5
激活函数之relu函数
全网最细的短网址系统设计与实战
解析幼儿教育中steam教育的融合
1.Electron开发环境搭建
On lambda powertools typescript
Summary of the relationship among GPU, CUDA and cudnn
MQ is easy to use in laravel
系统编程之高级文件IO(十三)——IO多路复用-select
Laravel绑定钉钉群警报(php)
随机推荐
Design and practice of the smallest short website system in the whole network
项目实训-火爆辣椒
Learning go language 0x02: understanding slice
年度最尴尬的社死瞬间,是Siri给的
Maker education for primary and middle school students to learn in happiness
Interprocess communication -- message queue
IFLYTEK's revenue in 2021 was 18.3 billion yuan: a year-on-year increase of 41% and a net profit of 1.556 billion yuan
Learn go language 0x03: understand the dependency between variables and initialization order
Tclerror: no display name and no $display environment variable
2022 love analysis · panoramic report of industrial Internet manufacturers
Siri gave the most embarrassing social death moment of the year
golang之笔试题&面试题01
Laravel admin time range selector daterange default value problem
How to count fixed assets and how to generate an asset count report with one click
微型机器人的认知和研发技术
零钱兑换II——【LeetCode】
[Web 每日一练] 八色拼图(float)
MQ在laravel中简单使用
Summary of the relationship among GPU, CUDA and cudnn
ImportError: libX11.so.6: cannot open shared object file: No such file or directory