Re: Issue for partitioning with extra check constriants

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Issue for partitioning with extra check constriants
Дата
Msg-id 9984.1286235400@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Issue for partitioning with extra check constriants  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-performance
Josh Berkus <josh@agliodbs.com> writes:
>> And your point is?  The design center for the current setup is maybe 5
>> or 10 partitions.  We didn't intend it to be used for more partitions
>> than you might have spindles to spread the data across.

> Where did that come from?  It certainly wasn't anywhere when the feature
> was introduced.  Simon intended for this version of partitioning to
> scale to 100-200 partitions (and it does, provided that you dump all
> other table constraints), and partitioning has nothing to do with
> spindles.  I think you're getting it mixed up with tablespaces.

[ shrug... ]  If Simon thought that, he obviously hadn't done any
careful study of the planner's performance.  You can maybe get that far
as long as the partitions have just very simple constraints, but
anything nontrivial won't scale.  As you found out.

            regards, tom lane

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

Предыдущее
От: Jeremy Harris
Дата:
Сообщение: Re: How does PG know if data is in memory?
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Issue for partitioning with extra check constriants