[EMAIL PROTECTED] wrote:
> 
> We have a table with around 80 million rows. The table has been partitioned
> by hash as there is no clear way of partitioning depending on range etc..
> The data is very unevenly distributed in these partitions. Some of them even
> have 3 times the number of rows as compared to the other partitions.
> This application is being ported from Informix to Oracle (9i R2). In
> informix the dba's had partitioned the table based on a function . He was
> taking the mod of the number ( dividing by 10 ) . The values were then
> placed in either of the 10 partitions  ranging from 0 - 9. This really gave
> us very good distribution of data .Can we achieve something similar in 9i
> with list partitioning.
> 
> TIA
> 
> Rishi
> --


I have recently met a similar problem. The risk with hash partitioning
and a skewed distribution is that a low cardinality key hashes into the
same value as a high cardinality one. Bad for the rows with the low
cardinality key. What you should do is to decide first how many
partitions you want, and what keys you want together. Then find a way,
whether it is range or list partitioning, to have the corresponding rows
stored where they should. Hash partitioning is fine, but when the
distribution is more or less uniform.
 
HTH,

Stephane Faroult
Oriole Software
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stephane Faroult
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to