Received: from mailout03.sul.t-online.de (mailout03.sul.t-online.com [194.25.134.81]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f59GFvE83084 for ; Sat, 9 Jun 2001 12:15:57 -0400 (EDT) (envelope-from peter_e@gmx.net) Received: from fwd05.sul.t-online.de by mailout03.sul.t-online.de with smtp id 158lOw-0005oP-02; Sat, 09 Jun 2001 18:15:50 +0200 Received: from peter.localdomain (520083510237-0001@[212.185.245.6]) by fmrl05.sul.t-online.com with esmtp id 158lOi-0mvbXsC; Sat, 9 Jun 2001 18:15:36 +0200 Date: Sat, 9 Jun 2001 18:17:05 +0200 (CEST) From: Peter Eisentraut To: Subra Radhakrishnan cc: Subject: Re: Inconsistent usage of Index In-Reply-To: <20010609151802.49099.qmail@web13806.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Sender: 520083510237-0001@t-dialin.net X-Archive-Number: 200106/140 X-Sequence-Number: 3361 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