| От | Tom Lane |
|---|---|
| Тема | Re: [ADMIN] syslog slowing the database? |
| Дата | |
| Msg-id | 7688.1078937631@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [ADMIN] syslog slowing the database? (Greg Spiegelberg <gspiegelberg@cranel.com>) |
| Ответы |
Re: [ADMIN] syslog slowing the database?
|
| Список | pgsql-performance |
Greg Spiegelberg <gspiegelberg@cranel.com> writes:
> If the log and database were on the same disk I'd be okay with the
> current workaround. If the ``-'' gave me near the same performance as
> turning syslog off I'd be okay with that too. However, neither of these
> are the case so there has to be something else blocking between the two
> processes.
You could also consider not using syslog at all: let the postmaster
output to its stderr, and pipe that into a log-rotation program.
I believe some people use Apache's log rotator for this with good
results.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера