Mysql – Innodb_buffer_pool_reads ,Innodb_buffer_pool_read_requests reset

MySQL

Except from restart,when Innodb_buffer_pool_reads , Innodb_buffer_pool_read_requests parameters reset to zero?

Best Answer

I don't think you reset two specific status variables.

You can only reset all of them using FLUSH STATUS;

This option adds the current thread's session status variable values to the global values and resets the session values to zero. Some global variables may be reset to zero as well. It also resets the counters for key caches (default and named) to zero and sets Max_used_connections to the current number of open connections. This information may be of use when debugging a query. See Section 1.7, “How to Report Bugs or Problems”.

Try running FLUSH STATUS; and see if this works.