Re: performance of IN (subquery) - Mailing list pgsql-general

From Gaetano Mendola
Subject Re: performance of IN (subquery)
Date
Msg-id 412F9881.1060404@bigfoot.com
Whole thread Raw
In response to Re: performance of IN (subquery)  (Greg Stark <gsstark@mit.edu>)
List pgsql-general
Greg Stark wrote:

> Ideally I would want a guarantee that every query would *always* result in the
> same plan. Once I've tested them and approved the plans I want to know that
> only those approved plans will ever run, and I want to be present and be able
> to verify new plans before they go into production.

What you are saying is "never run an ANALYZE" or if you do it you have to re-test
all your plans. "*always*" the same plan is a non sense because the plan depends on the
data distribution, do you test your plans for each given histogram slice ?

> I doubt I'm going to convince anyone today...

For sure not me.


Regards
Gaetano Mendola






pgsql-general by date:

Previous
From: Vivek Khera
Date:
Subject: Re: Deadlocks caused by referential integrity checks
Next
From: "Matthew T. O'Connor"
Date:
Subject: Re: pg_autovacuum start-script