From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gerardo Herzig <gherzig@fmed.uba.ar>
Cc: pgsql-sql@postgresql.org
Subject: Re: index not being used. Why?
Date: Fri, 09 Mar 2007 11:29:26 -0500
Message-ID: <321.1173457766@sss.pgh.pa.us> (raw)
In-Reply-To: <45F176CA.3050107@fmed.uba.ar>
References: <45F176CA.3050107@fmed.uba.ar>
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
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: tgl@sss.pgh.pa.us, gherzig@fmed.uba.ar
Subject: Re: index not being used. Why?
In-Reply-To: <321.1173457766@sss.pgh.pa.us>
* 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