efficiency of wildcards at both ends

Поиск
Список
Период
Сортировка
Hi all

I'm curious how is wildcards at both ends implemented, e.g. LIKE '%str%'
How efficient is it if that's the only search criteria against a large table? how much does indexing the column help and roughly how much more space is needed for the index?

if the answers are too long, please point me to the relavant text =D 

thanks

--
Zhongshi (Sam) Jiang
sammyjiang721@gmail.com

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: 32-bit libpq with 64-bit server
Следующее
От: utsav
Дата:
Сообщение: Re: RETURNING MORE THAN ONE CUSTOM TYPE FROM FUNCTION