-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A bit of tuning for the default check-point settings
When a check-point is running, it consumes IO, and this may negatively affect the performance of the database. Especially on platforms where IO performance is low (like rotating hard disk drives) or throttled (like AWS EBS volumes). Therefor, I have tried to modify the defaults to minimase this influence: * Tripled the check-point inteval so it runs every 15 minutes instead of every 5 minutes. I have left the 100.000 transaction threshold the same, though. * Cut the default IOPS limit by two thirds. I observed that we never appeared to reach the 1.000 IOPS default on AWS EBS anyway. Instead we were only reaching about 600 to 700 IOPS. The new default is half of this. * Add a random offset to the initial check-point time, so instances that start in a cluster simultaneusly will attempt to schedule their check-point cycles out of phase.
- Loading branch information
Showing
2 changed files
with
45 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters