Re: Questions about btree_gin vs btree_gist for low cardinalitycolumns

Поиск
Список
Период
Сортировка
От Peter J. Holzer
Тема Re: Questions about btree_gin vs btree_gist for low cardinalitycolumns
Дата
Msg-id 20190531081136.e3cmqyrji4edyxve@hjp.at
обсуждение исходный текст
Ответ на Re: Questions about btree_gin vs btree_gist for low cardinalitycolumns  ("Peter J. Holzer" <hjp-pgsql@hjp.at>)
Список pgsql-general
On 2019-05-30 21:00:57 +0200, Peter J. Holzer wrote:
> Firstly, the GIN index doesn't generally index single characters. It
> uses some rule to split the field into tokens. For example, for a text
> field, it might split the field into words (possibly with some
> normalization like case-folding and stemming) for an int array it might
> use the values in the array, etc.

That was misleading: For a full text index you don't actually index the
column. You index ts_vector(columne). It is ts_vector which does the
tokenization, not the access method itself.

        hp

--
   _  | Peter J. Holzer    | we build much bigger, better disasters now
|_|_) |                    | because we have much more sophisticated
| |   | hjp@hjp.at         | management tools.
__/   | http://www.hjp.at/ | -- Ross Anderson <https://www.edge.org/>

Вложения

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

Предыдущее
От: "Lu, Dan"
Дата:
Сообщение: Postgresql backup via LVM snapshot?
Следующее
От: Thomas Kellerer
Дата:
Сообщение: Re: Questions about btree_gin vs btree_gist for low cardinalitycolumns