MySQL Forums
Forum List  »  Partitioning

Re: Partitioning not working need primary key?
Posted by: Mattias Jonsson
Date: October 22, 2012 07:14AM

The error message is correct, the receiptDate must be part of all unique indexes, including the PRIMARY KEY. This since the indexes is partitioned together with the data so this restriction is to enforce the uniqueness.

see more at:
http://dev.mysql.com/doc/refman/5.1/en/partitioning-limitations-partitioning-keys-unique-keys.html

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Partitioning not working need primary key?
2293
October 22, 2012 07:14AM


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.