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 15:38:43
Message-ID: k7dva3$v2f$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 07/11/2012 16:34, François Beausoleil wrote:
> Le 2012-11-07 à 10:21, Ivan Voras a écrit :

>> Barring that, what would you suggest for efficiently handing a classic
>> structure like this (meaning documents with tags)?
>
> Can you structure it as the "classic" many to many pattern:
>
> documents <-> taggings <-> tags

Yes, that is as you said, a classic solution to a classic problem :)

If needed, this is the way I will do it, but for now I'm asking if
there's something that can be done to avoid creating another table or
two. The reason I'm asking is that I've often found that PostgreSQL can
do much more than I thought it can.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Florent Guillaume 2012-11-07 15:54:40 Re: Unique values across a table of arrays - documents and tags
Previous Message François Beausoleil 2012-11-07 15:34:21 Re: Unique values across a table of arrays - documents and tags