Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Yxi5L-0000CH-Va for pgsql-performance@arkaria.postgresql.org; Wed, 27 May 2015 20:37:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Yxi5K-000361-FU for pgsql-performance@arkaria.postgresql.org; Wed, 27 May 2015 20:37:54 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Yxi57-0002mv-VV for pgsql-performance@postgresql.org; Wed, 27 May 2015 20:37:42 +0000 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Yxi53-0000nL-SA for pgsql-performance@postgresql.org; Wed, 27 May 2015 20:37:39 +0000 Received: from mfilter24-d.gandi.net (mfilter24-d.gandi.net [217.70.178.152]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id 09905FB88B; Wed, 27 May 2015 22:37:35 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter24-d.gandi.net Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by mfilter24-d.gandi.net (mfilter24-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id sASzlzIEZW2K; Wed, 27 May 2015 22:37:03 +0200 (CEST) X-Originating-IP: 98.27.58.255 Received: from [192.168.10.146] (cpe-98-27-58-255.nc.res.rr.com [98.27.58.255]) (Authenticated sender: adsend@dunslane.net) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id D37DBFB8A3; Wed, 27 May 2015 22:37:02 +0200 (CEST) Message-ID: <55662AED.7020707@dunslane.net> Date: Wed, 27 May 2015 16:37:01 -0400 From: Andrew Dunstan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: "Wes Vaske (wvaske)" , "pgsql-performance@postgresql.org" Subject: Re: Fastest Backup & Restore for perf testing References: <31701C89A44B714FB8D242F806E7286C5AEC68FE@NTXBOIMBX01.micron.com> In-Reply-To: <31701C89A44B714FB8D242F806E7286C5AEC68FE@NTXBOIMBX01.micron.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org On 05/27/2015 04:24 PM, Wes Vaske (wvaske) wrote: > > Hi, > > I=92m running performance tests against a PostgreSQL database (9.4) with= =20 > various hardware configurations and a couple different benchmarks=20 > (TPC-C & TPC-H). > > I=92m currently using pg_dump and pg_restore to refresh my dataset=20 > between runs but this process seems slower than it could be. > > Is it possible to do a tar/untar of the entire /var/lib/pgsql tree as=20 > a backup & restore method? > > If not, is there another way to restore a dataset more quickly? The=20 > database is dedicated to the test dataset so trashing & rebuilding the=20 > entire application/OS/anything is no issue for me=97there=92s no data for= =20 > me to lose. > > Thanks! > Read all of this chapter.=20 cheers andrew --=20 Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance