Re: [HACKERS] Index of a table is not used (in any case) - Mailing list pgsql-sql

From Doug McNaught
Subject Re: [HACKERS] Index of a table is not used (in any case)
Date
Msg-id m3d73fhup3.fsf@belphigor.mcnaught.org
Whole thread Raw
In response to Index of a table is not used (in any case)  (Reiner Dassing <dassing@wettzell.ifag.de>)
List pgsql-sql
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


pgsql-sql by date:

Previous
From: Douglas Rafael da Silva
Date:
Subject: Re: Diferent databases on same query...
Next
From: "Steve Brett"
Date:
Subject: Re: Granting database level permissions...