Re: RES: Priority to a mission critical transaction - Mailing list pgsql-performance

From Tom Lane
Subject Re: RES: Priority to a mission critical transaction
Date
Msg-id 4939.1164740825@sss.pgh.pa.us
Whole thread Raw
In response to RES: Priority to a mission critical transaction  ("Carlos H. Reimer" <carlos.reimer@opendb.com.br>)
Responses Re: RES: Priority to a mission critical transaction
List pgsql-performance
"Carlos H. Reimer" <carlos.reimer@opendb.com.br> 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

pgsql-performance by date:

Previous
From: "Carlos H. Reimer"
Date:
Subject: RES: Priority to a mission critical transaction
Next
From: Andreas Kostyrka
Date:
Subject: Re: RES: Priority to a mission critical transaction