From: Peter Eisentraut <peter_e@gmx.net>
To: Nichlas Löfdahl <crotalus@acc.umu.se>
To: pgsql-admin@postgresql.org
Subject: Re: log_min_cost_statement
Date: Tue, 13 Apr 2004 20:46:05 +0200
Message-ID: <200404132046.05893.peter_e@gmx.net> (raw)
In-Reply-To: <20040413152601.GA22288@shaka.acc.umu.se>
References: <20040413152601.GA22288@shaka.acc.umu.se>
Nichlas Löfdahl wrote:
> Would it be possible to have an option "log_min_cost_statement",
> similar to "log_min_duration_statement" except that it logs all
> statement that has an minimum cost estimated by the planner? I think
> it would be easier to find unoptimized queries that way.
If you believe that the costs have any absolute meaning at all then they
should be proportional to the execution time, so the existing setting
should be enough.
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: peter_e@gmx.net, crotalus@acc.umu.se
Subject: Re: log_min_cost_statement
In-Reply-To: <200404132046.05893.peter_e@gmx.net>
References: <20040413152601.GA22288@shaka.acc.umu.se> <200404132046.05893.peter_e@gmx.net>
* 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