MySQL Forums
Forum List  »  Partitioning

Re: Modify primary key for partitioning
Posted by: Aurelien PANIZZA
Date: August 31, 2012 06:48AM

>Update query would use Primary key, so why would you create index on RECEIVED_DATE or ('REVCEIVED_DATE','ID_MSG')?
Because I was wondering of creating the PK in the opposite way ('REVCEIVED_DATE','ID_MSG') so that a query with only the column ID_MSG in the where clause wouldn't use the PK.

Options: ReplyQuote

Written By
Re: Modify primary key for partitioning
August 31, 2012 06: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.