I have a table with 5000+ records, of real estate.  There is a price
column, INT(11), which has an index.

When I perform a complex query with joins, and a LIMIT, then the result
comes back 'immediately'.  However, if I add 'ORDER BY price', then the
query times out.  Values in the price column go up to about 60,000,000.

I have removed the index, and rebuilt it, then done various checks on
the database (using SQLYog), which all appear to be OK.

Any suggestions?

-- 
Pete Clark

http://www.hotcosta.com
http://www.spanishholidaybookings.com




The PHP_mySQL group is dedicated to learn more about the PHP_mySQL web database 
possibilities through group learning.  
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to