From: Peter Eisentraut <peter_e@gmx.net>
To: Subra Radhakrishnan <subra100@yahoo.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Inconsistent usage of Index
Date: Sat, 9 Jun 2001 18:17:05 +0200 (CEST)
Message-ID: <Pine.LNX.4.30.0106091815350.778-100000@peter.localdomain> (raw)
In-Reply-To: <20010609151802.49099.qmail@web13806.mail.yahoo.com>
Subra Radhakrishnan writes:
> I have attached file explaining inconsistent usage of
> Index.
In the first case the system thinks it's getting 22 rows back, in the
second 713. Depending on how many rows are in the table and whether those
estimates are close, choosing a sequential scan in the second case is
probably okay.
--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter
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-sql@postgresql.org
Cc: peter_e@gmx.net, subra100@yahoo.com
Subject: Re: Inconsistent usage of Index
In-Reply-To: <Pine.LNX.4.30.0106091815350.778-100000@peter.localdomain>
References: <20010609151802.49099.qmail@web13806.mail.yahoo.com> <Pine.LNX.4.30.0106091815350.778-100000@peter.localdomain>
* 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