pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-sql@postgresql.org
Subject: Re: index not being used. Why?
Date: Fri, 9 Mar 2007 11:02:11 -0500
Message-ID: <20070309160211.GA24502@phlogiston.dyndns.org> (raw)
In-Reply-To: <45F176CA.3050107@fmed.uba.ar>
References: <45F176CA.3050107@fmed.uba.ar>

On Fri, Mar 09, 2007 at 12:01:30PM -0300, Gerardo Herzig wrote:
> Hi all. I have this 2 relations

How big are they?

>   ->  Hash  (cost=9.08..9.08 rows=408 width=55)
>         ->  Seq Scan on pages  (cost=0.00..9.08 rows=408 width=55)

The planner thinks it will get 408 rows.  How big a percentage of the
table is that?  

Also, what does EXPLAIN ANALYSE say about this?

A

-- 
Andrew Sullivan  | ajs@crankycanuck.ca
If they don't do anything, we don't need their acronym.
		--Josh Hamilton, on the US FEMA



view thread (7+ messages)  latest in thread

Message-ID: <20070309160211.GA24502@phlogiston.dyndns.org>
Permalink:  ../20070309160211.GA24502@phlogiston.dyndns.org/
Also on:    postgresql.org/message-id/20070309160211.GA24502@phlogiston.dyndns.org

 · 

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-sql@postgresql.org
  Cc: ajs@crankycanuck.ca
  Subject: Re: index not being used. Why?
  In-Reply-To: <20070309160211.GA24502@phlogiston.dyndns.org>

* 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