X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 99D4AD1B4A7 for ; Wed, 10 Mar 2004 21:00:40 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 62971-03 for ; Wed, 10 Mar 2004 17:00:38 -0400 (AST) Received: from lorax.kcilink.com (lorax.kciLink.com [206.112.95.1]) by svr1.postgresql.org (Postfix) with ESMTP id 85A73D1B467 for ; Wed, 10 Mar 2004 17:00:36 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by lorax.kcilink.com (Postfix) with ESMTP id 39A0F3F38 for ; Wed, 10 Mar 2004 16:00:37 -0500 (EST) Received: from lorax.kcilink.com ([127.0.0.1]) by localhost (lorax.kcilink.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08515-01-2 for ; Wed, 10 Mar 2004 16:00:36 -0500 (EST) Received: by lorax.kcilink.com (Postfix, from userid 8) id AF0653F36; Wed, 10 Mar 2004 16:00:36 -0500 (EST) To: pgsql-performance@postgresql.org Path: not-for-mail From: Vivek Khera Newsgroups: ml.postgres.performance Subject: Re: syslog slowing the database? Date: Wed, 10 Mar 2004 16:00:36 -0500 Organization: Khera Communications, Inc., Rockville, MD Lines: 20 Message-ID: References: <404E2937.4060604@cranel.com> NNTP-Posting-Host: yertle.kcilink.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: lorax.kcilink.com 1078952436 27132 65.205.34.180 (10 Mar 2004 21:00:36 GMT) X-Complaints-To: daemon@kciLink.com NNTP-Posting-Date: Wed, 10 Mar 2004 21:00:36 +0000 (UTC) User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Reasonable Discussion, berkeley-unix) Cancel-Lock: sha1:2Prg0lzJXy1ZUTYDMvG1nQ2KH3Y= X-Virus-Scanned: by amavisd-new at kcilink.com X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/141 X-Sequence-Number: 5997 >>>>> "GS" == Greg Spiegelberg writes: GS> I've been waiting all day for a pg_restore to finish on a test system GS> identically configured as our production in hardware and software GS> with the exception prod is 7.3.5 and test is 7.4.1. GS> The file it's restoring from is about 8GB uncompressed from a GS> "pg_dump -b -F t" and after 2 hours the directory the database is in GS> contains only 1GB. iostat reported ~2000 blocks written every 2 GS> seconds to the DB file system. Have you considered increasing the value of checkpoint_segments to something like 50 or 100 during your restore? It made a *dramatic* improvement on my system when I did the same migration. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: khera@kciLink.com Rockville, MD +1-301-869-4449 x806 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/