Changing access log settings
Couchbase Server has an optimized disk warmup. Couchbase Server pre-fetches a list of most-frequently accessed keys and fetches these documents first. The server runs a periodic scanner process which determines which keys are most frequently-used. The cbepctl flush_param command is used to change the initial time and the interval for the process. You may want to do this, for example, if you have a peak time for your application when you want the keys used during this time to be quickly available after server restart.
By default the scanner process runs once every 24 hours with a default initial start time of 2:00 AM UTC. This means after you install a new Couchbase Server 2.0 instance or restart the server, by default the scanner will run every 24- hour time period at 2:00 AM GMT and then 2:00 PM GMT by default. To change the time interval when the access scanner process runs to every 20 minutes:
> ./cbepctl hostname:port -b bucket_name -p bucket_password set flush_param alog_sleep_time 20
To change the initial time that the access scanner process runs from the default of 2:00 AM UTC:
> ./cbepctl hostname:port -b bucket_name -p bucket_password set flush_param alog_task_time 23
In this example we set the initial time to 11:00 PM UTC.