This is a document for PGroonga 2.X and 3.X. See PGroonga 1.x document when you're using old PGroonga.
pgroonga_crash_safer.flush_naptime
parameterSince 2.3.3.
pgroonga_crash_safer.flush_naptime
parameter controls flush interval by pgroonga_crash_safer
module.
The larger value, the larger Groonga's WAL size.
The smaller value, the heavier IO load.
In postgresql.conf
:
pgroonga_crash_safer.flush_naptime = internval
interval
's default unit is second. You can change unit by specify suffix such as min
for minutes.
The default is 60 seconds.
Here is an example to specify 10 minutes:
pgroonga_crash_safer.flush_naptime = 10min