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
3799
April 28, 2011 04:41AM
2049
April 29, 2011 08:37AM
Re: speed up the data retriving
2103
May 02, 2011 11:46PM
2134
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.