MySQL Forums
Forum List  »  Performance

Re: speed of query/can index help?
Posted by: Elli
Date: June 26, 2009 08:56PM

Try index on (day, msgNum).

CREATE INDEX index_day_msgNum ON syslogD (day, msgNum)

Measure the time before and after and see if there is a significant difference.



Edited 1 time(s). Last edit at 06/26/2009 08:56PM by Elli .

Options: ReplyQuote


Subject
Views
Written By
Posted
4060
June 26, 2009 06:15PM
Re: speed of query/can index help?
1890
June 26, 2009 08:56PM
1968
June 27, 2009 03:04AM
1823
June 27, 2009 10:39AM
1782
June 30, 2009 12:26AM
1927
June 30, 2009 10:36PM
1734
July 01, 2009 08:22PM


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.