Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Compressing partitions

Re: Compressing partitions

From: jaromir nemec <jaromir_at_db-nemec.com>
Date: Mon, 4 Jul 2005 22:53:44 +0200
Message-ID: <00ac01c580da$7846d120$3c02a8c0@JARAWIN>


Hi Michael and Tanel,  

> If you want to do physical row ordering, then that's one way to go:

> create table temp nologging compress as select * from your_table partition p1 order > by col1,col2,col3;

you may also consider alternative physical ordering (i.e. some trade-off between access speed and high compression). A good candidates for leading columns in order by are columns with high average column length and with low number of distinct values. Even the partitioning schema (daily, weekly etc.) can influence the compression factor. Remember that only repeated values within one block are compressed.  

If you plan to change the structure of the table (add column) you should check the availability of this feature in your version. (There are some limitation in the versions below 10).  

Regards  

Jaromir

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Jul 04 2005 - 16:14:08 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US