Question about linux filesystem and psql

From: Marcus Wegner <wegner3000(at)hotmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Question about linux filesystem and psql
Date: 2004-07-23 18:18:47
Message-ID: 200407232018.51303.wegner3000@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Is it possible to keep data safe with linux and psql after crash?

The short description of the scenario is:
-> writing data with psql (using transactions), store process completed
-> user hits the reset button or kernel crashes (whatever left the filesystem
unsynced)
-> filesystem is xfs or reiserfs
-> reboot causes some blocks filled with zero (journalling feature discussed
on lkml) of last accessed files from some applications

My questions are:
Is there any solution that psql keeps the database intact (already written
data)?
Is there an option for psql or filesystem (like reiserfs data=ordered) which
should be used (maybe backup database)

Thanks

Marcus

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-07-23 18:33:50 Re: Postgres "invalid page header"
Previous Message Tom Lane 2004-07-23 17:43:33 Re: Connexion to Postgresql using TCP/IP