Re: stored procedure stats in collector

From: Martin Pihlak <martin(dot)pihlak(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Neil Conway <neilc(at)samurai(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: stored procedure stats in collector
Date: 2007-09-24 17:08:04
Message-ID: 46F7EEF4.7090102@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>> It seems that the overhead is unnoticeable if disabled, very visible
>> for lightweight functions and heavy callers. Almost unnoticeable for
>> more compute intensive functions.
>
> The very high system times seem odd. Maybe you have a machine with
> slow gettimeofday()?
>

So it seems (on Ubuntu 7.04). Reran the benchmark on another system and
got more reasonable results:

"none" usr sys total
dummy 15.9 0.68 16.58
rfact 39.37 0.07 39.44
ifact 12.89 0.01 12.9

"all" usr sys total diff x
dummy 20.82 4.44 25.26 1.52
rfact 45.17 4.17 49.34 1.25
ifact 12.92 0.03 12.96 1.00

Regards,
Martin

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-09-24 17:09:31 Re: GUC variable renaming, redux
Previous Message Simon Riggs 2007-09-24 17:04:25 Re: GUC variable renaming, redux