From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jodi Kanter <jkanter@virginia.edu>
Cc: Joe Conway <mail@joeconway.com>
Cc: Postgres Admin List <pgsql-admin@postgresql.org>
Subject: Re: indexes not being used!
Date: Fri, 21 Mar 2003 13:02:49 -0500
Message-ID: <14197.1048269769@sss.pgh.pa.us> (raw)
In-Reply-To: <007701c2efc3$f5bed260$de138f80@virginia.edu>
References: <004101c2efc0$65e6d0a0$de138f80@virginia.edu>
<3E7B3365.5090603@joeconway.com>
<007701c2efc3$f5bed260$de138f80@virginia.edu>
Jodi Kanter <jkanter@virginia.edu> writes:
> I apologize if this is the wrong list. I have posted explain analyzes below.
Given the small size of the tables, I think the planner is doing the
right thing not to use indexes. Seqscans are probably less I/O until
the tables get a lot bigger.
The bitwise-and tests are not indexable anyway... you might want to
reconsider that data representation, if you were hoping that the bit
conditions would be useful for indexing.
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, jkanter@virginia.edu, mail@joeconway.com
Subject: Re: indexes not being used!
In-Reply-To: <14197.1048269769@sss.pgh.pa.us>
References: <004101c2efc0$65e6d0a0$de138f80@virginia.edu> <3E7B3365.5090603@joeconway.com> <007701c2efc3$f5bed260$de138f80@virginia.edu> <14197.1048269769@sss.pgh.pa.us>
* 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