Re: index problems (again)

Поиск
Список
Период
Сортировка
От Geoff Winkless
Тема Re: index problems (again)
Дата
Msg-id CAEzk6feDpRM9wWMh66Va2R3JDN7BmtCOxGxkUOQXF60fm+T2Vg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: index problems (again)  (Geoff Winkless <pgsqladmin@geoff.dj>)
Ответы Re: index problems (again)  (Geoff Winkless <pgsqladmin@geoff.dj>)
Re: index problems (again)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On 7 March 2016 at 14:18, I wrote:
> That assumes that I've not completely misunderstood, of course :)

Always a dangerous assumption, I'm rapidly learning.

The very next section:

   Constraints on columns to the right of these columns are checked
   in the index, so they save visits to the table proper, but they do not
   reduce the portion of the index that has to be scanned.

So it seems that it should in fact be usable after all. So I'm still
stumped as to why the (scdate,sc_id) index isn't used :(

Geoff


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

Предыдущее
От: Geoff Winkless
Дата:
Сообщение: Re: index problems (again)
Следующее
От: Geoff Winkless
Дата:
Сообщение: Re: index problems (again)