MySQL Forums
Forum List  »  Performance

Re: Adding Order by slows query...
Posted by: Bruce Duncan
Date: October 14, 2004 10:16AM

Here's the Explain (sorry about the format)

table: type: possible_keys: key: key_len: ref: rows: Extra:

UserList: ref: ListID,UserInfoID: UserInfoID: 5: const: 3: Using where; Using temporary; Using filesort :

List: eq_ref: PRIMARY,ListID: PRIMARY: 10: UserList.ListID: 1:

ZipListMatrix: ref: ListID,ZipID: ListID: 11: List.ListID: 105509: Using where:

Are you suggesting I create an combined index in both tables? If so, how do I get the query to use them? Thanks for your's greatly appreciated!


Options: ReplyQuote

Written By
October 14, 2004 09:43AM
October 14, 2004 09:53AM
Re: Adding Order by slows query...
October 14, 2004 10:16AM
October 15, 2004 08:37AM

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.