Here is the instructions in case MYSQL needs to be shutdown or restarted:
- Check 'innodb_max_dirty_pages_pct' global variable value.
mysql> show global variables like'innodb_max_dirty_pages_pct%';+----------------------------+-------+| Variable_name | Value |+----------------------------+-------+| innodb_max_dirty_pages_pct |90|+----------------------------+-------+1row in set (0.00sec) - Set global 'innodb_max_dirty_pages_pct' value to 0.
mysql> set global innodb_max_dirty_pages_pct =0; - Check if 'innodb_max_dirty_pages_pct' value dropping from 90 to 0.
$ mysqladmin ext -i10 | grep dirty - Proceed with normal MYSQL service restart if 'innodb_max_dirty_pages_pct' value is zero.
/etc/init.d/mysql stop
No comments:
Post a Comment