X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E279D329EB7 for ; Wed, 15 Sep 2004 10:17:04 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 34366-09 for ; Wed, 15 Sep 2004 09:16:53 +0000 (GMT) Received: from mail.logi-track.com (www.logi-track.com [213.239.193.212]) by svr1.postgresql.org (Postfix) with ESMTP id 91D2D329ECF for ; Wed, 15 Sep 2004 10:16:54 +0100 (BST) Received: from kingfisher.intern.logi-track.com (G75f1.g.pppool.de [80.185.117.241]) by mail.logi-track.com (Postfix) with ESMTP id A9B8A304C6; Wed, 15 Sep 2004 11:16:49 +0200 (CEST) Received: from kingfisher.intern.logi-track.com (localhost [127.0.0.1]) by kingfisher.intern.logi-track.com (Postfix) with SMTP id 50FA0AB2DE; Wed, 15 Sep 2004 11:16:45 +0200 (CEST) Date: Wed, 15 Sep 2004 11:16:44 +0200 From: Markus Schaber To: pgsql-performance@postgresql.org Subject: Re: Data Warehouse Reevaluation - MySQL vs Postgres -- Message-ID: <20040915111644.7cac2433@kingfisher.intern.logi-track.com> In-Reply-To: <20040915051003.GA32043@gp.word-to-the-wise.com> References: <20040914223333.GL56059@decibel.org> <20040915051003.GA32043@gp.word-to-the-wise.com> Organization: logi-track ag, =?ISO-8859-15?Q?z=FCrich?= X-Mailer: Sylpheed-Claws 0.9.12a (GTK+ 1.2.10; i386-pc-linux-gnu) X-Face: Nx5T&>Nj$VrVPv}sC3IL&)TqHHOKCz/|)R$i"*r@w0{*I6w; UNU_hdl1J4NI_m{IMztq=>cmM}1gCLbAF+9\#CGkG8}Y{x%SuQ>1#t:; Z(|\qdd[i]HStki~#w1$TPF}:0w-7"S\Ev|_a$K wrote: > > Is there by any chance a set of functions to manage adding and removing > > partitions? Certainly this can be done by hand, but having a set of > > tools would make life much easier. I just looked but didn't see anything > > on GBorg. >=20 > I've done a similar thing with time-segregated data by inheriting > all the partition tables from an (empty) parent table. >=20 > Adding a new partition is just a "create table tablefoo () inherits(bigta= ble)" > and removing a partition just "drop table tablefoo". But you have to add table constraints restricting the time after adding the partition? Thanks, Markus --=20 markus schaber | dipl. informatiker logi-track ag | rennweg 14-16 | ch 8001 z=FCrich phone +41-43-888 62 52 | fax +41-43-888 62 53 mailto:schabios@logi-track.com | www.logi-track.com