faster join access?

Поиск
Список
Период
Сортировка
От Doug Silver
Тема faster join access?
Дата
Msg-id Pine.LNX.4.21.0204251517360.23049-100000@danzig.sd.quantified.net
обсуждение исходный текст
Список pgsql-novice
I need to access the same information across two tables but the date
changes as different intervals are selected (this is for a web page).  So,
I thought creating a view would help speed things up, but upon doing an
'explain', I realized that's not the case.  So, would it be best to create
a trigger that updates a separate table whenever information is changed on
the other two?  That way I can do an easy select on table #3 without the
join.

Thanks!

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Doug Silver
Network Manager
Urchin Corporation    http://www.urchin.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


В списке pgsql-novice по дате отправления:

Предыдущее
От: Lewis Bergman
Дата:
Сообщение: How to do a strange constraint
Следующее
От: AarniRuuhimäki / Megative Tmi / KYMI.com
Дата:
Сообщение: Fwd: Strange behaviour