Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 23A5364FC85 for ; Tue, 9 Dec 2008 23:47:28 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 37045-10 for ; Tue, 9 Dec 2008 23:47:25 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.232]) by mail.postgresql.org (Postfix) with ESMTP id 3D61864FC57 for ; Tue, 9 Dec 2008 23:47:25 -0400 (AST) Received: by rv-out-0506.google.com with SMTP id b25so232179rvf.43 for ; Tue, 09 Dec 2008 19:47:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=CX9f47PgjEp8aIKod+6vgyxiVvAhe5P2vhT+U4mV/tU=; b=DRTjNwh/2OyD0jLeOZ+pzfBk+VNlFHmbp9QmZ0lfBu4VLQQ+HvC4wlLBYQF1O1tSKg poK9WRCaFvdevsu/TY388goAxZny+EAi7b9wgOGkFU43lOplPf38JREoOZhk/6Iw5vBQ v9uM9OIqeJFNK09GR/CgOv5yUHw3VGB8WVC2s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=oHaWlYnxDQu9VNdskrMH9EB7rKDwhQZbuAQjIYuRqwj687fyMP0Bk7MsDrattA3qwA 5jjdPu8d3oNgJnZu7CTcIge160y/3gMoah3bZf0xaXx7AFypVaCpXn2pRaZC3OctJrQw VNc3zFHVxdq/qgPIMBEte6S1zGYMyusAfMo/M= Received: by 10.114.126.1 with SMTP id y1mr625591wac.201.1228880843486; Tue, 09 Dec 2008 19:47:23 -0800 (PST) Received: by 10.114.167.5 with HTTP; Tue, 9 Dec 2008 19:47:23 -0800 (PST) Message-ID: Date: Tue, 9 Dec 2008 20:47:23 -0700 From: "Scott Marlowe" To: "Vincent Predoehl" Subject: Re: Degenerate Performance Problem Cc: pgsql-performance@postgresql.org In-Reply-To: <1D3981CE-3820-4BC7-8A25-0B380610DF8B@phoenixwebgroup.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1D3981CE-3820-4BC7-8A25-0B380610DF8B@phoenixwebgroup.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200812/107 X-Sequence-Number: 32143 On Tue, Dec 9, 2008 at 8:16 PM, Vincent Predoehl wrote: > I have postgresql 8.3.5 installed on MacOS X / Darwin. I remember setting > shared memory buffer parameters and that solved the initial performance > problem, but after running several tests, the performance goes way, way > down. Restarting the server doesn't seem to help. > I'm using pqxx to access the database, if that makes any difference. Could be a vacuuming issue. What does vacuum verbose; on the database say?