low priority postmaster threads?

Поиск
Список
Период
Сортировка
От Chris Storah
Тема low priority postmaster threads?
Дата
Msg-id C05E7DA1218ED411BF8A00105AC95A8E017AF32F@SV-CNTRMAIL
обсуждение исходный текст
Ответы Re: low priority postmaster threads?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Is there any way in psql to connect to a database and reduce the run
priority of the child thread it kicks off ?
i.e. equivalent of 'nice' on the thread?

From first looks at the code, it seems to fork off the process and there is
a pid that can be niced.
If an extra run level parameter is passed in to the PQExec interface
(defaulted for compatibility with older code), would it work?

This assumes that there isn't already a mechanism to reduce the priority of
specific queries.

What I am looking for is a postgres system that runs 100 users or so at
'full speed', and major day long queries at a 'when idle' priority.


Cheers,
Chris



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: floating point representation
Следующее
От: "Hiroshi Inoue"
Дата:
Сообщение: RE: Re: [ADMIN] v7.1b4 bad performance