Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id D0B3E9FB28D for ; Tue, 28 Nov 2006 19:44:56 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 55363-09 for ; Tue, 28 Nov 2006 19:44:36 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from momjian.us (momjian.us [70.90.9.53]) by postgresql.org (Postfix) with ESMTP id B874E9FB28A for ; Tue, 28 Nov 2006 19:44:46 -0400 (AST) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id kASNijt09203; Tue, 28 Nov 2006 18:44:45 -0500 (EST) From: Bruce Momjian Message-Id: <200611282344.kASNijt09203@momjian.us> Subject: Re: RES: Priority to a mission critical transaction In-Reply-To: <4939.1164740825@sss.pgh.pa.us> To: Tom Lane Date: Tue, 28 Nov 2006 18:44:45 -0500 (EST) CC: carlos.reimer@opendb.com.br, "Jim C. Nasby" , Brad Nicholson , pgsql-performance@postgresql.org X-Mailer: ELM [version 2.4ME+ PL123] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/257 X-Sequence-Number: 22027 Someone should ask them to remove the article. --------------------------------------------------------------------------- Tom Lane wrote: > "Carlos H. Reimer" writes: > > There is an article about "Lowering the priority of a PostgreSQL query" > > (http://weblog.bignerdranch.com/?p=11) that explains how to use the > > setpriority() to lower PostgreSQL processes. > > > I?m wondering how much effective it would be for i/o bound systems. > > That article isn't worth the electrons it's written on. Aside from the > I/O point, there's a little problem called "priority inversion". See > the archives for (many) past discussions of nice'ing backends. > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 7: You can help support the PostgreSQL project by donating at > > http://www.postgresql.org/about/donate -- Bruce Momjian bruce@momjian.us EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. +