Re: Mini improvement: statement_cost_limit

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Hans-Jürgen Schönig <postgres(at)cybertec(dot)at>
Cc: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Mini improvement: statement_cost_limit
Date: 2008-08-02 18:35:06
Message-ID: 4894A8DA.2060406@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hans-Jürgen Schönig wrote:
> hello ...
>
> i picked up csaba nagy's idea and implemented a very simple yet very
> useful extension.
> i introduced a GUC called statement_cost_limit which can be used to
> error out if a statement is expected to be too expensive.
> the advantage over statement_timeout is that we are actually able to
> error out before spending many seconds which is killed by
> statement_timeout anyway.
>
>
>

You clearly have far more faith in the cost estimates than I do.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Meskes 2008-08-02 18:38:46 Re: WITH RECUSIVE patches 0723
Previous Message Hans-Jürgen Schönig 2008-08-02 18:19:31 Mini improvement: statement_cost_limit