Re: index not being used. Why?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gerardo Herzig <gherzig(at)fmed(dot)uba(dot)ar>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: index not being used. Why?
Date: 2007-03-09 16:29:26
Message-ID: 321.1173457766@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-sql

Gerardo Herzig <gherzig(at)fmed(dot)uba(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Gerardo Herzig 2007-03-09 16:39:35 Re: index not being used. Why?
Previous Message Tom Lane 2007-03-09 16:27:56 Re: Pg_dump and bytaA

Browse pgsql-sql by date

  From Date Subject
Next Message Steve Midgley 2007-03-09 16:38:26 Re: A form of inheritance with PostgreSQL
Previous Message Andrew Sullivan 2007-03-09 16:02:11 Re: index not being used. Why?