Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: Inconsistent usage of Index - Mailing list pgsql-sql

From Peter Eisentraut
Subject Re: Inconsistent usage of Index
Date
Msg-id [email protected]
Whole thread Raw
In response to Inconsistent usage of Index  (Subra Radhakrishnan <[email protected]>)
List pgsql-sql
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   [email protected]   http://funkturm.homeip.net/~peter



pgsql-sql by date:

Previous
From: Subra Radhakrishnan
Date:
Subject: Inconsistent usage of Index
Next
From: Peter Eisentraut
Date:
Subject: Re: Index usage