SHOW GLOBAL STATUS LIKE ‘Created_tmp_disk_tables’.
Everytime I run that query through phpmyadmin another disk based temp table is created.
Is there a way to prevent it?
Edit : Looks like doing anything in phpmyadmin is creating temp disk tables.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t think it is so… I have now tested on 3 servers (2 of them MySQL 5.1, one is 5.0), I have run the command several times and number of temp tables did not increase. Which MySQL version do you have? On which platform? Anyway, if it would be true, I would say it is a bug, because showing a variable should not need to create a temp table.
So it seems that some other queries which are running on your server are creating those disk temp tables and increasing your count.