Re: index use - Mailing list pgsql-performance

From Josh Berkus
Subject Re: index use
Date
Msg-id 200411191227.39196.josh@agliodbs.com
Whole thread Raw
In response to index use  (Arshavir Grigorian <ag@m-cam.com>)
List pgsql-performance
Arshavir,

> I have a query that when run on similar tables in 2 different databases
> either uses the index on the column (primary key) in the where clause or
> does a full table scan. The structure of the tables is the same, except
> that the table where the index does not get used has an extra million
> rows (22mil vs 23mil).

Are both using the same version of PostgreSQL?   If so, what version?

--
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

pgsql-performance by date:

Previous
From: Josh Berkus
Date:
Subject: Re: When to bump up statistics?
Next
From: Arshavir Grigorian
Date:
Subject: Re: index use