From: Doug McNaught <doug@wireboard.com>
To: Reiner Dassing <dassing@wettzell.ifag.de>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] Index of a table is not used (in any case)
Date: 23 Oct 2001 00:00:24 -0400
Message-ID: <m3d73fhup3.fsf@belphigor.mcnaught.org> (raw)
References: <3BD3BFE0.55FC3EC0@wettzell.ifag.de>
Reiner Dassing <dassing@wettzell.ifag.de> writes:
> Hello PostgreSQl Users!
>
> PostSQL V 7.1.1:
>
> I have defined a table and the necessary indices.
> But the index is not used in every SELECT. (Therefore, the selects are
> *very* slow, due to seq scan on
> 20 million entries, which is a test setup up to now)
Perennial first question: did you VACUUM ANALYZE?
-Doug
--
Let us cross over the river, and rest under the shade of the trees.
--T. J. Jackson, 1863
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: doug@wireboard.com, dassing@wettzell.ifag.de, pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] Index of a table is not used (in any case)
In-Reply-To: <m3d73fhup3.fsf@belphigor.mcnaught.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