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 <elainhe_at_hotmail.com> 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: elainhe_at_hotmail.com
>
> 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: 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).
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: hamcdc_at_yahoo.co.uk
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: 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 Jun 26 2001 - 03:57:59 CDT