Re: Process priority. - Mailing list pgsql-sql

From Tom Lane
Subject Re: Process priority.
Date
Msg-id 28823.1111104361@sss.pgh.pa.us
Whole thread Raw
In response to Process priority.  (Theo Galanakis <Theo.Galanakis@lonelyplanet.com.au>)
List pgsql-sql
Theo Galanakis <Theo.Galanakis@lonelyplanet.com.au> writes:
>     I wrote a C program that can be called through postgres via stored
> procedures. It allows you to change the current postmaster process priority.

You are aware that that's widely considered either useless or
counterproductive?  Renice-ing one backend seldom gives helpful results,
because (a) what usually matters more than CPU usage is I/O, and renice
doesn't change I/O priorities; (b) priority inversion results in
higher-priority backends blocking behind the low-priority one whenever
it's managed to acquire a lock.
        regards, tom lane


pgsql-sql by date:

Previous
From: Andrew Hammond
Date:
Subject: Re: Consecutive row count query
Next
From: Theo Galanakis
Date:
Subject: Re: Process priority.