MySQL Forums
Forum List  »  Partitioning

Re: Solve this partition puzzle
Posted by: Mattias Jonsson
Date: May 02, 2011 02:48AM

If you use AUTO_INCREMENT and let the server generate the ID's then you will get unique ID's.

Since the indexes are partitioned together with the data, the partitioning columns must be in every UNIQUE/PRIMARY KEY to ensure uniqueness.

Options: ReplyQuote


Subject
Views
Written By
Posted
4238
April 20, 2011 04:22AM
1701
April 22, 2011 12:07AM
Re: Solve this partition puzzle
2089
May 02, 2011 02:48AM


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.