Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

What does 'Using filesort' in EXPLAIN Extra indicate?

  1. A The query reads directly from a file
  2. B MySQL must perform an additional sorting pass rather than reading rows in index order
  3. C The table is stored on a slow disk
  4. D A temporary file has been created for the output
Answer

MySQL must perform an additional sorting pass rather than reading rows in index order

Despite the name it does not necessarily involve disk, but it does mean extra work. An index matching the ORDER BY can often eliminate it.

All MySQL MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as