FullTextSearch - UNION individual indexes or concatenated columns index ? - Mailing list pgsql-performance

From Jeremy Ferrante
Subject FullTextSearch - UNION individual indexes or concatenated columns index ?
Date
Msg-id 965AA5440EAC094E9F722519E285ACED01F177ABC3@WWCEXCHANGE.web.web.com
Whole thread Raw
Responses Re: FullTextSearch - UNION individual indexes or concatenated columns index ?  (Josh Berkus <josh@agliodbs.com>)
List pgsql-performance

I’m attempting to implement full-text search and am torn between two techniques:

 

1) Create multiple GIN indexes on columns I’m going to search against and UNION the results

or

2) Create one concatenated column GIN index consisting of the columns that will be searched.

 

Is there any performance considerations that may make one technique better than the other?

 

Thanks for insight,

Jer



Attention:
The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any system and destroy any copies.

pgsql-performance by date:

Previous
From: Scott Carey
Date:
Subject: Re: Performance problems with DISTINCT ON
Next
From: Robert Haas
Date:
Subject: Re: Speed while runnning large transactions.