From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Martin Pihlak <martin(dot)pihlak(at)gmail(dot)com>, Volkan YAZICI <yazicivo(at)ttmail(dot)com>, pgsql-patches(at)postgresql(dot)org, postgres(at)cybertec(dot)at |
Subject: | Re: stored procedure stats in collector |
Date: | 2008-05-14 05:51:28 |
Message-ID: | 482A7DE0.4090700@hagander.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Tom Lane wrote:
> 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.
Where exactly is taht problem? In getrusage()? We have a getrusage() in
src/port that works fine on Windows, no?
> 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.
Those argument makes a lot of sense, though. A bloated pgstats file can
be a real problem. And I don't see that information as being all that
helpful anyway.
//Magnus
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-05-14 06:05:05 | Re: stored procedure stats in collector |
Previous Message | Alvaro Herrera | 2008-05-14 04:33:13 | Re: libpq object hooks |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-05-14 06:05:05 | Re: stored procedure stats in collector |
Previous Message | Alvaro Herrera | 2008-05-14 04:33:13 | Re: libpq object hooks |