Re: checkpoints, proper config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Thu, Dec 10, 2015 at 9:20 AM, Joshua D. Drake <jd@xxxxxxxxxxxxxxxxx> wrote:
On 12/10/2015 01:12 AM, Tory M Blue wrote:

checkpoint_timeout = 5min

checkpoint_completion_target = 0.9


The above is your problem. Make checkpoint_timeout = 1h . Also, considering turning synchronous_commit off.

JD

Thiis valid regardless of the workload? Seems that I would be storing a ton of data and writing it once an hour, so would have potential perf hits on the hour. I guess I'm not too  up to date on the checkpoint configuration. 

My settings on this particular DB

fsync = off

#synchronous_commit = on          

Thanks
Tory

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux