pgconfig / api

PGConfig.org API v2
MIT License
48 stars 9 forks source link

fix checkpoint_completion_target #7

Open sebastianwebber opened 2 years ago

sebastianwebber commented 2 years ago

currently this parameter isn't being computed and on pg 14 the default value changed to 0.9.

DiegoDAF commented 2 years ago

The standard formula is (checkpoint_timeout - 2min) / checkpoint_timeout rounded to one decimal. I know, the default for checkpoint_timeout is 600s so: 600 - 120 / 600 = 0.8