index or not

Started by Armand Turpelalmost 16 years ago2 messagesgeneral
Jump to latest
#1Armand Turpel
aturpel@mnhn.lu

Hi,
Does it make sense to create indexes on a table which only contains
bigint fields? Is there any performance gain?

Example:

Table x_rel
id_a bigint
id_b bigint
id_c bigint
id_d bigint

Thanks for replying,
Armand

#####################################################################################
Scanned by MailMarshal - Marshal's comprehensive email content security solution.
#####################################################################################

#2Vincenzo Romano
vincenzo.romano@notorand.it
In reply to: Armand Turpel (#1)
R: index or not

It strongly depends from the queries. Usually yes

Il giorno 2010 5 15 16:20, "Armand Turpel" <aturpel@mnhn.lu> ha scritto:

Hi,
Does it make sense to create indexes on a table which only contains bigint
fields? Is there any performance gain?

Example:

Table x_rel
id_a bigint
id_b bigint
id_c bigint
id_d bigint

Thanks for replying,
Armand

#####################################################################################
Scanned by MailMarshal - Marshal's comprehensive email content security
solution.
#####################################################################################

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general