Re: Storing a tree
От | Antonio Fiol Bonnín |
---|---|
Тема | Re: Storing a tree |
Дата | |
Msg-id | 3BED42FE.B52E65B7@w3ping.com обсуждение исходный текст |
Ответ на | Storing a tree (Antonio Fiol Bonnín <fiol@w3ping.com>) |
Ответы |
Re: Storing a tree
Re: Storing a tree Re: Storing a tree |
Список | pgsql-general |
If you consider the approach using multiple trees, it may have quite a good performance even for something like a threaded message board, if you think of each thread as a different tree. Then trees are not enormous, and so updates would not be so slow. Performance will be poor, however, when updating very large trees. Antonio Fiol Micah Yoder wrote: > > This approach will be two to three orders of magnitude faster than the > > adjacency list model for subtree and aggregate operations. > > That's great, thanks for posting that! > > I take it this would NOT work well on things that are updated often, like > threaded Net message boards with hundreds of thousands of messages... > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org
В списке pgsql-general по дате отправления: