Re: [ADMIN] syslog slowing the database?

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: "scott.marlowe"
Дата:
Сообщение: Re: optimizing large query with IN (...)
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Cluster and vacuum performance