問題:
I'm testing the speed of some queries in MySQL.我正在測試 MySQL 中某些查詢的速度。 The database is caching these queries making it difficult for me to get reliable results when testing how fast these queries are.數據庫正在緩存這些查詢,這使我在測試這些查詢的速度時很難獲得可靠的結果。
Is there a way to disable caching for a query?有沒有辦法禁用查詢的緩存?
System: MySQL 4 on Linux webhosting, I have access to PHPMyAdmin.系統:Linux 虛擬主機上的 MySQL 4,我可以訪問 PHPMyAdmin。
Thanks謝謝
解決方案:
參考一: https://en.stackoom.com/question/lJm參考二: https://stackoom.com/question/lJm