MySQL Forums
Forum List  »  Optimizer & Parser

Re: MySQL 5.1.31 -- Same query scans widely different # of rows
Posted by: Jørgen Løland
Date: April 09, 2011 06:35AM

> A compound index with these two fields might be best for the second SELECT:
> and listingdis2_.DISPLAY_STAT_REAS_ID=2
> and listings1_.LINE_OF_BUSINESS_ID=11

A compound index covering columns from two different tables?

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.