Re: checkpoints, proper config

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Tory M Blue <tmblue(at)gmail(dot)com>
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: checkpoints, proper config
Date: 2015-12-10 20:00:38
Message-ID: 5669D9E6.8050104@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 12/10/2015 10:35 AM, Tory M Blue wrote:

>
> Thiis valid regardless of the workload?

Yes.

> 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.

No, that isn't how it works.

http://www.postgresql.org/docs/9.4/static/wal-configuration.html

>
> My settings on this particular DB
>
> fsync = off

This will cause data corruption in the event of improper shutdown.

>
> #synchronous_commit = on
>

I would turn that off and turn fsync back on.

JD

--
Command Prompt, Inc. - http://www.commandprompt.com/ 503-667-4564
PostgreSQL Centered full stack support, consulting and development.
Announcing "I'm offended" is basically telling the world you can't
control your own emotions, so everyone else should do it for you.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Sheena, Prabhjot 2015-12-10 20:35:23 postgresql upgrade from 9.3 to 9.4 error
Previous Message Tory M Blue 2015-12-10 18:35:22 Re: checkpoints, proper config