January 2012
Intermediate to advanced
542 pages
11h 28m
English
In this recipe, we will see another option we can use during index creation or rebuild—the COMPRESS parameter—and how it could affect the performance when using the index.
We will use the same table and index created in the previous recipe, Index Rebuilding.
If you have dropped the table, you have to recreate it as mentioned in the following steps:
CONNECT sh@TESTDB/sh
CREATE TABLE BIG_CUSTOMERS AS SELECT * FROM CUSTOMERS;
BEGIN FOR j IN 1..100 LOOP INSERT INTO BIG_CUSTOMERS SELECT * FROM CUSTOMERS; END LOOP; COMMIT; END;
CREATE INDEX IX1_BIG_CUSTOMERS ON BIG_CUSTOMERS ...
Read now
Unlock full access