From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Wen Yi <chuxuec@outlook.com>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Beginner Question:Why it always make sure that the postgres better than common csv file storage in disaster recovery?
Date: Sun, 3 Jul 2022 20:31:57 -0700
Message-ID: <d4958bee-46fe-0a0a-a057-4589e50db102@aklaver.com> (raw)
In-Reply-To: <TYAP286MB0636B44B4E48FA2AAF65DE72A9BE9@TYAP286MB0636.JPNP286.PROD.OUTLOOK.COM>
References: <TYAP286MB0636B44B4E48FA2AAF65DE72A9BE9@TYAP286MB0636.JPNP286.PROD.OUTLOOK.COM>
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.klaver@aklaver.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, chuxuec@outlook.com
Subject: Re: Beginner Question:Why it always make sure that the postgres better than common csv file storage in disaster recovery?
In-Reply-To: <d4958bee-46fe-0a0a-a057-4589e50db102@aklaver.com>
References: <TYAP286MB0636B44B4E48FA2AAF65DE72A9BE9@TYAP286MB0636.JPNP286.PROD.OUTLOOK.COM> <d4958bee-46fe-0a0a-a057-4589e50db102@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox