MySQL Error: Sort aborted

后端 未结 2 2141
谎友^
谎友^ 2021-02-20 06:09

I have MySQL 5.1 on Windows 2008 which has 8G Memory. The error occured every two seconds on Event Viewer. The error is

D:\\SW\\MySQL\\MySQL server 5.1\\bin\\mysqld: Sor

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-20 06:50

    There are at least a few known things to cause this message:

    • Insufficient disk space in tmpdir prevented tmpfile from being created.
    • Insufficient memory for sort_buffer_size to be allocated.
    • Somebody ran KILL in the middle of a filesort.
    • The server was shutdown while some queries were sorting.
    • A transaction got rolled back or aborted due to lock wait timeout or deadlock.
    • Unexpected errors, such as source table or even tmp table was corrupt.
    • Processing of a subquery failed which was also sorting.

    Check these, and I bet your issue will be resolved.

提交回复
热议问题