diff options
author | Gabriel Filion <gabster@lelutin.ca> | 2014-03-12 11:43:31 -0400 |
---|---|---|
committer | Gabriel Filion <gabster@lelutin.ca> | 2014-03-12 11:43:31 -0400 |
commit | 84fba22bad4d2d0e88352c999cabe4de2a42c023 (patch) | |
tree | 3c53c966002a9243d1ea4e290fce44a72c95e1f6 /README | |
parent | 8fbc1b33eea6d45d9b6ff4de0faf937394c415ca (diff) | |
parent | a5754aa8025d75fd1bb55e210ec90ede7b563c10 (diff) |
Merge branch 'randomize_optimize'
Diffstat (limited to 'README')
-rw-r--r-- | README | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -61,6 +61,16 @@ Optimizing tables If you wish mysql to periodically optimize tables, set the "$mysql_optimize_cron = true" variable before you include mysql::server. +By default, time of execution for the optimization script will be randomly +chosen (and will stay consistant for a server) any day between midnight and +7:00 AM. If you wish to force at least one value, you can use the following +parameters to the mysql::server class (all values are used directly as a +cronjob value so they should be set within cron value space): + +* optimize_day => sets the day of the week (integer value) during which the script will run. +* optimize_hour => sets the hour at which the optimization script will run. +* optimize_minute => sets the minute in the hour at which the script will run. + Munin ----- |