From 0862cf94645bf1eb6083923f6f6434ecbadd0139 Mon Sep 17 00:00:00 2001 From: benoit Date: Thu, 6 Jun 2019 07:46:13 +0000 Subject: [PATCH] mysql fast --- SysadminTips.page | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SysadminTips.page b/SysadminTips.page index d20047b..7698247 100644 --- a/SysadminTips.page +++ b/SysadminTips.page @@ -19,8 +19,8 @@ for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 " " $3}END{ print " MySQL "fast" shutdown. ~~~ -set global innodb_max_dirty_pages_pct = 0 -show global status like '%dirty%'; +> set global innodb_max_dirty_pages_pct = 0; +$ mysqladmin ext -i10 | grep dirty ~~~ mkfs.ext4 for old systems in rescue mode (Debien Wheezy, …).