Re: Making a tree with "millions and millions" of dynamic nodes

Поиск
Список
Период
Сортировка
От Arjen van der Meijden
Тема Re: Making a tree with "millions and millions" of dynamic nodes
Дата
Msg-id 000a01c3bab8$2379a7b0$3ac15e91@acm
обсуждение исходный текст
Ответ на Making a tree with "millions and millions" of dynamic nodes  (Christian Fowler <google@NOSPAM.gravesweeper.com>)
Список pgsql-general
> Christian Fowler wrote:
>
> So it seems Materialized Path is my only option, however I am
> concerned about LIKE performance for the right hand side of
> the tree, where the path is 8digits x 6 levels = 48 chars.
> Should I be concerned? I need split-second real-time
> performance, and can't imagine it will be as fast the Nested
> Set arithmatic approach.

Perhaps the contrib/ltree-stuff is interesting if you're going to do
materialized paths.
It's an indexable tree-format for postgresql based on the materialized
paths (so it seems at least).

I haven't really tested it, but wanted to point it out to you.

Regards,

Arjen van der Meijden




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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: Making a tree with "millions and millions" of dynamic
Следующее
От: Mark Harrison
Дата:
Сообщение: are cursors necessary?