Re: Setting "nice" values - Mailing list pgsql-performance

From Jim Nasby
Subject Re: Setting "nice" values
Date
Msg-id D78EEA00-E5D9-40BE-9096-DF36F7A8A9C3@decibel.org
Whole thread Raw
In response to Setting "nice" values  (Madison Kelly <linux@alteeve.com>)
List 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@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)



pgsql-performance by date:

Previous
From: Gene
Date:
Subject: Re: Slow functional indexes?
Next
From: Madison Kelly
Date:
Subject: Re: Setting "nice" values