Diogo Oliveira de Melo

MySQL/MariaDB Clear cache command

The command is:

RESET QUERY CACHE;

This is very useful when you are trying to compare the performance of a query and want to make sure the cache is not tampering with the results.