The following example specifies that individual partitions are loaded into the In-Memory Column Store using the INMEMORY
clause with the partitioning clauses of the CREATE
TABLE
SQL statements.
CREATE TABLE list_customers ( customer_id NUMBER(6) , cust_first_name VARCHAR2(20) , cust_last_name VARCHAR2(20) , cust_address CUST_ADDRESS_TYP , nls_territory VARCHAR2(30) , cust_email VARCHAR2(40)) PARTITION BY LIST (nls_territory) ( PARTITION asia VALUES ('CHINA', 'THAILAND') INMEMORY MEMCOMPRESS FOR CAPACITY HIGH, PARTITION europe VALUES ('GERMANY', 'ITALY', 'SWITZERLAND') INMEMORY MEMCOMPRESS FOR CAPACITY LOW, PARTITION west VALUES ('AMERICA') INMEMORY MEMCOMPRESS FOR CAPACITY LOW, PARTITION east VALUES ('INDIA') INMEMORY MEMCOMPRESS FOR CAPACITY HIGH, PARTITION rest VALUES (DEFAULT);
Oracle Database Concepts for overview information about In-Memory Column Store
Oracle Database Administrator's Guide for information about memory management and In-Memory Column Store
Oracle Database SQL Language Reference for information about SQL syntax related to In-Memory Column Store
Oracle Database Data Warehousing Guide for information about using In-Memory Column Store in a data warehousing environment