MySQL Forums
Forum List  »  InnoDB

Re: Is there any command to flush innodb buffer pool manually?
Posted by: shruti nimbalkar
Date: April 11, 2019 12:47PM

is there any parameters that can be set to flush the buffer pool continuosly.
The below link suggest some to specific mysql version.
I wanted to know for mysql 8

https://stackoverflow.com/questions/10542853/how-to-clear-flush-mysql-innodb-buffer-pool

=============================================================
WARNING : The following only works for MySQL 5.5 and MySQL 5.1.41+ (InnoDB Plugin)

Tweek the duration of entries in the InnoDB Buffer Pool with these settings:

SET GLOBAL innodb_old_blocks_time=250; // This is 0.25 seconds
SET GLOBAL innodb_old_blocks_pct=5;
SET GLOBAL innodb_max_dirty_pages_pct=0;
When you are done testing, setting them back to the defaults:

SET GLOBAL innodb_old_blocks_time=0;
SET GLOBAL innodb_old_blocks_pct=37;
SET GLOBAL innodb_max_dirty_pages_pct=90; // 75 for MySQL 5.5/MySQL 5.1 InnoDB Plugin

=========================================================

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Is there any command to flush innodb buffer pool manually?
721
April 11, 2019 12:47PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.