pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Stephen Crowley <stephen.crowley@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Re: Large # of rows in query extremely slow, not using
Date: Fri, 17 Sep 2004 10:40:18 -0700
Message-ID: <200409171040.18830.josh@agliodbs.com> (raw)
In-Reply-To: <3f71fdf1040916185113e277e6@mail.gmail.com>
References: <3f71fdf104091317515c756512@mail.gmail.com>
	<opseb0ctjmcq72hf@musicbox>
	<3f71fdf1040916185113e277e6@mail.gmail.com>

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



view thread (17+ messages)  latest in thread

Message-ID: <200409171040.18830.josh@agliodbs.com>
Permalink:  ../200409171040.18830.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200409171040.18830.josh@agliodbs.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: josh@agliodbs.com, stephen.crowley@gmail.com
  Subject: Re: Large # of rows in query extremely slow, not using
  In-Reply-To: <200409171040.18830.josh@agliodbs.com>

* 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