| From: | Tory M Blue <tmblue(at)gmail(dot)com> |
|---|---|
| To: | "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com> |
| Cc: | "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org> |
| Subject: | Re: checkpoints, proper config |
| Date: | 2015-12-10 18:35:22 |
| Message-ID: | CAEaSS0YJQ68TNffwjU71KxR-JsWfHSitWYgwcw4X=d4WW7zavQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-performance |
On Thu, Dec 10, 2015 at 9:20 AM, Joshua D. Drake <jd(at)commandprompt(dot)com>
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Joshua D. Drake | 2015-12-10 20:00:38 | Re: checkpoints, proper config |
| Previous Message | Joshua D. Drake | 2015-12-10 17:20:59 | Re: checkpoints, proper config |