Postgres 8.5 partitioning

Lists: pgsql-admin
From: Anj Adu <fotographs(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Postgres 8.5 partitioning
Date: 2010-04-23 20:27:07
Message-ID: t2xf2fd819a1004231327w1e84f47ci4446f85b77b4ae73@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

We are planning on deploying postgres 8.4 in a month or two to
production. From the expected feature list for 8.5, I have seen one on
simplified table partitioning.

Will 8.5 have table partitions as first-class objects (i.e not
inheritted tables..but partitions)

Also..will 8.5 have a migration option to future releases without
dump/restore (e.g 8.5 to 9 )

If so, we may consider waiting.

Thank you

Sriram


From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: Anj Adu <fotographs(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Postgres 8.5 partitioning
Date: 2010-04-23 20:35:27
Message-ID: 1272054927.21340.19.camel@hp-laptop2.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

On Fri, 2010-04-23 at 13:27 -0700, Anj Adu wrote:
> We are planning on deploying postgres 8.4 in a month or two to
> production. From the expected feature list for 8.5,

It is already 9.0.

> I have seen one on simplified table partitioning.
>
> Will 8.5 have table partitions as first-class objects (i.e not
> inheritted tables..but partitions)

No. That patch was not added to 9.0:

https://commitfest.postgresql.org/action/patch_view?id=266

> Also..will 8.5 have a migration option to future releases without
> dump/restore (e.g 8.5 to 9 )

There is no such built-in functionality. However, probably pg_migrator
will be available for 9.0, too.

To sum up: 9.0 has big features, like replication, etc. IMHO it won't be
production ready for a few months after it is released (yeah, I'm a bit
optimistic here). So you should stick to 8.4 for now.
--
Devrim GÜNDÜZ
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
PostgreSQL RPM Repository: http://yum.pgrpms.org
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz


From: Greg Smith <greg(at)2ndquadrant(dot)com>
To: Anj Adu <fotographs(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Postgres 8.5 partitioning
Date: 2010-04-26 16:01:29
Message-ID: 4BD5B8D9.60704@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

Anj Adu wrote:
> Will 8.5 have table partitions as first-class objects (i.e not
> inheritted tables..but partitions)
>

What was originally going to be 8.5 was renumbered to be 9.0. None of
the planned partitioning improvements are included in it. The changes
planned there aren't a large as you seem to think they are though.
Partitions will still be inherited tables, the improvements are just
going to reduce the amount of setup/trigger code you need to write and
make management tasks easier.

--
Greg Smith 2ndQuadrant US Baltimore, MD
PostgreSQL Training, Services and Support
greg(at)2ndQuadrant(dot)com www.2ndQuadrant.us