From: Mike G <mike@thegodshalls.com>
To: Markus Bertheau <twanger@bluetwanger.de>
Cc: mike@thegodshalls.com
Cc: pgsql-admin@postgresql.org
Subject: Re: statistics collector: number of function calls
Date: Tue, 13 Jul 2004 20:35:39 -0500
Message-ID: <20040714013539.GA3003@localhost.localdomain> (raw)
In-Reply-To: <1089706053.2717.0.camel@teetnang>
References: <1089644918.3246.14.camel@dicaprio.akademie1.de>
<1089686603.28592.10.camel@localhost.localdomain>
<1089706053.2717.0.camel@teetnang>
I believe you are correct. I will check my logs later. If you have access to the code you could add individual sequences within each procedures and use those as counters.
On Tue, Jul 13, 2004 at 10:07:33AM +0200, Markus Bertheau wrote:
> В Втр, 13.07.2004, в 04:43, mike g пишет:
> > Hello,
> >
> > It is possible to enable the statements issued against the db to be
> > logged in postgresql.conf(log_statement = true). Depending on the OS
> > then you can filter the logs or maybe create a Perl script to scan the
> > logs.
>
> Does that help when functions call other functions? The second function
> will be nowhere in the logs, right?
>
> --
> Markus Bertheau <twanger@bluetwanger.de>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: mike@thegodshalls.com, twanger@bluetwanger.de
Subject: Re: statistics collector: number of function calls
In-Reply-To: <20040714013539.GA3003@localhost.localdomain>
References: <1089644918.3246.14.camel@dicaprio.akademie1.de> <1089686603.28592.10.camel@localhost.localdomain> <1089706053.2717.0.camel@teetnang> <20040714013539.GA3003@localhost.localdomain>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox