MySQL incorrect key file for tmp table when making multiple joins

后端 未结 11 1263
轻奢々
轻奢々 2020-11-27 17:01

I don\'t come here for help often but I am pretty frustrated by this and I am hoping someone has encountered it before.

Whenever I try to fetch records from a table

11条回答
  •  佛祖请我去吃肉
    2020-11-27 17:29

    Check your MySQL tmpdir available space (/tmp in your case) while running the queries as it can eat hundreds of MBs when working with big tables. Something like this worked for me:

    $ while true; do df -h /tmp; sleep .5; done
    

提交回复
热议问题