Re: Optimizer misses big in 10.4 with BRIN index

Поиск
Список
Период
Сортировка
От Emre Hasegeli
Тема Re: Optimizer misses big in 10.4 with BRIN index
Дата
Msg-id CAE2gYzwxkaudNt9S5cxSZv1pdcLhJOj4kHbc3p_ASSYZAdsKDQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Optimizer misses big in 10.4 with BRIN index  (Arcadiy Ivanov <arcadiy@gmail.com>)
Список pgsql-hackers
> So I basically spent most of the time trying to create a reproducible case
> and I can say I failed. I can however reproduce this with specific large
> data set with specific data distribution, but not an artificial one.

The query plans posted that has the statistics prefer Bitmap Index
Scan.  This is not reproduction of the originally posted case.

> ** Wait... What??? "Rows Removed by Index Recheck: 1643390" but data is
> almost sequential! Let's take a look at it.

I don't think it has anything to do with query planning.  Have you
tried "pages_per_range" option of BRIN?


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

Предыдущее
От: Cynthia Shang
Дата:
Сообщение: Re: Allow COPY's 'text' format to output a header
Следующее
От: Tom Lane
Дата:
Сообщение: libpq should not look up all host addresses at once