Re: Overriding the optimizer

From: "Craig A(dot) James" <cjames(at)modgraph-usa(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Overriding the optimizer
Date: 2005-12-16 03:04:03
Message-ID: 43A22EA3.50007@modgraph-usa.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Tom Lane wrote:
> This discussion has been had before (many times) ... see the -hackers
> archives for detailed arguments. The one that carries the most weight
> in my mind is that planner hints embedded in applications will not adapt
> to changing circumstances --- the plan that was best when you designed
> the code might not be best today.

Absolutely right. But what am I supposed to do *today* if the planner makes a mistake? Shut down my web site?

Ropes are useful, but you can hang yourself with them. Knives are useful, but you can cut yourself with them. Should we ban useful tools because they cause harm to the careless?

Craig

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Craig A. James 2005-12-16 03:11:53 Re: Overriding the optimizer
Previous Message Craig A. James 2005-12-16 02:52:19 Re: Overriding the optimizer