MySQL Forums
Forum List  »  Optimizer & Parser

Re: Simple Query - No Join - But Temp. Table and file Sort :(
Posted by: Heiko G.
Date: October 23, 2006 11:02AM

Hi Toasty,

the last Example works fine for me :) Last Thing I dont get is that I have to set the index (group_field,where_field). In almost all other threads about indexes, the indexes are set like (where_field(s),group_field(s)) ?!

Since iam kinda new to indexes and DB design I also used the kind (where_field(s),group_field(s)) where I could which improved Performance in many cases. But is it possible that, if I would use indexes like (group_field,where_field), the performance would be even better ?

I will try this in the other query, which I posted as Reply to Ravenous B.B., mabye this explain why it dont use a Index at all :)

Thx
Heiko

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Simple Query - No Join - But Temp. Table and file Sort :(
2643
October 23, 2006 11:02AM


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.