Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gzoKW-0006Ru-IW for pgsql-general@arkaria.postgresql.org; Fri, 01 Mar 2019 20:00:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gzoKV-0007yo-BZ for pgsql-general@arkaria.postgresql.org; Fri, 01 Mar 2019 20:00:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gzoKV-0007yh-3Z for pgsql-general@lists.postgresql.org; Fri, 01 Mar 2019 20:00:23 +0000 Received: from aart.rice.edu ([168.7.56.48]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gzoKR-0005c8-9T for pgsql-general@lists.postgresql.org; Fri, 01 Mar 2019 20:00:22 +0000 Received: by aart.rice.edu (Postfix, from userid 18612) id AA917427F283; Fri, 1 Mar 2019 14:00:17 -0600 (CST) Date: Fri, 1 Mar 2019 14:00:17 -0600 From: Kenneth Marshall To: Kevin Wilkinson Cc: pgsql-general@lists.postgresql.org Subject: Re: Methods to quickly spin up copies of an existing databases Message-ID: <20190301200017.GM15586@aart.rice.edu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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