From: Franck Routier <franck.routier@axege.com>
To: pgsql-performance@postgresql.org
Subject: Drawbacks of create index where is not null ?
Date: Wed, 10 Oct 2012 19:06:23 +0200
Message-ID: <5075AB0F.5030005@axege.com> (raw)
Hi,
I have pretty large tables, with columns that might never receive any
data, or always receive data, based on the customer needs.
The index on these columns are really big, even if the column is never
used, so I tend to add a "where col is not null" clause on those indexes.
What are the drawbacks of defining my index with a "where col is not
null" clause ?
Franck
Attachments:
smime.p7s (application/pkcs7-signature, 4.4K) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: franck.routier@axege.com
Subject: Re: Drawbacks of create index where is not null ?
In-Reply-To: <5075AB0F.5030005@axege.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox