Postgres 9.4 unlogged table. Under any circumstance after server crash would data persist? - Mailing list pgsql-admin

From Stephen Tahmosh
Subject Postgres 9.4 unlogged table. Under any circumstance after server crash would data persist?
Date
Msg-id BLUPR07MB03523B117BBBC34ED4E8D01C4D00@BLUPR07MB035.namprd07.prod.outlook.com
Whole thread Raw
Responses Re: Postgres 9.4 unlogged table. Under any circumstance after server crash would data persist?
List pgsql-admin

Hi,

The goal was to minimize log activity during ETL.  The assumption was, once a Table load was “committed” the data would persist after a system shutdown.

Our database backup currently “aborts” the server (working to change to an orderly shutdown).

I have loaded data to an unlogged table, and committed on completion.

I am able to see the data in another session, so I am sure the data has been persisted.

 

Over night, our database is shut down (forced) for a backup.  The next morning, I find that the data in my unlogged table is gone.

 

Is there any case where this data, in an unlogged table, would persist through a server “crash”?  (however caused).

 

Thanks,

 

 

STeve

 

THIS MESSAGE (AND ALL ATTACHMENTS) IS INTENDED FOR THE USE OF THE PERSON OR ENTITY TO WHOM IT IS ADDRESSED AND MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM DISCLOSURE UNDER APPLICABLE LAW. If you are not the intended recipient, your use of this message for any purpose is strictly prohibited. If you have received this communication in error, please delete the message without making any copies and notify the sender so that we may correct our records. Thank you.

pgsql-admin by date:

Previous
From: clingareddy@vsoftcorp.com
Date:
Subject: invalid memory alloc request size 18446744073709551614
Next
From: Albe Laurenz
Date:
Subject: Re: Postgres 9.4 unlogged table. Under any circumstance after server crash would data persist?