Re: unlogged tables - Mailing list pgsql-performance

From Stephen Frost
Subject Re: unlogged tables
Date
Msg-id 20111111201822.GN24234@tamriel.snowman.net
Whole thread Raw
In response to unlogged tables  ("Anibal David Acosta" <aa@devshock.com>)
Responses Re: unlogged tables  (Sergey Konoplev <gray.ru@gmail.com>)
List pgsql-performance
* Anibal David Acosta (aa@devshock.com) wrote:
> Unlogged tables are not memory tables don't?

Unlogged tables are not memory tables.

> If we stop postgres server (normal stop) and start again, all information in
> unlogged tables still remain?

Yes.

> So, can I expect a data loss just in case of crash, power failure or SO
> crash don't?

Yes.

> In case of crash, is possible that data corruption happened in a unlogged
> tables?

In a crash, unlogged tables are automatically truncated.

> For performance purpose can I use async commit and unlogged tables?

I'm not aware of any issues (beyond those already documented for async
commit..) with having async commit and unlogged tables.

    THanks,

        Stephen

Attachment

pgsql-performance by date:

Previous
From: "Anibal David Acosta"
Date:
Subject: unlogged tables
Next
From: Shaun Thomas
Date:
Subject: Using incrond for archiving