Re: Setting "nice" values

From: Jim Nasby <decibel(at)decibel(dot)org>
To: Madison Kelly <linux(at)alteeve(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Setting "nice" values
Date: 2006-11-06 04:27:48
Message-ID: D78EEA00-E5D9-40BE-9096-DF36F7A8A9C3@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Nov 2, 2006, at 9:14 AM, Madison Kelly wrote:
> I've got a script (perl, in case it matters) that I need to run once
> a month to prepare statements. This script queries and updates the
> database a *lot*. I am not concerned with the performance of the SQL
> calls so much as I am about the impact it has on the server's load.
>
> Is there a way to limit queries speed (ie: set a low 'nice' value on
> a query)? This might be an odd question, or I could be asking the
> question the wrong way, but hopefully you the idea. :)

The BizGres folks have been working on resource queuing, which will
eventually do what you want. Take a look at the BizGres mailing list
archives for more info.
--
Jim Nasby jim(at)nasby(dot)net
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Madison Kelly 2006-11-06 13:10:12 Re: Setting "nice" values
Previous Message Gene 2006-11-06 01:33:55 Re: Slow functional indexes?