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 47E83D1B53E for ; Tue, 28 Oct 2003 19:18:34 +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 52694-02 for ; Tue, 28 Oct 2003 15:18:03 -0400 (AST) Received: from lorax.kcilink.com (lorax.kciLink.com [206.112.95.1]) by svr1.postgresql.org (Postfix) with ESMTP id 72856D1B50A for ; Tue, 28 Oct 2003 15:18:02 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by lorax.kcilink.com (Postfix) with ESMTP id 68DD43E53 for ; Tue, 28 Oct 2003 14:18:03 -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 18910-01-2 for ; Tue, 28 Oct 2003 14:18:03 -0500 (EST) Received: from lorax.kciLink.com (localhost [127.0.0.1]) by lorax.kcilink.com (Postfix) with ESMTP id E2B753E3D for ; Tue, 28 Oct 2003 14:18:02 -0500 (EST) Received: (from news@localhost) by lorax.kciLink.com (8.12.9p2/8.12.9/Submit) id h9SJI21l020938 for pgsql-performance@postgresql.org; Tue, 28 Oct 2003 14:18:02 -0500 (EST) (envelope-from news) To: pgsql-performance@postgresql.org Path: not-for-mail From: Vivek Khera Newsgroups: ml.postgres.performance Subject: Re: Very Poor Insert Performance Date: Tue, 28 Oct 2003 14:18:02 -0500 Organization: Khera Communications, Inc., Rockville, MD Lines: 15 Message-ID: References: <200310271626.52839.damien.dougan@mobilecohesion.com> <871xsyy2zb.fsf@stark.dyndns.tv> NNTP-Posting-Host: yertle.kcilink.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: lorax.kcilink.com 1067368682 19562 216.194.193.105 (28 Oct 2003 19:18:02 GMT) X-Complaints-To: daemon@kciLink.com NNTP-Posting-Date: Tue, 28 Oct 2003 19:18:02 +0000 (UTC) User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Portable Code, berkeley-unix) Cancel-Lock: sha1:FhJVPMxhmciLW59CWpBolTgGu04= X-Virus-Scanned: by amavisd-new at kciLink.com X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/715 X-Sequence-Number: 4463 >>>>> "GS" == Greg Stark writes: GS> At a guess the foreign key relationships you're enforcing don't GS> have indexes to help them. If they do perhaps postgres isn't using GS> them. Or, if you do have indexes, they've bloated to be way too big and are overwhelming your shared buffers. Reindex them and see it it helps. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: khera@kciLink.com Rockville, MD +1-240-453-8497 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/