Re: Questions on Tags table schema - Mailing list pgsql-performance

From Ron Mayer
Subject Re: Questions on Tags table schema
Date
Msg-id 46AE4CBF.5090707@cheapcomplexdevices.com
Whole thread Raw
In response to Questions on Tags table schema  ("Jay Kang" <arrival123@gmail.com>)
List pgsql-performance
Jay Kang wrote:
> Hello,
>
> I'm currently trying to decide on a database design for tags in my web
> 2.0 application. The problem I'm facing is that I have 3 separate tables
> i.e. cars, planes, and schools. All three tables need to interact with
> the tags, so there will only be one universal set of tags for the three
> tables.

It strikes me that some tsearch2 ts_vector like datatype might
work well for this; depending on the types of queries you're doing.

pgsql-performance by date:

Previous
From: Nis Jørgensen
Date:
Subject: Re: Slow query with backwards index scan
Next
From: Lew
Date:
Subject: Re: multicolumn index column order