Explicit Transaction Priority

Поиск
Список
Период
Сортировка
От Alex
Тема Explicit Transaction Priority
Дата
Msg-id 002f01c521ac$a15dfcb0$6400a8c0@alexxp
обсуждение исходный текст
Ответы Re: Explicit Transaction Priority  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-hackers
Hello..
 
I was wondering if it's possible to make postgresql backend to adjust his priority based by an parameter to begin..
 
i.e:  For linux , a "BEGIN -20"  to renice backend priority to -20..
 
This should be easy (i hope) to implement using setpriority(..) , but there are a few questions.
 
1) How portable is it ?
2) What implications does it have on the postgres backend ?
 
This could be useful in some situations (like logtables  , where I don't need instant inserts or updates..)
 
 
Thanks
    Alex

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: Manual vs automatic functionality
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: 8.0.X and the ARC patent