MySQL Forums
Forum List  »  Performance

Re: Help optimizing a SELECT WHERE GROUP BY query
Posted by: Rob Blick
Date: September 02, 2005 08:29AM

Hey Roland-
Thanks... changing to int cut the time by 30%. The rest may just need more hardware. The index is being used, according to EXPLAIN, but the query still takes 20 sec to run. The .MYI file is 325MB, and if I assume it's gotta read the whole thing sequentially, that works out to 16MB/s, which is a little low but doesn't seem too bad when you consider that some of that time is spent doing all sorts of other CPU tasks. Sound right?

Thanks!
Rob

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Help optimizing a SELECT WHERE GROUP BY query
1978
September 02, 2005 08:29AM


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.