MySQL Forums
Forum List  »  Newbie

Re: Group-wise Maximum performance
Posted by: Jon Richards
Date: May 03, 2005 02:34PM

Well it seemed to speed up a little, but not that much.
I'm using a BIGINT because the value equates to a java 64 bit long. Is there something more approporate I should use? the number is basically ms since 1970.

explain with indexes of time and name:

"id","select_type","table","type","possible_keys","key","key_len","ref","rows","Extra"
1,"PRIMARY","s1","ALL","","",(null),"",7571,"Using where"
2,"DEPENDENT SUBQUERY","s2","ref","PRIMARY,Index_3","Index_3",255,"storm.s1.name",211,"Using index"

Options: ReplyQuote




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.