Re: Issue for partitioning with extra check constriants

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Issue for partitioning with extra check constriants
Date: 2010-10-04 18:44:26
Message-ID: 1286217866.28987.14.camel@jd-desktop.unknown.charter.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Mon, 2010-10-04 at 11:34 -0700, Josh Berkus wrote:
> > 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?

Yeah that is a bit odd. I don't recall any discussion in regards to such
a weird limitation.

> 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.

Great! that would be an excellent addition.

>
> The main reason for partitioning is ease of maintenance (VACUUM,
> dropping partitions, etc.) not any kind of I/O optimization.

Well that is certainly "a" main reason but it is not "the" main reason.
We have lots of customers using it to manage very large amounts of data
using the constraint exclusion features (and gaining from the smaller
index sizes).

Jd

--
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 509.416.6579
Consulting, Training, Support, Custom Development, Engineering
http://twitter.com/cmdpromptinc | http://identi.ca/commandprompt

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Josh Berkus 2010-10-04 18:49:43 Re: [HACKERS] MIT benchmarks pgsql multicore (up to 48)performance
Previous Message Dan Ports 2010-10-04 18:35:42 Re: MIT benchmarks pgsql multicore (up to 48)performance