Re: Unique values across a table of arrays - documents and tags

From: Ivan Voras <ivoras(at)freebsd(dot)org>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Unique values across a table of arrays - documents and tags
Date: 2012-11-07 16:00:59
Message-ID: k7e0jp$b94$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 07/11/2012 16:54, Florent Guillaume wrote:
> Maybe you could store the tags as fulltext words, query them using
> fulltext search, and use ts_stat to gather the list of words? Needs to
> be benched of course.
> You'll probably need to change the config to avoid stemming and stop words.

I have thought of that but decided not to even try because fts will also
use GIN and the combination of fts on a text field + GIN cannot possibly
be faster than just GIN on an array...

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Merlin Moncure 2012-11-07 16:34:54 Re: Query completed in < 1s in PG 9.1 and ~ 700s in PG 9.2
Previous Message Florent Guillaume 2012-11-07 15:54:40 Re: Unique values across a table of arrays - documents and tags