X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7E01F8BA053 for ; Wed, 9 Feb 2005 23:55:46 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 53422-02 for ; Wed, 9 Feb 2005 23:55:29 +0000 (GMT) Received: from boutiquenumerique.com (boutiquenumerique.com [82.67.9.10]) by svr1.postgresql.org (Postfix) with ESMTP id BE6C48B9E84 for ; Wed, 9 Feb 2005 23:55:30 +0000 (GMT) Received: (qmail 13740 invoked from network); 10 Feb 2005 00:55:57 +0100 Received: from unknown (HELO musicbox) (boutiquenumerique-lists@192.168.0.2) by boutiquenumerique.com with SMTP; 10 Feb 2005 00:55:57 +0100 To: "Chris Kratz" , "John Arbash Meinel" Cc: pgsql-performance@postgresql.org Subject: Re: Performance Tuning References: <200502091501.31447.chris.kratz@vistashare.com> <420A74BE.8010009@arbash-meinel.com> <200502091625.34787.chris.kratz@vistashare.com> Message-ID: Date: Thu, 10 Feb 2005 00:58:48 +0100 From: PFC Organization: =?iso-8859-15?Q?La_Boutique_Num=E9rique?= Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: <200502091625.34787.chris.kratz@vistashare.com> User-Agent: Opera M2/7.54u1 (Linux, build 892) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/160 X-Sequence-Number: 10489 > As a side note, I learned something very interesting for our developers > here. > We had been doing a drop database and then a reload off a db dump from > our > live server for test data. This takes 8-15 minutes depending on the > server > (the one above takes about 8 minutes). I learned through testing that I > can > use create database template some_other_database and make a duplicate in > about 2.5 minutes. which is a huge gain for us. We can load a pristine > copy, > make a duplicate, do our testing on the duplicate, drop the duplicate and > create a new duplicate in less then five mintes. I think thats because postgres just makes a file copy from the template. Thus you could make it 2x faster if you put the template in another tablespace on another drive.