Re: Will modifications to unlogged tables also be flused to disk? - Mailing list pgsql-general

From Vik Fearing
Subject Re: Will modifications to unlogged tables also be flused to disk?
Date
Msg-id 52FF4F01.70001@dalibo.com
Whole thread Raw
In response to Re: Will modifications to unlogged tables also be flused to disk?  (Clemens Eisserer <linuxhippy@gmail.com>)
Responses Re: Will modifications to unlogged tables also be flused to disk?
List pgsql-general
On 02/15/2014 12:22 PM, Clemens Eisserer wrote:
> Hi Andreas,
>
>> They will lost after a crash, but after a regular shutdown / restart all
>> data in the table.
> Yes, the semantics are clearly stated in the documentation.
> What I wonder is whether postgresql will issue flush/fsync operations
> when unlogged tables are modified?
>

Yes.  The only difference between logged and unlogged tables is the lack
of WAL.  As long as there's no crash, unlogged tables are treated the
same as logged tables as far as flushing/fsync-ing is concerned.

--
Vik



pgsql-general by date:

Previous
From: Clemens Eisserer
Date:
Subject: Re: Will modifications to unlogged tables also be flused to disk?
Next
From: Clemens Eisserer
Date:
Subject: Re: Will modifications to unlogged tables also be flused to disk?