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 parameter

Since 2.3.3.

Summary

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.

Syntax

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.

Usage

Here is an example to specify 10 minutes:

pgroonga_crash_safer.flush_naptime = 10min

See also