码迷,mamicode.com
首页 > 其他好文 > 详细

12c inmemory option 初体验

时间:2016-06-19 18:28:47      阅读:114      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!