X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 828C5D1B50F for ; Tue, 16 Sep 2003 13:59:48 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 06646-05 for ; Tue, 16 Sep 2003 10:59:21 -0300 (ADT) Received: from yertle.kcilink.com (yertle.kcilink.com [216.194.193.105]) by svr1.postgresql.org (Postfix) with ESMTP id 3F152D1B4EB for ; Tue, 16 Sep 2003 10:59:17 -0300 (ADT) Received: by yertle.kcilink.com (Postfix, from userid 100) id E794B217B2; Tue, 16 Sep 2003 09:59:14 -0400 (EDT) From: Vivek Khera MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16231.5938.817522.359405@yertle.int.kciLink.com> Date: Tue, 16 Sep 2003 09:59:14 -0400 To: Tom Lane Cc: pgsql-performance@postgresql.org Subject: Re: restore time: sort_mem vs. checkpoing_segments In-Reply-To: <14070.1063689540@sss.pgh.pa.us> References: <16230.4066.565194.387700@yertle.int.kciLink.com> <14070.1063689540@sss.pgh.pa.us> X-Mailer: VM 7.14 under 21.4 (patch 12) "Portable Code" XEmacs Lucid X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/235 X-Sequence-Number: 3601 >>>>> "TL" == Tom Lane writes: TL> I was just bugging Marc for some useful data, so I'll ask you too: TL> could you provide a trace of the pg_restore execution? log_statement TL> plus log_duration output would do it. I am curious to understand TL> exactly which steps in the restore are significant time sinks. Sure... machine isn't gonna do much of anything until 7.4 is released (or I hear a promise of no more dump/reload). >> I notice during the restore that the disk throughput triples during >> the checkpoint. TL> Hm, better make sure the log includes some indication of when TL> checkpoints happen. That it does. I'll post the results in the next couple of days, as each run takes about 4 hours ;-)