Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 49A559FB20F for ; Tue, 28 Nov 2006 21:20:34 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 45340-04 for ; Tue, 28 Nov 2006 21:20:29 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from floppy.pyrenet.fr (floppy.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id 643219FB1CE for ; Tue, 28 Nov 2006 21:20:29 -0400 (AST) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id A299830AF7; Wed, 29 Nov 2006 02:20:27 +0100 (MET) From: Ron Mayer X-Newsgroups: pgsql.performance Subject: Re: RES: Priority to a mission critical transaction Date: Tue, 28 Nov 2006 17:20:38 -0800 Organization: Hub.Org Networking Services Lines: 34 Message-ID: <456CE066.50803@cheapcomplexdevices.com> References: <4939.1164740825@sss.pgh.pa.us> <200611282344.kASNijt09203@momjian.us> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org To: Bruce Momjian User-Agent: Icedove 1.5.0.7 (X11/20061013) In-Reply-To: <200611282344.kASNijt09203@momjian.us> To: pgsql-performance@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/258 X-Sequence-Number: 22028 Before asking them to remove it, are we sure priority inversion is really a problem? I thought this paper: http://www.cs.cmu.edu/~bianca/icde04.pdf did a pretty good job at studying priority inversion on RDBMs's including PostgreSQL on various workloads (TCP-W and TCP-C) and found that the benefits of setting priorities vastly outweighed the penalties of priority inversion across all the databases and all the workloads they tested. Bruce Momjian wrote: > 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 >