pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andreas Kretschmer <akretschmer@spamfence.net>
Cc: pgsql-general@postgresql.org
Subject: Re: [ADMIN] Priorities for users or queries?
Date: Sun, 11 Feb 2007 12:37:57 -0500
Message-ID: <1890.1171215477@sss.pgh.pa.us> (raw)
In-Reply-To: <20070211084716.GB6652@KanotixBox>
References: <45CE69B5.40204@araisoft.com>
	<376dd1950702110031i40d41133n85c6010d3f81d903@mail.gmail.com>
	<20070211084716.GB6652@KanotixBox>

Andreas Kretschmer <akretschmer@spamfence.net> writes:
> You can retrieve the PID and the username of running querys in
> pg_stat_activity. Perhaps, with this knowledge and an untrusted language
> you can run system-commands such renice to change the priority of
> running postmaster-processes.

See "priority inversion" in the archives.

			regards, tom lane



view thread (30+ messages)  latest in thread

Message-ID: <1890.1171215477@sss.pgh.pa.us>
Permalink:  ../1890.1171215477@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1890.1171215477@sss.pgh.pa.us

 · 

reply

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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, akretschmer@spamfence.net, pgsql-general@postgresql.org
  Subject: Re: [ADMIN] Priorities for users or queries?
  In-Reply-To: <1890.1171215477@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