pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ilia Kantor <ilia@obnovlenie.ru>
Cc: pgsql-performance@postgresql.org
Subject: Re: Bitmap scan when it is not needed
Date: Sun, 28 Aug 2005 18:49:07 -0400
Message-ID: <28244.1125269347@sss.pgh.pa.us> (raw)
In-Reply-To: <auto-000558491990@umail.ru>
References: <auto-000558491990@umail.ru>

"Ilia Kantor" <ilia@obnovlenie.ru> writes:
> Maybe a quickfix is possible for cases when 0 records is found to stop
> reading other AND elements..

Not sure how useful this will be in practice (since the planner tends
not to bother ANDing unselective indexes at all), but it's easy enough
to do ... so I did it.

			regards, tom lane



view thread (2+ messages)

Message-ID: <28244.1125269347@sss.pgh.pa.us>
Permalink:  ../28244.1125269347@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28244.1125269347@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ilia@obnovlenie.ru
  Subject: Re: Bitmap scan when it is not needed
  In-Reply-To: <28244.1125269347@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox