This is a document for PGroonga 2.X and 3.X. See PGroonga 1.x document when you're using old PGroonga.
pgroonga_standby_maintainer.naptime
parameterSince 2.4.2.
The pgroonga_standby_maintainer.naptime
parameter controls execution of the pgroonga_wal_apply()
function and the pgroonga_vacuum()
function interval by the pgroonga_standby_maintainer
module.
The larger value becomes, the more not applicable PGroonga's WAL and internal unused Groonga tables, columns and records in the standby database increase.
The smaller value, the heavier IO load.
In postgresql.conf
:
pgroonga_standby_maintainer.naptime = internval
interval
's default unit is second. We can change unit to minutes by specify suffix min
for minutes.
The default is 60 seconds.
Here is an example to specify 10 minutes:
pgroonga_standby_maintainer.naptime = 10min