Creating A Table And Enabling It for The Im Column Store
CREATE TABLE test_inmem (
id NUMBER(5) PRIMARY KEY,
test_col VARCHAR2(15))
INMEMORY
Table created.
Verifying That the Table Is Enabled for the IM Column Store
SELECT TABLE_NAME, INMEMORY, INMEMORY_PRIORITY, INMEMORY_COMPRESSION FROM USER_TABLES
TABLE_NAME | INMEMORY | INMEMORY_PRIORITY | INMEMORY_COMPRESSION | TEST_INMEM | ENABLED | NONE | FOR QUERY LOW |
---|
Enabling A Table For the IM Column Store With FOR CAPACITY LOW Compression
ALTER TABLE test_inmem INMEMORY MEMCOMPRESS FOR CAPACITY LOW
Table altered.
Verifying That the Table Is Enabled for the IM Column Store With FOR CAPACITY LOW Compression
SELECT TABLE_NAME, INMEMORY, INMEMORY_PRIORITY, INMEMORY_COMPRESSION FROM USER_TABLES
TABLE_NAME | INMEMORY | INMEMORY_PRIORITY | INMEMORY_COMPRESSION | TEST_INMEM | ENABLED | NONE | FOR CAPACITY LOW |
---|
Enabling A Table For the IM Column Store With HIGH Data Population Priority
ALTER TABLE test_inmem INMEMORY PRIORITY HIGH
Table altered.
Verifying That the Table Is Enabled for the IM Column Store With HIGH Data Population Priority
SELECT TABLE_NAME, INMEMORY, INMEMORY_PRIORITY, INMEMORY_COMPRESSION FROM USER_TABLES
TABLE_NAME | INMEMORY | INMEMORY_PRIORITY | INMEMORY_COMPRESSION | TEST_INMEM | ENABLED | HIGH | FOR CAPACITY LOW |
---|
Enabling a Table for the IM Column Store With FOR CAPACITY HIGH Compression and LOW Data Population Priority
ALTER TABLE test_inmem INMEMORY
MEMCOMPRESS FOR CAPACITY HIGH
PRIORITY LOW
Table altered.
Verifying That the Table Is Enabled for the IM Column Store With FOR CAPACITY HIGH Compression and LOW Data Population Priority
SELECT TABLE_NAME, INMEMORY, INMEMORY_PRIORITY, INMEMORY_COMPRESSION FROM USER_TABLES
TABLE_NAME | INMEMORY | INMEMORY_PRIORITY | INMEMORY_COMPRESSION | TEST_INMEM | ENABLED | LOW | FOR CAPACITY HIGH |
---|
Disabling a Table for the IM Column Store
ALTER TABLE test_inmem NO INMEMORY
Table altered.
Verifying That the Table Is Disabled for the IM Column Store
SELECT TABLE_NAME, INMEMORY, INMEMORY_PRIORITY, INMEMORY_COMPRESSION FROM USER_TABLES
TABLE_NAME | INMEMORY | INMEMORY_PRIORITY | INMEMORY_COMPRESSION | TEST_INMEM | DISABLED | - | - |
---|