Re: Hash/key Partition by something other than PK
Posted by:
Rick James
Date: August 24, 2010 11:59PM
Lots of people are surprised when PARTITION fails to provide significant speed benefits.
PARTITIONing on the PRIMARY KEY tends to be useless (for performance). It's like taking the top layer of the BTree for the PK and turning it into a bunch of tables.
PARTITIONing on some other field, or even a secondary field in the PK _can_ give you some perf benefits. Roughly speaking, this gives you a second "clustered" index.
You should not consider PARTITIONing unless you have (or plan to have) at least 100K rows.
I cannot advise further without seeing all the SELECTs on the table.
Subject
Views
Written By
Posted
3032
August 23, 2010 05:50AM
Re: Hash/key Partition by something other than PK
1565
August 24, 2010 11:59PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.