It is well known that query cache was deprecated in MySQL 8, which was a great news as I prefer to benchmark my queries based on execution time.
Unfortunately query results sre still cached in other ways. As far as I know there are operating system's, hard drive's and maybe other types of caching.
I am using MySQL Community 8.0.35 running on Ubuntru 22.04.3. Edit: The engine used is MyISAM.
When a specific query is run for first time it typically takes about 3 seconds. Each run of the same query after that takes no more than 0.015 seconds. If I change the time period of the query, so that to make it look like "new" query then execution again takes 3 seconds. Each following execution is 0.015 seconds.
Is there some approach to force caching not to happen other than rebooting the system?