Re: controlling process priority

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: controlling process priority
Дата
Msg-id 8399.1008860972@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: controlling process priority  ("Robert B. Easter" <reaster@comptechnews.com>)
Ответы Re: controlling process priority  ("Peter T. Brown" <peter@memeticsystems.com>)
Список pgsql-sql
"Robert B. Easter" <reaster@comptechnews.com> writes:
> [ C function to nice down the backend ]

This sort of thing has been suggested before, but I've always wondered
whether it isn't counterproductive.  The trouble is priority inversion:
any time the niced backend is holding a lock on some shared
datastructure, it will be blocking the allegedly-higher-priority other
backends.
        regards, tom lane


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

Предыдущее
От: Carl van Tast
Дата:
Сообщение: Re: subselects
Следующее
От: "Josh Berkus"
Дата:
Сообщение: Re: Transaction and cascade problem