Re: Controlling CPU Usage in PostgreSQL

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: Controlling CPU Usage in PostgreSQL
Дата
Msg-id 44CFAEE8.7010900@commandprompt.com
обсуждение исходный текст
Ответ на Re: Controlling CPU Usage in PostgreSQL  ("Aaron Bono" <postgresql@aranya.com>)
Список pgsql-admin
> 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/



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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Controlling CPU Usage in PostgreSQL
Следующее
От: "Aaron Bono"
Дата:
Сообщение: Re: Controlling CPU Usage in PostgreSQL