Re: Tsearch2 really slower than ilike ?

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: Tsearch2 really slower than ilike ?
Дата
Msg-id 419A250C.9020300@commandprompt.com
обсуждение исходный текст
Ответ на Re: Tsearch2 really slower than ilike ?  (Hervé Piedvache <herve@elma.fr>)
Ответы Re: Tsearch2 really slower than ilike ?  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-performance
>>or more.
>>
>>
>
>Yes site name ... is company names or web site name ... so not many word in
>each record ... but I don't understand why more words are more efficient than
>few words ?? sorry ...
>
>
Well there are a couple of reasons but the easiest one is index size.
An ILIKE btree index is in general going to be much smaller than a gist
index.
The smaller the index the faster it is searched.

Sincerely,

Joshua D. Drake



>Regards,
>
>


--
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-667-4564 - jd@commandprompt.com - http://www.commandprompt.com
PostgreSQL Replicator -- production quality replication for PostgreSQL


Вложения

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

Предыдущее
От: "James Gunzelman"
Дата:
Сообщение: Efficient way to remove OID data
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Tsearch2 really slower than ilike ?