Re: Will modifications to unlogged tables also be flused to disk?

From: Vik Fearing <vik(dot)fearing(at)dalibo(dot)com>
To: Clemens Eisserer <linuxhippy(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org >> \"pgsql-general(at)postgresql(dot)org\"" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Will modifications to unlogged tables also be flused to disk?
Date: 2014-02-15 11:26:57
Message-ID: 52FF4F01.70001@dalibo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Clemens Eisserer 2014-02-15 11:38:33 Re: Will modifications to unlogged tables also be flused to disk?
Previous Message Clemens Eisserer 2014-02-15 11:22:56 Re: Will modifications to unlogged tables also be flused to disk?