Re: About index - "a query or data manipulation command

Поиск
Список
Период
Сортировка
От Ragnar Hafstað
Тема Re: About index - "a query or data manipulation command
Дата
Msg-id 1114542505.18333.5.camel@localhost.localdomain
обсуждение исходный текст
Ответ на About index - "a query or data manipulation command can use at most one index per table"  (Ying Lu <ying_lu@cs.concordia.ca>)
Список pgsql-general
On Tue, 2005-04-26 at 13:58 -0400, Ying Lu wrote:

> select * from A left join B using (id) where A.type='apple' and
> A.isExport=true;
>
> "id" is the primary key for both table A & B. If index (type, isExport)
> has been created for table A. In the above query, will this index works?

simplest is just to do an explain.

explain select * from A left join B using (id) where A.type='apple' and
  A.isExport=true;

gnari




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

Предыдущее
От: Richard_D_Levine@raytheon.com
Дата:
Сообщение: Re: UltraSPARC versus AMD
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: About index - "a query or data manipulation command can use at most one index per table"