pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Tory M Blue <tmblue@gmail.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: checkpoints, proper config
Date: Thu, 10 Dec 2015 12:00:38 -0800
Message-ID: <5669D9E6.8050104@commandprompt.com> (raw)
In-Reply-To: <CAEaSS0YJQ68TNffwjU71KxR-JsWfHSitWYgwcw4X=d4WW7zavQ@mail.gmail.com>
References: <CAEaSS0af0GpqQYSwePKRQq6RtX-x9NXDm=jOXcbcGAmGHXapFw@mail.gmail.com>
	<5669B47B.9010504@commandprompt.com>
	<CAEaSS0YJQ68TNffwjU71KxR-JsWfHSitWYgwcw4X=d4WW7zavQ@mail.gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.


-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



view thread (11+ messages)  latest in thread

Message-ID: <5669D9E6.8050104@commandprompt.com>
Permalink:  ../5669D9E6.8050104@commandprompt.com/
Also on:    postgresql.org/message-id/5669D9E6.8050104@commandprompt.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: jd@commandprompt.com, tmblue@gmail.com
  Subject: Re: checkpoints, proper config
  In-Reply-To: <5669D9E6.8050104@commandprompt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox