Re: [SQL] qurey plan and indices

Поиск
Список
Период
Сортировка
От MESZAROS Attila
Тема Re: [SQL] qurey plan and indices
Дата
Msg-id Pine.LNX.3.96.990805164433.26220A-100000@chiara.csoma.elte.hu
обсуждение исходный текст
Ответ на Re: [SQL] qurey plan and indices  (Patrick Giagnocavo <a222@redrose.net>)
Список pgsql-sql
Hi,

> LIKE '%something%'
> (which means, the field contains 'something' somewhere in the field)I should have to remove that % sign...this is not
thereal problem, bceause the subquery alone withbooth the % signs responds faster than a second.
 
I think the real problem is that, the subquery is evaluated 3575times :((((
If you see the plan of the direct manul query in my previous mailyou will see that there is no sequential search at
all....
what makes the difference????

Attila



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [SQL] qurey plan and indices
Следующее
От: MESZAROS Attila
Дата:
Сообщение: Re: [SQL] qurey plan and indices