pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gaetano Mendola <mendola@bigfoot.com>
Cc: Chris Gamache <cgg007@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Postmaster hogs CPU
Date: Wed, 05 May 2004 21:42:34 -0400
Message-ID: <19569.1083807754@sss.pgh.pa.us> (raw)
In-Reply-To: <40999045.2030502@bigfoot.com>
References: <1083773198.21180.464.camel@camel>
	<20040505200355.43021.qmail@web13807.mail.yahoo.com>
	<40999045.2030502@bigfoot.com>

Gaetano Mendola <mendola@bigfoot.com> writes:
> You can basically renice the process that is performing the query.

However, that's unlikely to do anything very pleasant, since you'll have
priority-inversion problems.  "nice" has no idea when the process is
holding a lock that someone else wants ...

			regards, tom lane



view thread (7+ messages)  latest in thread

Message-ID: <19569.1083807754@sss.pgh.pa.us>
Permalink:  ../19569.1083807754@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19569.1083807754@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 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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mendola@bigfoot.com, cgg007@yahoo.com
  Subject: Re: Postmaster hogs CPU
  In-Reply-To: <19569.1083807754@sss.pgh.pa.us>
  References: <1083773198.21180.464.camel@camel> <20040505200355.43021.qmail@web13807.mail.yahoo.com> <40999045.2030502@bigfoot.com> <19569.1083807754@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