pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Karsten Hilbert <Karsten.Hilbert@gmx.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: Methods to quickly spin up copies of an existing databases
Date: Sat, 2 Mar 2019 14:16:53 +0100
Message-ID: <20190302131653.GB889@hermes.hilbert.loc> (raw)
In-Reply-To: <CANrrCRw2f98v8f4DZ1HbQMCf3BFoVn0QGy2NoFdx89EvpuiQ8A@mail.gmail.com>
References: <CANrrCRxLYcoXw_VWD10jEYCAwYb-wX8AKSFxe8vaFDUHpnYS_Q@mail.gmail.com>
	<d042d137-1888-6040-4cd7-e498941ea15e@gmail.com>
	<20190301200017.GM15586@aart.rice.edu>
	<87imx2l2uj.fsf@jsievers.enova.com>
	<CA+mCpehdNpDKN6hyhxOAhEyTAFNwzomZC-7J+7ea0-Svxa-Y5Q@mail.gmail.com>
	<CANrrCRw2f98v8f4DZ1HbQMCf3BFoVn0QGy2NoFdx89EvpuiQ8A@mail.gmail.com>

On Fri, Mar 01, 2019 at 04:51:32PM -0500, Arjun Ranade wrote:

> Pre-copying is not really an option since we could potentially need 1-X
> instances so it needs to be scalable.

Would it work to have a PG instance with a ready-to-use
cluster/DB inside a VM, and make a copy of that as needed ? 
The copies then get thrown away.

Same here, pre-copying a bunch of VMs would help. Disk space
is (apparently) cheaper than time (for your use case).

Karsten
-- 
GPG  40BE 5B0E C98E 1713 AFA6  5BC0 3BEA AC80 7D4F C89B




view thread (7+ messages)

Message-ID: <20190302131653.GB889@hermes.hilbert.loc>
Permalink:  ../20190302131653.GB889@hermes.hilbert.loc/
Also on:    postgresql.org/message-id/20190302131653.GB889@hermes.hilbert.loc

 · 

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: Karsten.Hilbert@gmx.net
  Subject: Re: Methods to quickly spin up copies of an existing databases
  In-Reply-To: <20190302131653.GB889@hermes.hilbert.loc>
  References: <CANrrCRxLYcoXw_VWD10jEYCAwYb-wX8AKSFxe8vaFDUHpnYS_Q@mail.gmail.com> <d042d137-1888-6040-4cd7-e498941ea15e@gmail.com> <20190301200017.GM15586@aart.rice.edu> <87imx2l2uj.fsf@jsievers.enova.com> <CA+mCpehdNpDKN6hyhxOAhEyTAFNwzomZC-7J+7ea0-Svxa-Y5Q@mail.gmail.com> <CANrrCRw2f98v8f4DZ1HbQMCf3BFoVn0QGy2NoFdx89EvpuiQ8A@mail.gmail.com> <20190302131653.GB889@hermes.hilbert.loc>

* 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