mos <[EMAIL PROTECTED]> wrote: > I want to speed up a large query and I noticed if I do an: > > Explain select * from LargeTable order by IndexCol1 > > it always has Extra "Using FileSort", which means it is physically sorting > the result set. > I've tried different tables and sorted on different index columns, and it > is always using FileSort. > > How do I get MySQL 4.1.0 to use an index when sorting a MyISAM table? > Or is Explain broken and does it always report it is using FileSort?
Look at the last paragraph of the following section in the manual: http://www.mysql.com/doc/en/MySQL_indexes.html -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Egor Egorov / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]