Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 3E8E3475BD7 for ; Tue, 21 Jan 2003 16:46:16 -0500 (EST) Received: from megazone.bigpanda.com (megazone.bigpanda.com [63.150.15.178]) by postgresql.org (Postfix) with ESMTP id C57F1475425 for ; Tue, 21 Jan 2003 16:46:15 -0500 (EST) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id 1FAA2D605; Tue, 21 Jan 2003 13:46:17 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id 114DB5C04; Tue, 21 Jan 2003 13:46:17 -0800 (PST) Date: Tue, 21 Jan 2003 13:46:17 -0800 (PST) From: Stephan Szabo To: Seth Robertson Cc: Subject: Re: Postgres 7.3.1 poor insert/update/search performance In-Reply-To: <200301212120.h0LLKn820463@winwood.sysdetect.com> Message-ID: <20030121134242.Q84028-100000@megazone23.bigpanda.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/215 X-Sequence-Number: 862 On Tue, 21 Jan 2003, Seth Robertson wrote: > The postgresql.conf file is default (my sysadmin nuked all of my > changes when he upgraded to 7.3.1--grr) and there are some shared > memory configs: kernel.sem = 250 32000 100 128, kernel.shmmax = > 2147483648, kernel.shmmni = 100, kernel.shmmax = 134217728 The > WAL is not seperated (but see below). You almost certainly want to raise shared_buffers from the default (64?) to say 1k-10k. I'm not sure how much that'll help but it should help some. > A "vacuum analyze" is performed between the write phase and the read > phase. However, for your analysis pleasure, here are the results > of a full verbose analyze and some explain results (both before and after). BTW: what does explain analyze (rather than plain explain) show?