From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Childs <blue.dragon@blueyonder.co.uk>
Cc: pgsql-performance@postgresql.org
Subject: Re: Query Priority
Date: Fri, 02 May 2003 10:23:10 -0400
Message-ID: <10241.1051885390@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.44.0305021349580.6771-100000@RedDragon.Childs>
References: <Pine.LNX.4.44.0305021349580.6771-100000@RedDragon.Childs>
Peter Childs <blue.dragon@blueyonder.co.uk> writes:
> Is there some way to give some postgres backends higher priority.
No.
> I don't think this would be too difficult to do as certainly on
> Linux the process could just be reniced and the os left to figure it out.
Read about "priority inversion" in any handy CS textbook ... renicing a
process won't buy you much if the locking mechanisms don't cooperate.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, blue.dragon@blueyonder.co.uk
Subject: Re: Query Priority
In-Reply-To: <10241.1051885390@sss.pgh.pa.us>
References: <Pine.LNX.4.44.0305021349580.6771-100000@RedDragon.Childs> <10241.1051885390@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