pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kenneth Marshall <ktm@rice.edu>
To: Kevin Wilkinson <w.kevin.wilkinson@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Methods to quickly spin up copies of an existing databases
Date: Fri, 1 Mar 2019 14:00:17 -0600
Message-ID: <20190301200017.GM15586@aart.rice.edu> (raw)
In-Reply-To: <d042d137-1888-6040-4cd7-e498941ea15e@gmail.com>
References: <CANrrCRxLYcoXw_VWD10jEYCAwYb-wX8AKSFxe8vaFDUHpnYS_Q@mail.gmail.com>
	<d042d137-1888-6040-4cd7-e498941ea15e@gmail.com>

On Fri, Mar 01, 2019 at 11:57:30AM -0800, Kevin Wilkinson wrote:
> if you are able/willing to use ZFS (rather than ext4, xfs, ...) to
> store your database, then it might work for you. ZFS is
> copy-on-write so it can very quickly clone a database.
> 
> kevin

Hi Arjun

Redhat 7 does have LVM snapshots that does something similar. Kevin is
correct, COW is the secret.

Regards,
Ken




view thread (7+ messages)  latest in thread

Message-ID: <20190301200017.GM15586@aart.rice.edu>
Permalink:  ../20190301200017.GM15586@aart.rice.edu/
Also on:    postgresql.org/message-id/20190301200017.GM15586@aart.rice.edu

 · 

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: ktm@rice.edu, w.kevin.wilkinson@gmail.com
  Subject: Re: Methods to quickly spin up copies of an existing databases
  In-Reply-To: <20190301200017.GM15586@aart.rice.edu>
  References: <CANrrCRxLYcoXw_VWD10jEYCAwYb-wX8AKSFxe8vaFDUHpnYS_Q@mail.gmail.com> <d042d137-1888-6040-4cd7-e498941ea15e@gmail.com> <20190301200017.GM15586@aart.rice.edu>

* 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