Re: Issue for partitioning with extra check constriants
В списке pgsql-performance по дате отправления:
| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера