Re: Large # of rows in query extremely slow, not using

Josh Berkus <josh@agliodbs.com>

From: Josh Berkus <josh@agliodbs.com>
To: Stephen Crowley <stephen.crowley@gmail.com>, pgsql-performance@postgresql.org
Date: 2004-09-17T17:40:18Z
Lists: pgsql-performance
Stephen,

> "  ->  Seq Scan on island_history  (cost=0.00..417867.13 rows=292274
> width=83) (actual time=346759.000..346759.000 rows=10 loops=1)"

Take a look at your row comparisons.   When was the last time you ran ANALYZE?

-- 
Josh Berkus
Aglio Database Solutions
San Francisco