Re: Issue for partitioning with extra check constriants

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Josh Berkus <josh@xxxxxxxxxxxx> 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

-- 
Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux