Re: Query preformence

From: Ferdinand Smit <ferdinand(at)telegraafnet(dot)nl>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Query preformence
Date: 2001-11-08 09:44:10
Message-ID: 200111080947.fA89lFd13455@server9.telegraafnet.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Hi Tom,

> > In postgres there is no relationship between de debug_print_query and the
> > show_query_stats, so you can't monitor the query preformance.
>
> What? This seems completely redundant with the existing logging tools.

True, but i can't see any usable function for the statics because they are
logged without any relation. You don't know what is causing the preformence
problem. We want to monitor the duration of query's so we can create smart
indexed and smart query's. With postgres this is imposible at the moment.

In the progres the debug is only for logging and the statics only for
statics, so you always have redundant code if don't want to change the whole
code.

But, do you have a better idea?

Ferdinand Smit

Yes, i'm a newbe so i choose a simple solution without disturbing any code ;-)

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Marko Kreen 2001-11-08 11:55:06 pgcrypto bug
Previous Message Tom Lane 2001-11-08 04:33:37 Re: Fix for 'extern "C"' indenting