Re: CREATE DATABASE with filesystem cloning

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: Thomas Munro <thomas.munro@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-10-11T12:35:46Z
Lists: pgsql-hackers
On Mon, Oct 9, 2023 at 7:49 PM Andres Freund <andres@anarazel.de> wrote:
> If we do this, I think we should consider creating template0, template1 with
> the new strategy, so that a new initdb cluster ends up with deduplicated data.

Seems a little questionable given the reports earlier in the thread
about some filesystems still having bugs in this functionality.

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



Commits

  1. Introduce file_copy_method setting.