Re: speed up the data retriving
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??
Subject
Views
Written By
Posted
3985
April 28, 2011 04:41AM
2144
April 29, 2011 08:37AM
2694
May 02, 2011 05:37AM
Re: speed up the data retriving
2207
May 02, 2011 11:46PM
2061
May 04, 2011 10:48PM
2216
May 05, 2011 12:50AM
1846
May 05, 2011 01:25AM
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.