MySQL Forums
Forum List  »  Partitioning

Re: partition with non primary key column
Posted by: Mattias Jonsson
Date: December 12, 2011 06:34AM

To ensure the uniqueness of a unique key (like the Primary key) all columns in the partitioning expression must be a part of all unique keys. This since the indexes is partitioned along with the data and the uniqueness is enforced per partition.

See:
http://dev.mysql.com/doc/refman/5.6/en/partitioning-limitations-partitioning-keys-unique-keys.html

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: partition with non primary key column
1579
December 12, 2011 06:34AM
1415
December 13, 2011 06:22PM


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.