Re: BRIN INDEX value

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: BRIN INDEX value
Дата
Msg-id CAA4eK1+R2snN09_7b9TVgY-Ke6T8Z+oZz+pVU5ULxofeWTo33w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BRIN INDEX value  (Tatsuo Ishii <ishii@postgresql.org>)
Ответы Re: BRIN INDEX value  (Tatsuo Ishii <ishii@postgresql.org>)
Список pgsql-hackers
On Fri, Sep 4, 2015 at 10:03 AM, Tatsuo Ishii <ishii@postgresql.org> wrote:
>
> I have looked into your patch and am a little bit worried because it
> calls RelationGetNumberOfBlocks() which is an expensive function.
> I think there are two ways to avoid it.
>
> 1) fall back to your former patch. However it may break existing
>    behavior what you said. I think there's very little chance it
>    actually happens because IndexBuildHeapRangeScan() is only used by
>    brin (I confirmed this). But Alvaro said some patches may be it's
>    customers. Robert, Amit, Can you please confirm this?
>

In earlier version of parallel_seqscan patch, heap_setscanlimits() was being
used, but now altogether a different mechanism is used.


With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com

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

Предыдущее
От: Petr Jelinek
Дата:
Сообщение: Re: Freeze avoidance of very large table.
Следующее
От: Fujii Masao
Дата:
Сообщение: gin_fuzzy_search_limit and postgresql.conf.sample