> Since I really need this DESC badly, is it sensible to > add a 3rd column that keeps its values in reverse > order(say, SomeBigInt - value of col2) ? Then create > an index on (col1,col3) and use it without the "DESC".
Yes. For a signed col2 you can try 0x7FFFFFFF - col2. Unsigned I think you should use 0xFFFFFFFF - col2. We use the former with great success. Check EXPLAIN and make sure that the index is used (if not, force it with USE INDEX). > The website does about 10 times more reading than > updating the table. There are 12 columns and about > 100000 rows in the table. Since the table is small, I'd just add the extra column and index and remove them when you upgrade to MySQL 4 when Monty says its stable. Sincerely, Steven Roussey http://Network54.com/?pp=e --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php