They don't publish it, but I'm pretty sure that
dbms_utility.get_hash_value calls the same routine -
so you can pre-test values by passing them through
that to see what they hash to

hth
connor

 --- elain he <[EMAIL PROTECTED]> wrote: > Hi,
> Does anyone know the algorithm used in hash
> partitioning?
> 
> From what I have gathered so far, Oracle will evenly
> distribute data across 
> available partitions. Rows are inserted into
> partitions based on a hash 
> value of the partitioning key.
> 
> Having said that, if I create a hash partitioned
> table with 4 partitions 
> based on say dept_no and inserts 10 rows that have
> the same dept_no, does 
> Oracle inserts all the records into the same
> partition since all the rows 
> hashed into the same hash value or does Oracle 
> distributes the data across 
> the 4 partitions?
> 
> Thanks.
> 
> elai
>
_________________________________________________________________
> Get your FREE download of MSN Explorer at
> http://explorer.msn.com
> 
> -- 
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> -- 
> Author: elain he
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- (858) 538-5051  FAX:
> (858) 538-5051
> San Diego, California        -- Public Internet
> access / Mailing Lists
>
--------------------------------------------------------------------
> 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). 

=====
Connor McDonald
http://www.oracledba.co.uk (mirrored at 
http://www.oradba.freeserve.co.uk)

"Some days you're the pigeon, some days you're the statue"

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: =?iso-8859-1?q?Connor=20McDonald?=
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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