MySQL Forums
Forum List  »  Optimizer & Parser

One Primary Key vs. Two
Posted by: Malcolm Wardlaw
Date: July 19, 2009 11:40AM

Are there any performance benefits from having a key that is a single column, vs. a key of two columns?

In other words, if your data has a natural key of two columns, is there any performance benefit from combining the numbers in some way to create a single key column vs. just specifying a two column key?

Thanks

Options: ReplyQuote


Subject
Views
Written By
Posted
One Primary Key vs. Two
3131
July 19, 2009 11:40AM


Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

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.