Re: log_duration is redundant, no?

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: log_duration is redundant, no?
Дата
Msg-id 20060909204541.GA14361@svana.org
обсуждение исходный текст
Ответ на Re: log_duration is redundant, no?  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Sat, Sep 09, 2006 at 06:33:10PM +0200, Peter Eisentraut wrote:
> Alvaro Herrera wrote:
> > Bruce Momjian wrote:
> > > #2, I think, but I am confused if you don't know the query, how
> > > valuable is the log_duration.
> >
> > Statistics?
>
> I doubt that there is a statistical merit to calculating aggregate
> values over the duration of an anonymous set of queries.

Eh? Sure there is, if you want totals per database, number of queries
and where they were spread over the day. A perfectly reasonable example
was given in this thread.

If you're a service provider you don't care about what queries the
users are doing, just how many resources they're taking.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: @ versus ~, redux
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Fixed length data types issue