From: Tom Lane <tgl@sss.pgh.pa.us>
To: carlos.reimer@opendb.com.br
Cc: Jim C. Nasby <jim@nasby.net>
Cc: Brad Nicholson <bnichols@ca.afilias.info>
Cc: pgsql-performance@postgresql.org
Subject: Re: RES: Priority to a mission critical transaction
Date: Tue, 28 Nov 2006 14:07:05 -0500
Message-ID: <4939.1164740825@sss.pgh.pa.us> (raw)
In-Reply-To: <PEEPKDFEHHEMKBBFPOOKMEAIDKAA.carlos.reimer@opendb.com.br>
References: <PEEPKDFEHHEMKBBFPOOKMEAIDKAA.carlos.reimer@opendb.com.br>
"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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, carlos.reimer@opendb.com.br, jim@nasby.net, bnichols@ca.afilias.info
Subject: Re: RES: Priority to a mission critical transaction
In-Reply-To: <4939.1164740825@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox