CLUSTER strategy

Поиск
Список
Период
Сортировка
От Chris Gamache
Тема CLUSTER strategy
Дата
Msg-id 20040610153412.20577.qmail@web13801.mail.yahoo.com
обсуждение исходный текст
Ответ на Re: "select * from groupes" didn't display any data  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
I need an informed opinion:

The performance boost from clustering is wonderful. But, some tables would have
to clustered several times a day, since there is usually some type of "status"
column that is updated pretty regularly. Clustering is an expensive operation.
If I pulled out that column into another "child" table and linked the tables by
a foreign key to the "parent" I could update the "child" table and it wouldn't
foul up the master table's ordering at all. Create a view on the two tables,
and I'd have a relatively-stable setup as far as ordering goes, yes?

Is this adviseable? In the long-run, will it yield the results that I expect?
Did I miss any details? Should I be looking for any pitfalls?

CG




__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: "select * from groupes" didn't display any data
Следующее
От: Shanmugasundaram Doraisamy
Дата:
Сообщение: Trouble with locking tables - reg.