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

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Will modifications to unlogged tables also be flused to disk?
Дата
Msg-id 20140215114757.GE20973@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Will modifications to unlogged tables also be flused to disk?  (Clemens Eisserer <linuxhippy@gmail.com>)
Список pgsql-general
Hi,

On 2014-02-15 12:22:56 +0100, Clemens Eisserer wrote:
> > 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?

No fsyncs will be issued in the common paths, and they won't be written
to disk by !shutdown checkpoints. But they *will* be written to disk if
there's not enough space in shared_buffers for all the data.

Greetings,

Andres Freund

--
 Andres Freund                       http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


В списке pgsql-general по дате отправления:

Предыдущее
От: Clemens Eisserer
Дата:
Сообщение: Re: Will modifications to unlogged tables also be flused to disk?
Следующее
От: Luca Ferrari
Дата:
Сообщение: Re: Will modifications to unlogged tables also be flused to disk?