Re: index problems (again)

From: Geoff Winkless <pgsqladmin(at)geoff(dot)dj>
To: Postgres General <pgsql-general(at)postgresql(dot)org>
Cc: Victor Yegorov <vyegorov(at)gmail(dot)com>
Subject: Re: index problems (again)
Date: 2016-03-07 14:27:17
Message-ID: CAEzk6feDpRM9wWMh66Va2R3JDN7BmtCOxGxkUOQXF60fm+T2Vg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Geoff Winkless 2016-03-07 14:47:13 Re: index problems (again)
Previous Message Geoff Winkless 2016-03-07 14:18:12 Re: index problems (again)