X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 76DB052A84 for ; Thu, 7 Apr 2005 13:17:07 +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 49082-03 for ; Thu, 7 Apr 2005 12:16:56 +0000 (GMT) Received: from mx5.net.nih.gov (mailfwd.nih.gov [165.112.130.36]) by svr1.postgresql.org (Postfix) with ESMTP id C0FF453AB1 for ; Thu, 7 Apr 2005 13:16:54 +0100 (BST) Received: from mx5.net.nih.gov (localhost [127.0.0.1]) by mx5.net.nih.gov (8.12.10/8.11.6) with ESMTP id j37CGvas019186 for ; Thu, 7 Apr 2005 08:16:57 -0400 Received: from [128.231.145.14] (holmes.nhgri.nih.gov [128.231.145.14]) by mx5.net.nih.gov (8.12.10/8.11.6) with ESMTP id j37CGvKd019183; Thu, 7 Apr 2005 08:16:57 -0400 In-Reply-To: <42552244.5050603@archonet.com> References: <20050407114136.17B7E53AA5@svr1.postgresql.org> <42552244.5050603@archonet.com> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: "'PostgreSQL'" , dpandey@secf.com From: Sean Davis Subject: Re: Table PARTITION Date: Thu, 7 Apr 2005 08:16:16 -0400 To: Richard Huxton X-Mailer: Apple Mail (2.619.2) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.005 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/74 X-Sequence-Number: 20967 This is a totally selfish question, but IF someone has a few minutes, could he/she explain why table partitioning is such an important tool? Thanks, Sean On Apr 7, 2005, at 8:06 AM, Richard Huxton wrote: > Dinesh Pandey wrote: >> How can we create oracle's table with partition in Postgres. (How to >> create >> Table partion in postgres) >> CREATE TABLE invoices >> (invoice_no NUMBER NOT NULL, invoice_date DATE NOT NULL, >> comments VARCHAR2(500)) >> PARTITION BY RANGE (invoice_date) >> (PARTITION invoices_q1 VALUES LESS THAN (TO_DATE('01/04/2001', >> 'DD/MM/YYYY')) TABLESPACE users > > By hand, I'm afraid (although I think people are looking into this > feature for version 8.1) > > There's lots of discussion in the mail archives about how people are > handling this. You're basically looking at some combination of > - partial/conditional indexes > - unions > - inheritance > > -- > Richard Huxton > Archonet Ltd > > ---------------------------(end of > broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly