Re: stored procedure stats in collector

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: stored procedure stats in collector
Дата
Msg-id 10046.1210730577@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: stored procedure stats in collector  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: stored procedure stats in collector  (Magnus Hagander <magnus@hagander.net>)
Re: stored procedure stats in collector  (Martin Pihlak <martin.pihlak@gmail.com>)
Список pgsql-patches
I wrote:
> I'm starting to look through this now,

I found another fairly big problem, which is that this stuff isn't even
going to begin to compile on Windows.

What I think we should do about that is forget tracking getrusage()'s
user/system/real time and just track elapsed time.  We have the
technology to get that in a portable fashion (cf the well-proven
instrument.c code).  Such a decision would also alleviate two of the
biggest negatives of this patch, which are the runtime overhead and
the extent to which it's going to bloat the pgstats file.

Thoughts?

            regards, tom lane

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [GENERAL] Making sure \timing is on
Следующее
От: Greg Smith
Дата:
Сообщение: Re: posix advises ...