summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Filion <gabster@lelutin.ca>2014-03-06 18:52:57 -0500
committerGabriel Filion <gabster@lelutin.ca>2014-03-06 18:52:57 -0500
commita5754aa8025d75fd1bb55e210ec90ede7b563c10 (patch)
treed3bcec14df901348cfc127a81df7b24efd1aef60
parentae2fbce7ac58d2f6bb33b350aee6482fd5a94df7 (diff)
document the new arguments for setting optimize run time
-rw-r--r--README10
1 files changed, 10 insertions, 0 deletions
diff --git a/README b/README
index a454dbd..1b12c76 100644
--- a/README
+++ b/README
@@ -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
-----