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: Partitioning

Re: Partitioning

From: Stephane Faroult <sfaroult_at_oriole.com>
Date: Tue, 19 Nov 2002 12:54:07 -0800
Message-ID: <F001.005072E1.20021119125407@fatcity.com>


Rishi.Jain_at_VerizonWireless.com 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: sfaroult_at_oriole.com

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: ListGuru_at_fatcity.com (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).
Received on Tue Nov 19 2002 - 14:54:07 CST

Original text of this message

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