| От | Gregory Stark |
|---|---|
| Тема | Re: How to ENABLE SQL capturing??? |
| Дата | |
| Msg-id | 87vebjqv6m.fsf@oxford.xeocode.com обсуждение исходный текст |
| Ответ на | Re: How to ENABLE SQL capturing??? ("Joshua D. Drake" <jd@commandprompt.com>) |
| Ответы |
Re: How to ENABLE SQL capturing???
|
| Список | pgsql-performance |
"Joshua D. Drake" <jd@commandprompt.com> writes: > If I recall correctly, it is because syslog is blocking. Are you sure it isn't just that syslog fsyncs its log files after every log message? I don't think the individual syslogs are synchronous but if syslog falls behind the buffer will fill and throttle the sender. If your Postgres data is on the same device as the syslogs those fsyncs will probably cause a big slowdown directly on Postgres's I/O as well. You can turn off the fsyncs in syslog by putting a - before the filename. -- Gregory Stark EnterpriseDB http://www.enterprisedb.com
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера