Re: How Many Partitions are Good Performing

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: How Many Partitions are Good Performing
Дата
Msg-id 20180109005021.GD76418@paquier.xyz
обсуждение исходный текст
Ответ на Re: How Many Partitions are Good Performing  ("Rakesh Kumar" <rakeshkumar464@mail.com>)
Список pgsql-general
On Tue, Jan 09, 2018 at 12:54:18AM +0100, Rakesh Kumar wrote:
> Can somebody tell us how many partitions are good number without
> impacting the performance. We are hearing around a thousand, is that a
> limit. Do we have plan to increase the number of partitions for a
> table. We would appreciate if somebody can help us with this?

What matters here is that the bottleneck comes from the planner which
uses basically a O(N^2) algorithm to evaluate all the partitions, so a
too high number causes planning time to increase dramatically. In
Postgres 11, things get improved with more partition-wise logics.
--
Michael

Вложения

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

Предыдущее
От: "Rakesh Kumar"
Дата:
Сообщение: Re: How Many Partitions are Good Performing
Следующее
От: Márcio A. Sepp
Дата:
Сообщение: help with generation_series in pg10