Re: [HACKERS] psql nested queries with 2000+ records

Поиск
Список
Период
Сортировка
От Vadim B. Mikheev
Тема Re: [HACKERS] psql nested queries with 2000+ records
Дата
Msg-id 3513CBA7.5671F8CF@sable.krasnoyarsk.su
обсуждение исходный текст
Ответ на psql nested queries with 2000+ records  (Coronach <coronach@hill-b-073.resnet.purdue.edu>)
Список pgsql-hackers
Coronach wrote:
>
> I have noted with 2000+ records in a table (using a btree unique index on
> the primary key, btw) performance of a query takes 15+ minutes to respond.
>
> The query is in the structure of this
>
> select foo from bar where foo in (select foo from bar where bazzfoo like
> 'Word%');

EXPLAIN select foo from bar where bazzfoo like 'Word%';

Is index used ?

Vadim

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

Предыдущее
От: t-ishii@sra.co.jp (Tatsuo Ishii)
Дата:
Сообщение: Re: [HACKERS] 6.3p1 CHANGES
Следующее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [HACKERS] 6.3p1 CHANGES