检查初始化参数。
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.
时间: 2024-11-05 18:47:17