Re: choose_bitmap_and again (was Re: [PERFORM] StrangelyVariable Query Performance)

From: "Simon Riggs" <simon(at)2ndquadrant(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgreSQL(dot)org>, "PostgreSQL Performance" <pgsql-performance(at)postgreSQL(dot)org>, "Steve" <cheetah(at)tanabi(dot)org>
Subject: Re: choose_bitmap_and again (was Re: [PERFORM] StrangelyVariable Query Performance)
Date: 2007-04-14 08:24:07
Message-ID: 1176539048.3635.316.camel@silverbirch.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches pgsql-performance

On Fri, 2007-04-13 at 18:48 -0400, Tom Lane wrote:
> Has anyone got any thoughts about the best way to do this?

I don't think we know enough to pick one variant that works in all
cases. This requires more detailed analysis of various cases.

Lets put in a parameter to allow the options to be varied. The purpose
would be to look for some more information that allows us to see what
the pre-conditions would be for each heuristic.

Initially, we say this is a beta-only feature and may be withdrawn in
the production version.

Why did it not pick my index? is a tiring game, but one that must be
played. I hope that the ORDER LIMIT optimization should reduce the
number of indexes chosen to maintain sort order in the output.

--
Simon Riggs
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dann Corbit 2007-04-14 09:04:24 Re: choose_bitmap_and again (was Re: [PERFORM] Strangely Variable Query Performance)
Previous Message Peter Eisentraut 2007-04-14 08:06:50 Re: build/install xml2 when configured with libxml

Browse pgsql-patches by date

  From Date Subject
Next Message Dann Corbit 2007-04-14 09:04:24 Re: choose_bitmap_and again (was Re: [PERFORM] Strangely Variable Query Performance)
Previous Message Peter Eisentraut 2007-04-14 08:06:50 Re: build/install xml2 when configured with libxml

Browse pgsql-performance by date

  From Date Subject
Next Message Simon Riggs 2007-04-14 08:27:25 Re: Finding bloated indexes?
Previous Message Alvaro Herrera 2007-04-13 23:24:09 Re: [HACKERS] choose_bitmap_and again (was Re: Strangely Variable Query Performance)