| От | Tom Lane |
|---|---|
| Тема | Re: syslog performance when logging big statements |
| Дата | |
| Msg-id | 8675.1215527716@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | syslog performance when logging big statements (Achilleas Mantzios <achill@matrix.gatewaynet.com>) |
| Ответы |
Re: syslog performance when logging big statements
|
| Список | pgsql-performance |
Achilleas Mantzios <achill@matrix.gatewaynet.com> writes:
> In this case, the INSERT *needs* 20 minutes to return. This is because the logging through syslog seems to severely
slowthe system.
> If instead, i use stderr, even with logging_collector=on, the same statement needs 15 seconds to return.
Hmm. There's a function in elog.c that breaks log messages into chunks
for syslog. I don't think anyone's ever looked hard at its performance
--- maybe there's an O(N^2) behavior?
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера