Re: [SPAM] Re: [SPAM] Re: [SPAM] Re: WAL directory size calculation - Mailing list pgsql-general

From Moreno Andreo
Subject Re: [SPAM] Re: [SPAM] Re: [SPAM] Re: WAL directory size calculation
Date
Msg-id 6bd1bc84-72fd-2c1e-e28d-82560fcf59ff@evolu-s.it
Whole thread Raw
In response to Re: [SPAM] Re: [SPAM] Re: WAL directory size calculation  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-general
Il 03/08/2016 14:12, Michael Paquier ha scritto:
> On Wed, Aug 3, 2016 at 8:07 PM, Moreno Andreo <moreno.andreo@evolu-s.it> wrote:
>> Should I keep fsync off? I'd think it would be better leaving it on, right?
> >From the docs: https://www.postgresql.org/docs/9.6/static/runtime-config-wal.html#RUNTIME-CONFIG-WAL-SETTINGS
> While turning off fsync is often a performance benefit, this can
> result in unrecoverable data corruption in the event of a power
> failure or system crash. Thus it is only advisable to turn off fsync
> if you can easily recreate your entire database from external data.
>
> So if you care about your data, that's to set in any case to on, as is
> full_page_writes.

Got it.

Thanks!

Moreno




pgsql-general by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [SPAM] Re: [SPAM] Re: WAL directory size calculation
Next
From: Adrian Klaver
Date:
Subject: Re: My Postgresql is inaccessible in Windows 8.1