MySQL Forums
Forum List  »  Optimizer & Parser

Re: ORDER BY RAND() taking too much time
Posted by: Björn Steinbrink
Date: May 02, 2006 02:24PM

Is there a compound index on (id_pr_data_feed,id)? If not, MySQL cannot use that index for sorting and needs to do a filesort.

Btw, where did you hide the "ORDER BY RAND()" you mentioned in the topic? ;)

Options: Reply• Quote


Subject
Views
Written By
Posted
10733
April 29, 2006 05:30AM
Re: ORDER BY RAND() taking too much time
3775
May 02, 2006 02:24PM


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.