pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Wen Yi <chuxuec@outlook.com>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Beginner Question:Why it always make sure that the postgres better than common csv file storage in disaster recovery?
Date: Mon, 04 Jul 2022 11:06:02 +0800
Message-ID: <TYAP286MB0636B44B4E48FA2AAF65DE72A9BE9@TYAP286MB0636.JPNP286.PROD.OUTLOOK.COM> (raw)

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?

Thanks in advance!

view thread (3+ messages)  latest in thread

Message-ID: <TYAP286MB0636B44B4E48FA2AAF65DE72A9BE9@TYAP286MB0636.JPNP286.PROD.OUTLOOK.COM>
Permalink:  ../TYAP286MB0636B44B4E48FA2AAF65DE72A9BE9@TYAP286MB0636.JPNP286.PROD.OUTLOOK.COM/
Also on:    postgresql.org/message-id/TYAP286MB0636B44B4E48FA2AAF65DE72A9BE9@TYAP286MB0636.JPNP286.PROD.OUTLOOK.COM

 · 

reply

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: 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: <TYAP286MB0636B44B4E48FA2AAF65DE72A9BE9@TYAP286MB0636.JPNP286.PROD.OUTLOOK.COM>
  References: <TYAP286MB0636B44B4E48FA2AAF65DE72A9BE9@TYAP286MB0636.JPNP286.PROD.OUTLOOK.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