Skip to main content

Replay Configuration

You can tune the snapshot-trigger-size and snapshots-to-keepEngine Variables to make efficient use of the logs and snapshots.

A large snapshot-trigger-size decreases the frequency that snapshots are taken. But a large snapshot-trigger-size increases the time needed to replay the snapshot.

A large snapshots-to-keep increases the number of snapshots available, and it increases the amount of space needed to store the snapshots and logs.

snapshots-to-keep defaults to 2.

The datadir engine variable stores the location of the snapshots and logs.

See Managing Disk Space Used by Transaction Logs and Configuration for more information.