Re: Is there a way to limit CPU usage per user

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Is there a way to limit CPU usage per user
Дата
Msg-id 19899.1139587492@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Is there a way to limit CPU usage per user  (Tony Wasson <ajwasson@gmail.com>)
Ответы Re: Is there a way to limit CPU usage per user  (Csaba Nagy <nagy@ecircle-ag.com>)
Список pgsql-general
Tony Wasson <ajwasson@gmail.com> writes:
> I am also interested in being able to terminate *certain* long running
> queries. I didn't want to use statement_timeout because there are some
> queries that must run for a long time - in our case some queries that
> create summary tables. Other long running queries should be killed.

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.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Is there a way to limit CPU usage per user
Следующее
От: Csaba Nagy
Дата:
Сообщение: Re: Is there a way to limit CPU usage per user