Re: [Proposal] Fully WAL logged CREATE DATABASE - No Checkpoints

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Dilip Kumar <dilipbalaut(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [Proposal] Fully WAL logged CREATE DATABASE - No Checkpoints
Date: 2022-02-14 13:53:32
Message-ID: CA+TgmoaNgWV3R4oOxT8D+ybVZY87cnPeRt_xAwWT-OcT1FY3Pg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Feb 14, 2022 at 12:01 AM Dilip Kumar <dilipbalaut(at)gmail(dot)com> wrote:
> Well this is not really surprising to me because what I have noticed
> is that with the new approach the createdb time is completely
> dependent upon the template db size. So if the source db size is 10GB
> it is taking around 80sec and the shared buffers size does not have a
> major impact. Maybe a very small shared buffer can have more impact
> so I will test that as well.

OK. Well, then this approach is somewhat worse than I expected for
moderately large template databases. But it seems very good for small
template databases, especially when there is other work in progress on
the system.

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2022-02-14 14:25:33 Re: sockaddr_un.sun_len vs. reality
Previous Message houzj.fnst@fujitsu.com 2022-02-14 12:55:46 RE: row filtering for logical replication