Re: Understanding BRIN index performance

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Understanding BRIN index performance
Дата
Msg-id CANP8+jLTp0xzv7jxAcgaXtL-NbGzv3rmtwsytgrT_60fxSZT1A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Understanding BRIN index performance  (Ivan Voras <ivoras@gmail.com>)
Ответы Re: Understanding BRIN index performance
Список pgsql-performance
On 3 October 2016 at 10:58, Ivan Voras <ivoras@gmail.com> wrote:

> I get that, my question was more about why the index scan returned 25 mil
> rows, when the pages are sequentially filled by timestamps? In my
> understading of BRIN, it should have returned a small number of pages which
> would have been filtered (and sorted) for the exact data, right?

That could be most simply explained if the distribution of your data
is not what you think it is.

--
Simon Riggs                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Ivan Voras
Дата:
Сообщение: Re: Understanding BRIN index performance
Следующее
От: Ivan Voras
Дата:
Сообщение: Re: Understanding BRIN index performance