Re: indexes multicolumn

Поиск
Список
Период
Сортировка
От Jean-Yves F. Barbier
Тема Re: indexes multicolumn
Дата
Msg-id 20110531163047.22f37f9c@anubis.defcon1
обсуждение исходный текст
Ответ на Re: indexes multicolumn  (Michael Wood <esiotrot@gmail.com>)
Список pgsql-novice
On Tue, 31 May 2011 15:47:45 +0200, Michael Wood <esiotrot@gmail.com> wrote:


...
> If you run:
>
> explain analyze select name from test2 where major = const and minor = const;
>
> and
>
> explain analyze select name from test2 where minor = const and major = const;
>
> you will see that the query planner is clever enough to see that they
> are the same.

I was almost sure about that:)
Thank Michael
JY
--
And miles to go before I sleep.
        -- Robert Frost

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

Предыдущее
От: Michael Wood
Дата:
Сообщение: Re: indexes multicolumn
Следующее
От: Mark Wimer
Дата:
Сообщение: Re: Create GEOM Column