X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 6FD8A11F6225 for ; Mon, 10 Apr 2006 12:24:42 -0300 (ADT) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Score: 0.128 X-Spam-Level: X-Spam-Status: No, score=0.128 required=5 tests=[AWL=0.128] Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id DSEZbRugTK9a for ; Mon, 10 Apr 2006 12:24:37 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 658A311F61EF for ; Mon, 10 Apr 2006 12:24:37 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k3AFOTTr026130; Mon, 10 Apr 2006 11:24:29 -0400 (EDT) To: "Jesper Krogh" cc: "Luke Lonergan" , pgsql-performance@postgresql.org Subject: Re: Restore performance? In-reply-to: <53852.195.41.66.226.1144658699.squirrel@mail.jabbernet.dk> References: <3E37B936B592014B978C4415F90D662D01F475D5@MI8NYCMAIL06.Mi8.com> <53852.195.41.66.226.1144658699.squirrel@mail.jabbernet.dk> Comments: In-reply-to "Jesper Krogh" message dated "Mon, 10 Apr 2006 10:44:59 +0200" Date: Mon, 10 Apr 2006 11:24:29 -0400 Message-ID: <26129.1144682669@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200604/203 X-Sequence-Number: 18287 "Jesper Krogh" writes: > gzip does not seem to be the bottleneck, on restore is psql the nr. 1 > consumer on cpu-time. Hm. We've seen some situations where readline mistakenly decides that the input is interactive and wastes lots of cycles doing useless processing (like keeping history). Try "psql -n" and see if that helps. regards, tom lane