Re: Use of index for 50% column restriction

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Use of index for 50% column restriction
Дата
Msg-id 20160614213500.GB15349@momjian.us
обсуждение исходный текст
Ответ на Re: Use of index for 50% column restriction  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Список pgsql-hackers
On Tue, Jun 14, 2016 at 03:24:12PM -0500, Jim Nasby wrote:
> On 6/8/16 4:36 PM, Bruce Momjian wrote:
> >Just a follow-up, but even with a randomized correlation order, it seems
> >25% restrictivity generates a Bitmap Index Scan:
> 
> AFAIK we do the bitmap heap scan in heap order, thereby eliminating the
> effect of correlation?

High correlation would still cause us to access fewer heap pages than
random data.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+                     Ancient Roman grave inscription +



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: 10.0
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: 10.0