the cost of logging statements

Поиск
Список
Период
Сортировка
От Marcin Krol
Тема the cost of logging statements
Дата
Msg-id 4908672E.3010203@gmail.com
обсуждение исходный текст
Список pgsql-novice
So I turned this option on:

log_statement = 'all'

..and it logs queries nicely to PostgreSQL log files. It's great for
diagnostics & query optimization, so I'm thinking loudly - how costly in
terms of performance would it be to have it turned on on a production
system?

Does PostgreSQL do a sync on getting smth to log (like Linux syslog)?

If not, would the cost of that be high (apart from obvious
considerations with disk space)?

Regards,
Marcin Krol




В списке pgsql-novice по дате отправления:

Предыдущее
От: Alan Hodgson
Дата:
Сообщение: Re: FOREIGN KEY AND INDEXEX
Следующее
От: "A B"
Дата:
Сообщение: postgres user can connect but no one else