Re: [Proposal] Fully WAL logged CREATE DATABASE - No Checkpoints - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [Proposal] Fully WAL logged CREATE DATABASE - No Checkpoints
Date
Msg-id CA+TgmoZNqj7ksvnSsFYvYZ4TH+ESAQQ0sJOtQavkzcT6aFHuGQ@mail.gmail.com
Whole thread Raw
In response to Re: [Proposal] Fully WAL logged CREATE DATABASE - No Checkpoints  (Dilip Kumar <dilipbalaut@gmail.com>)
List pgsql-hackers
On Sat, Sep 11, 2021 at 12:17 AM Dilip Kumar <dilipbalaut@gmail.com> wrote:
> I agree with you, even though I think that scanning pg_class for identifying the relfilenode looks like a more
sensiblething to do than directly scanning the file system, we need to consider one point that, now also in current
system (in create database) we are scanning the directory for copying the file so instead of copying them directly we
needto logically identify the relfilenode and then copy it block by block, so maybe this approach will not make anyone
unhappybecause it is not any worse than the current system. 

So, I agree. If we can't get agreement on this approach, then we can
do that, and as you say, it's no worse than what we are doing now. But
I am just trying to lay out my view of why I think that's not as good
as this.

--
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: refactoring basebackup.c
Next
From: Alvaro Herrera
Date:
Subject: Re: What are exactly bootstrap processes, auxiliary processes, standalone backends, normal backends(user sessions)?