MySQL Forums
Forum List  »  Partitioning

Re: Exceptions with Partition Pruning
Posted by: Rick James
Date: June 12, 2010 01:21AM

Is the PRIMARY KEY a simple integer?

PARTITION has a chance of shining if the partition key is _not_ the first part of the PRIMARY KEY. Such as
PRIMARY KEY(a,b) and partition on b.
It does help if the WHERE clause talks about both a and b.

Was "# Queries with IN parameter values from 100 to 2000 were performing extremely well than a regular table" then only beneficial situation? Did all the IN values hit the same partition?

How many partitions did you have?

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Exceptions with Partition Pruning
1940
June 12, 2010 01:21AM


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.