Re: plan time of MASSIVE partitioning ...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: plan time of MASSIVE partitioning ...
Дата
Msg-id 22483.1283524854@sss.pgh.pa.us
обсуждение исходный текст
Ответ на plan time of MASSIVE partitioning ...  (PostgreSQL - Hans-Jürgen Schönig<postgres@cybertec.at>)
Ответы Re: plan time of MASSIVE partitioning ...  (PostgreSQL - Hans-Jürgen Schönig<postgres@cybertec.at>)
Список pgsql-hackers
PostgreSQL - Hans-Jürgen Schönig <postgres@cybertec.at> writes:
> imagine a system with, say, 1000 partitions (heavily indexed) or so. the time taken by the planner is already fairly
heavyin this case.
 

As the fine manual points out, the current scheme for managing
partitioned tables isn't intended to scale past a few dozen partitions.

I think we'll be able to do better when we have an explicit
representation of partitioning, since then the planner won't
have to expend large amounts of effort reverse-engineering knowledge
about how an inheritance tree is partitioned.  Before that happens,
it's not really worth the trouble to worry about such cases.
        regards, tom lane


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

Предыдущее
От: Pavel Golub
Дата:
Сообщение: Re: regclass without error?
Следующее
От: PostgreSQL - Hans-Jürgen Schönig
Дата:
Сообщение: Re: plan time of MASSIVE partitioning ...