Re: Questions on Tags table schema

Поиск
Список
Период
Сортировка
От Ron Mayer
Тема Re: Questions on Tags table schema
Дата
Msg-id 46AE4CBF.5090707@cheapcomplexdevices.com
обсуждение исходный текст
Ответ на Questions on Tags table schema  ("Jay Kang" <arrival123@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Nis Jørgensen
Дата:
Сообщение: Re: Slow query with backwards index scan
Следующее
От: Lew
Дата:
Сообщение: Re: multicolumn index column order