Re: Index order ignored after `is null` in query - Mailing list pgsql-performance

From Jim Nasby
Subject Re: Index order ignored after `is null` in query
Date
Msg-id 5466B690.5000705@BlueTreble.com
Whole thread Raw
In response to Re: Index order ignored after `is null` in query  (Artūras Lapinskas <arturaslape@gmail.com>)
List pgsql-performance
On 11/7/14, 5:14 AM, Artūras Lapinskas wrote:
> thanks for your time and answer. Not treating IS NULL as equality operator definitely helps me to make more sense out
ofprevious explains. 

You can also try creating a partial index WHERE b IS NULL. WHERE b IS NOT NULL can also sometimes be useful, though for
differentreasons. 
--
Jim Nasby, Data Architect, Blue Treble Consulting
Data in Trouble? Get it in Treble! http://BlueTreble.com


pgsql-performance by date:

Previous
From: Jim Nasby
Date:
Subject: Re: pgtune + configurations with 9.3
Next
From: Mark Kirkwood
Date:
Subject: Re: pgtune + configurations with 9.3