Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id C83009FC14C for ; Fri, 20 Jul 2007 15:12:31 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 50719-01 for ; Fri, 20 Jul 2007 15:12:29 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id E826F9FC15B for ; Fri, 20 Jul 2007 15:12:28 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l6KICQxA011836; Fri, 20 Jul 2007 14:12:27 -0400 (EDT) To: Dan Harris cc: PostgreSQL Performance Subject: Re: Simple query showing 270 hours of CPU time In-reply-to: <46A0EE6B.6040707@drivefaster.net> References: <46A0D836.5090806@drivefaster.net> <10727.1184949725@sss.pgh.pa.us> <46A0EE6B.6040707@drivefaster.net> Comments: In-reply-to Dan Harris message dated "Fri, 20 Jul 2007 11:18:35 -0600" Date: Fri, 20 Jul 2007 14:12:26 -0400 Message-ID: <11835.1184955146@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/267 X-Sequence-Number: 25951 Dan Harris writes: > Since you mentioned the number of semops is distressingly high, does this > indicate a tuning problem? More like an old-version problem. We've done a lot of work on concurrent performance since 8.0.x, and most likely you are hitting one of the bottlenecks that have been solved since then. regards, tom lane