| От | Tom Lane |
|---|---|
| Тема | Re: Performance features the 4th |
| Дата | |
| Msg-id | 10854.1068066609@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Performance features the 4th (Jan Wieck <JanWieck@Yahoo.com>) |
| Ответы |
Re: Performance features the 4th
|
| Список | pgsql-hackers |
Jan Wieck <JanWieck@Yahoo.com> writes:
> Manfred Spraul wrote:
>> What about skipping the delay if there are no outstanding disk
>> operations?
> How portable is getrusage()? Could the postmaster issue that frequently
> for RUSAGE_CHILDREN and leave the result somewhere in the shared memory
> for whoever is concerned?
How would that tell you about currently outstanding operations?
Manfred's idea is interesting but AFAICS completely unimplementable
in any portable fashion. You'd have to have hooks into the kernel.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера