Question about indexes

From: "Stefano Bonnin" <stefano(dot)bonnin(at)comai(dot)to>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Question about indexes
Date: 2004-11-15 10:38:29
Message-ID: 003101c4caff$3ec3ff40$0501a8c0@comai04
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Only a simple question

I have a table with

primarykey(field1,field2,field3)

and I want to execure a query like

select * from my_table where field1 = some_value

if I define an index on field1, I increase the query performace or not?

Thanks

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dawid Kuroczko 2004-11-15 10:53:26 Re: Question about indexes
Previous Message Martijn van Oosterhout 2004-11-15 10:35:21 Re: OID