Re: Beginner Question:Why it always make sure that the postgres better than common csv file storage in disaster recovery?

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Wen Yi <chuxuec(at)outlook(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Beginner Question:Why it always make sure that the postgres better than common csv file storage in disaster recovery?
Date: 2022-07-04 03:31:57
Message-ID: d4958bee-46fe-0a0a-a057-4589e50db102@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 7/3/22 20:06, Wen Yi wrote:
> I am a student who are interesting in database kernel.When I am
> reviewing my database course,a question make me confused.
>
> In file system,if a error happen when I insert some data into data
> saving system,the whole data exists will be broken and can't recovery
> anymore.
>
> But when I check the code in postgres,I found the postgres also use the
> write function(That! is a UNIX file system api)
>
> My question is:
>
> Since it's all built on top of the file system,why it always make sure
> that the postgres better than common csv file storage in disaster recovery?

https://www.postgresql.org/docs/current/wal.html

>
> Thanks in advance!

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2022-07-04 03:37:05 Re: Beginner Question:Why it always make sure that the postgres better than common csv file storage in disaster recovery?
Previous Message Wen Yi 2022-07-04 03:06:02 Beginner Question:Why it always make sure that the postgres better than common csv file storage in disaster recovery?