pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Aaron Bono <postgresql@aranya.com>
Cc: Thomas Pundt <thomas.pundt@rp-online.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: Controlling CPU Usage in PostgreSQL
Date: Tue, 01 Aug 2006 12:43:36 -0700
Message-ID: <44CFAEE8.7010900@commandprompt.com> (raw)
In-Reply-To: <bf05e51c0608011159h74ac3a44wdb98b8ab32803275@mail.gmail.com>
References: <bf05e51c0607310106w415fe34ep4b5046984cd11341@mail.gmail.com>
	<200607311101.36629.mlists@rp-online.de>
	<bf05e51c0608011159h74ac3a44wdb98b8ab32803275@mail.gmail.com>


> Bottom line, I am skeptical if this will really achieve my goal - to 
> have the functions run with low priority.
> 
> Is there a way to tell PostgreSQL to change the nice value of a 
> particular connection?  I guess I could use renice but that means a lot 
> of shell scripting to determine what PID to change - I am not a shell 
> script expert and would rather not pursue that option.

You can't really do what you want, and I am skeptical that it would be a 
good idea anyway. Honestly it sounds like you have an implementation 
problem.

Joshua D. Drake

-- 

    === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
    Providing the most comprehensive  PostgreSQL solutions since 1997
              http://www.commandprompt.com/





view thread (8+ messages)  latest in thread

Message-ID: <44CFAEE8.7010900@commandprompt.com>
Permalink:  ../44CFAEE8.7010900@commandprompt.com/
Also on:    postgresql.org/message-id/44CFAEE8.7010900@commandprompt.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: jd@commandprompt.com, postgresql@aranya.com, thomas.pundt@rp-online.de
  Subject: Re: Controlling CPU Usage in PostgreSQL
  In-Reply-To: <44CFAEE8.7010900@commandprompt.com>
  References: <bf05e51c0607310106w415fe34ep4b5046984cd11341@mail.gmail.com> <200607311101.36629.mlists@rp-online.de> <bf05e51c0608011159h74ac3a44wdb98b8ab32803275@mail.gmail.com> <44CFAEE8.7010900@commandprompt.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