Indexes and querys

From: Josué Maldonado <josue(at)lamundial(dot)hn>
To: pgsql-general(at)postgresql(dot)org
Subject: Indexes and querys
Date: 2003-10-22 21:29:56
Message-ID: 3F96F6D4.2070200@lamundial.hn
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello list,

I have a table with an index in a foreing key field (int4), if I do
select from pedido where prvdfk=3, explain says is using seq scan to
access it. I noticed all my querys runs in that way, except in the
querys where the PK field (unique type index) is included in the where
clause.

Is this the rigth way that postgresql works ?, is there something I
should check in my configuration?

According to select version() this is the my one:
PostgreSQL 7.3.4 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.2
20020903 (Red Hat Linux 8.0 3.2-7)

Thanks in advance

--
Josué Maldonado.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2003-10-22 21:51:03 Re: Adding fields on the fly
Previous Message Dann Corbit 2003-10-22 21:05:53 Re: database files