MySQL Forums
Forum List  »  Partitioning

Re: Solve this partition puzzle
Posted by: Rick James
Date: April 22, 2011 12:07AM

Not everything is possible with PARTITION. Let's dig into the details some more.

* How are ID values being generated? I don't see an AUTO_INCREMENT clause.

* How many rows will you eventually have? If under 1 million, I would question why you are using PARITION.

* The rule that "the partition key must be in every UNIQUE (or PRIMARY) KEY" prevents UNIQUE(ID)

Options: ReplyQuote


Subject
Views
Written By
Posted
4246
April 20, 2011 04:22AM
Re: Solve this partition puzzle
1706
April 22, 2011 12:07AM


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.