From: Michael Fuhr <mike@fuhr.org>
To: Chris Mair <list@1006.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: lowering priority automatically at connection
Date: Thu, 25 May 2006 10:54:56 -0600
Message-ID: <20060525165456.GA70276@winnie.fuhr.org> (raw)
In-Reply-To: <1148573784.6017.26.camel@dell.home.lan>
References: <1148573784.6017.26.camel@dell.home.lan>
On Thu, May 25, 2006 at 06:16:24PM +0200, Chris Mair wrote:
> I find this very helpful:
>
> Lowering the priority of a PostgreSQL query
> http://weblog.bignerdranch.com/?p=11
>
> Now I was wondering whether one could have a
> SELECT pg_setpriority(10);
> executed automatically each time a certain user
> connects (not necessarily using psql)?
Beware that setting priorities can have unintended, adverse effects.
Use a search engine to find information about "priority inversion"
before deciding that query priorities are a good idea.
--
Michael Fuhr
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: mike@fuhr.org, list@1006.org
Subject: Re: lowering priority automatically at connection
In-Reply-To: <20060525165456.GA70276@winnie.fuhr.org>
* 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