Re: Mini improvement: statement_cost_limit

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, " Hans-Jürgen =?utf-8?q?_Sch=C3=B6nig?=" <postgres(at)cybertec(dot)at>
Subject: Re: Mini improvement: statement_cost_limit
Date: 2008-08-04 00:56:07
Message-ID: 200808031756.08221.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom,

> Wasn't this exact proposal discussed and rejected awhile back?

We rejected Greenplum's much more invasive resource manager, because it
created a large performance penalty on small queries whether or not it was
turned on. However, I don't remember any rejection of an idea as simple
as a cost limit rejection.

This would, IMHO, be very useful for production instances of PostgreSQL.
The penalty for mis-rejection of a poorly costed query is much lower than
the penalty for having a bad query eat all your CPU.

--
--Josh

Josh Berkus
PostgreSQL
San Francisco

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gustavo Tonini 2008-08-04 02:44:01 Re: Instructions for adding new catalog
Previous Message Tom Lane 2008-08-03 23:44:33 Re: unnecessary code in_bt_split