pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gerardo Herzig <gherzig@fmed.uba.ar>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: index not being used. Why?
Date: Fri, 09 Mar 2007 13:39:35 -0300
Message-ID: <45F18DC7.9050805@fmed.uba.ar> (raw)
In-Reply-To: <321.1173457766@sss.pgh.pa.us>
References: <45F176CA.3050107@fmed.uba.ar>
	<321.1173457766@sss.pgh.pa.us>

Someday i will ask some question that will makes you think a little 
more. You'll see.
I will populate the tables and redo the explain.

Thanks dudes!!
Gerardo

>Gerardo Herzig <gherzig@fmed.uba.ar> writes:
>  
>
>>Watch the last row of the explain command. It makes a sequential scan on the pages table, like it is not using the index on the "id" field.
>>The result itself is OK, but i will populate the tables so i think that later that sequential scan would be a problem.
>>    
>>
>
>Why do you think that the plans won't change when the tables get bigger?
>
>			regards, tom lane
>
>
>  
>




view thread (7+ messages)  latest in thread

Message-ID: <45F18DC7.9050805@fmed.uba.ar>
Permalink:  ../45F18DC7.9050805@fmed.uba.ar/
Also on:    postgresql.org/message-id/45F18DC7.9050805@fmed.uba.ar

 · 

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: gherzig@fmed.uba.ar, tgl@sss.pgh.pa.us
  Subject: Re: index not being used. Why?
  In-Reply-To: <45F18DC7.9050805@fmed.uba.ar>

* 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