pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feedDoes fsync on/off for wal AND Checkpoint?
2+ messages / 2 participants
[nested] [flat]
* Does fsync on/off for wal AND Checkpoint?
@ 2013-12-27 15:55 GR Vishwanath <grv144@gmail.com>
2013-12-27 16:27 ` Re: Does fsync on/off for wal AND Checkpoint? Andreas Karlsson <andreas@proxel.se>
0 siblings, 1 reply; 2+ messages in thread
From: GR Vishwanath @ 2013-12-27 15:55 UTC (permalink / raw)
To: pgsql-performance
Is fscnc off/on pertain only to writing WAL buffers to disk?
Or is that also relevant to writing of dirty buffers to disk
(checkpoint/bg)?
Curious because in the docs fsync on/off is mentioned under WAL
configuration. Further there is a wal_sync_method but not a
"checkpoint_sync_method".
Shiv
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Does fsync on/off for wal AND Checkpoint?
2013-12-27 15:55 Does fsync on/off for wal AND Checkpoint? GR Vishwanath <grv144@gmail.com>
@ 2013-12-27 16:27 ` Andreas Karlsson <andreas@proxel.se>
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Karlsson @ 2013-12-27 16:27 UTC (permalink / raw)
To: GR Vishwanath <grv144@gmail.com>; +Cc: pgsql-performance
On 12/27/2013 04:55 PM, GR Vishwanath wrote:
> Is fscnc off/on pertain only to writing WAL buffers to disk?
>
> Or is that also relevant to writing of dirty buffers to disk
> (checkpoint/bg)?
>
> Curious because in the docs fsync on/off is mentioned under WAL
> configuration. Further there is a wal_sync_method but not a
> "checkpoint_sync_method".
The setting is for all uses of fsync within the PostgreSQL server, so if
you turn it off PostgreSQL should never issue fsync. The only exceptions
are some utility tools (eg. pg_basebackup) which do not read the
configuration file.
--
Andreas Karlsson
--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2013-12-27 16:27 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-12-27 15:55 Does fsync on/off for wal AND Checkpoint? GR Vishwanath <grv144@gmail.com>
2013-12-27 16:27 ` Andreas Karlsson <andreas@proxel.se>
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