MySQL Forums
Forum List  »  Partitioning

Re: slower queries after partitioning
Posted by: Rick James
Date: October 23, 2010 06:09PM

PRIMARY KEY (`DBDate`,`TickerID`),
is NOT the same as
PRIMARY KEY (`TickerID`,`DBDate`),

(`TickerID`, DBDate) should take care of a FK needing (`TickerID`)

Options: ReplyQuote


Subject
Views
Written By
Posted
7941
October 21, 2010 11:46AM
3217
October 23, 2010 01:24AM
2527
October 23, 2010 08:44AM
2792
October 23, 2010 09:43AM
2180
October 23, 2010 10:48AM
2139
October 23, 2010 10:57AM
Re: slower queries after partitioning
2226
October 23, 2010 06:09PM
1965
October 24, 2010 02:30AM
2001
October 25, 2010 07:39AM
2028
October 25, 2010 08:04AM


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.