The execution efficiency of the same sql varies several times on different machines.

for example, a simple statement:
select * from table limit 0,2000
query efficiency varies several times

the disk quality of the two machines is different, resulting in different io efficiency of mysql. (I think it"s possible), or does it have something to do with the parameter configuration of mysql?

Mar.12,2021

is the machine hardware configured the same? Is the version of mysql consistent?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e482f1-271d0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e482f1-271d0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?