Re: More correlated (?) index woes - Mailing list pgsql-general

From Geoff Winkless
Subject Re: More correlated (?) index woes
Date
Msg-id CAEzk6ffDp9VDqSZo-zkijk2G1Kp+Lx1n5oeViHMmF0BDLv_Uhg@mail.gmail.com
Whole thread Raw
In response to Re: More correlated (?) index woes  (bricklen <bricklen@gmail.com>)
List pgsql-general
On 31 Mar 2016 03:02, "bricklen" <bricklen@gmail.com> wrote:
> Perhaps a partial index like "create index pa_sc_id_pidx on pa (sc_id) with (fillfactor=100) where field1 IS NULL;"
willhelp? 

Thanks for the suggestion.

It might, but the problem with that is there's (something like)
field2-16 which are used in similar queries.

I'll stick with enable_seqscan=off, it seems to be doing the trick;
thanks though.

Geoff


pgsql-general by date:

Previous
From: margrit drescher
Date:
Subject: Re: Postgres 9.4.4/9.4.6: plpython2/3 intallation issues on a Windows 7 machine
Next
From: "Pavlov, Vladimir"
Date:
Subject: Re: Multixacts wraparound monitoring