MySQL Forums
Forum List  »  Partitioning

Re: speed up the data retriving
Posted by: Rick James
Date: May 02, 2011 11:46PM

I need to see the EXPLAIN for the actual SELECTs you are using, not "SELECT *".

KEY `idx_tagid` (`TagId`), -- redundant, DROP it
KEY `idx_tagidtime` (`TagId`,`TimeStamp`),

DROP one of these:
KEY `idx_time` (`TimeStamp`),
KEY `idxtime` (`TimeStamp`)

You showed this twice: SHOW VARIABLES LIKE '%buffer%';
Why are the values different??

Options: ReplyQuote


Subject
Views
Written By
Posted
3347
April 28, 2011 04:41AM
1770
April 29, 2011 08:37AM
Re: speed up the data retriving
1834
May 02, 2011 11:46PM
1820
May 05, 2011 12:50AM


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.