pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Gamache <cgg007@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Postmaster hogs CPU
Date: Wed, 5 May 2004 13:03:55 -0700 (PDT)
Message-ID: <20040505200355.43021.qmail@web13807.mail.yahoo.com> (raw)
In-Reply-To: <1083773198.21180.464.camel@camel>

When I run an query (that I have identified as expensive, and non-critical), I
would like to be able to take its priority down a few notches to allow the
standard every-day tasks of the DB to run unhindered. As it stands, postmasters
elbow each other out for processor time, and it seems like one expensive query
can bring other DB functions to a crawl. 

Hardware : Dual P4 Xeon 2.8GHz; 1 GB RAM; ULTRA320 RAID 10 with an ext3
filesystem
PostgreSQL 7.4.2

What can be done to allow for smarter preemption? Could I do anything at the OS
level to throttle that particular postmaster's process? I'm running (IMO) a 
balanced config, but there's always room for improvement. Its that oddball
query that comes around once every so often that causes the problem.

CG


	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 



view thread (7+ messages)  latest in thread

Message-ID: <20040505200355.43021.qmail@web13807.mail.yahoo.com>
Permalink:  ../20040505200355.43021.qmail@web13807.mail.yahoo.com/
Also on:    postgresql.org/message-id/20040505200355.43021.qmail@web13807.mail.yahoo.com

 · 

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: cgg007@yahoo.com
  Subject: Re: Postmaster hogs CPU
  In-Reply-To: <20040505200355.43021.qmail@web13807.mail.yahoo.com>
  References: <1083773198.21180.464.camel@camel> <20040505200355.43021.qmail@web13807.mail.yahoo.com>

* 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