Re: Is there a way to limit CPU usage per user - Mailing list pgsql-general

From Csaba Nagy
Subject Re: Is there a way to limit CPU usage per user
Date
Msg-id 1139587859.24321.427.camel@coppola.muc.ecircle.de
Whole thread Raw
In response to Re: Is there a way to limit CPU usage per user  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Is there a way to limit CPU usage per user
List pgsql-general
> You do know that statement_timeout can be changed freely via SET,
> right?  One way to attack this would be for the clients that are
> issuing known long-running queries to do "SET statement_timeout"
> to boost up their allowed runtime.

How does this apply to autovacuum's long running vacuum commands ? Cause
I have one table where the last vacuum took 15 hours :-)

It's true that now after migration to 8.1 I do the vacuuming manually
for that one and disabled it for autovacuum, but I still could have
other tables which would vacuum in more than 5 minutes (that would be my
statement_timeout for ordinary processes).

Cheers,
Csaba.



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Is there a way to limit CPU usage per user
Next
From: Tom Lane
Date:
Subject: Re: Is there a way to limit CPU usage per user