Re: GIN Index for low cardinality

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема Re: GIN Index for low cardinality
Дата
Msg-id CAMkU=1xEFJnhZJxtNHTOBknwrHFFfqGvGSEd=Dp2uW8nOhQenA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: GIN Index for low cardinality  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-general
On Fri, Oct 26, 2018 at 12:27 PM Jeff Janes <jeff.janes@gmail.com> wrote:

Here is a real-world example from one of my databases where each value is about 17 characters long, and is present about 20 times:

gin: 411 MB
btree: 2167 MB
hash: 2159 MB

For what it is worth, that was 9.6 with freshly rebuilt indexes.

On 11.0 with freshly rebuilt indices, the hash index does get a bit smaller:

gin: 411 MB
btree: 2167 MB
hash: 1864 MB

Cheers,

Jeff

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

Предыдущее
От: Christoph Moench-Tegeder
Дата:
Сообщение: Re: rw_redis_fdw: SQL Errors when statement is within a function
Следующее
От: Yuxia Qiu
Дата:
Сообщение: Question about partition table