首页 > 其他 > 详细

12c inmemory option 初体验

时间:2016-06-19 18:27:16      阅读:202      评论:0      收藏:0      [点我收藏+]

检查初始化参数。

SQL> show parameter inmemory

NAME				     TYPE	 VALUE
------------------------------------ ----------- ------------------------------
inmemory_clause_default 	     string
inmemory_force			     string	 DEFAULT
inmemory_max_populate_servers	     integer	 0
inmemory_query			     string	 ENABLE
inmemory_size			     big integer 0
inmemory_trickle_repopulate_servers_ integer	 1
percent
optimizer_inmemory_aware	     boolean	 TRUE

设置inmemory_size参数并重启数据库

SQL> alter system set inmemory_size=100M scope=spfile; 

System altered.

SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.

Total System Global Area  599785472 bytes
Fixed Size		    2927192 bytes
Variable Size		  364905896 bytes
Database Buffers	  121634816 bytes
Redo Buffers		    5459968 bytes
In-Memory Area		  104857600 bytes
Database mounted.
Database opened.

创建测试表

SQL> create table inmom_tab as select * from dba_objects;

Table created.

 

 

 

 

 

 


12c inmemory option 初体验

原文:http://www.cnblogs.com/wangxingc/p/5598388.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!