Re: CLONE DATABASE (with copy on write?)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Clark C(dot) Evans" <cce(at)clarkevans(dot)com>
Cc: "Simon Riggs" <simon(at)2ndQuadrant(dot)com>, "pgsql-general" <pgsql-general(at)postgresql(dot)org>
Subject: Re: CLONE DATABASE (with copy on write?)
Date: 2011-11-13 16:45:04
Message-ID: 6930.1321202704@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Clark C. Evans" <cce(at)clarkevans(dot)com> writes:
> Even so, the CREATE DATABASE... WITH TEMPLATE still has a set of
> additional issues with it. It ties up the hard drive with activity
> and then extra space while it duplicates data. Further, it causes
> the shared memory cache to be split between the original and the
> replica, this causes both databases to be much slower. Finally,
> it creates a ton of WAL traffic (perhaps we could suspend this?)

That last claim is false ...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Johnston 2011-11-13 16:58:23 Re: Preserving ORDER of TEMP Tables during transaction
Previous Message Ludo Smissaert 2011-11-13 16:13:45 Preserving ORDER of TEMP Tables during transaction