X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 56CD0D1F1F8 for ; Wed, 5 May 2004 22:43:03 -0300 (ADT) 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 36225-10 for ; Wed, 5 May 2004 22:42:40 -0300 (ADT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id B6405D1F24C for ; Wed, 5 May 2004 22:42:36 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i461gYIE019570; Wed, 5 May 2004 21:42:34 -0400 (EDT) To: Gaetano Mendola Cc: Chris Gamache , pgsql-admin@postgresql.org Subject: Re: Postmaster hogs CPU In-reply-to: <40999045.2030502@bigfoot.com> References: <1083773198.21180.464.camel@camel> <20040505200355.43021.qmail@web13807.mail.yahoo.com> <40999045.2030502@bigfoot.com> Comments: In-reply-to Gaetano Mendola message dated "Thu, 06 May 2004 03:09:25 +0200" Date: Wed, 05 May 2004 21:42:34 -0400 Message-ID: <19569.1083807754@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200405/53 X-Sequence-Number: 13369 Gaetano Mendola writes: > You can basically renice the process that is performing the query. However, that's unlikely to do anything very pleasant, since you'll have priority-inversion problems. "nice" has no idea when the process is holding a lock that someone else wants ... regards, tom lane