Merge pull request #2401 from Rosiak/issue-2400

Add innodb config example to daily
This commit is contained in:
Daniel Preussker
2015-11-06 17:55:03 +01:00
+1
View File
@@ -37,6 +37,7 @@ The ' . $config['project_name'] . ' team.';
echo 'Current size: '.($pool_size / 1024 / 1024).' MiB'.PHP_EOL;
echo 'Minimum Required: '.($pool_used / 1024 / 1024).' MiB'.PHP_EOL;
echo 'To ensure integrity, we\'re not going to pull any updates until the buffersize has been adjusted.'.PHP_EOL;
echo 'Config proposal: "innodb_buffer_pool_size = '.pow(2,ceil(log(($pool_used / 1024 / 1024),2))).'M"'.PHP_EOL;
}
exit(2);
}