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 73CD15513E for ; Sun, 20 Mar 2005 04:48:10 +0000 (GMT) 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 60769-08 for ; Sun, 20 Mar 2005 04:48:00 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 12EB95458B for ; Sun, 20 Mar 2005 04:47:59 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j2K4lrWP004508; Sat, 19 Mar 2005 23:47:53 -0500 (EST) To: Alvaro Herrera Cc: PFC , Josh Berkus , pgsql-performance@postgresql.org Subject: Re: What needs to be done for real Partitioning? In-reply-to: <20050320042917.GA25831@dcc.uchile.cl> References: <200503191202.38089.josh@agliodbs.com> <20050319225624.GA8467@dcc.uchile.cl> <3404.1111277153@sss.pgh.pa.us> <20050320042917.GA25831@dcc.uchile.cl> Comments: In-reply-to Alvaro Herrera message dated "Sun, 20 Mar 2005 00:29:17 -0400" Date: Sat, 19 Mar 2005 23:47:53 -0500 Message-ID: <4507.1111294073@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/385 X-Sequence-Number: 11090 Alvaro Herrera writes: > Hmm. You are right, but without that we won't be able to enforce > uniqueness on the partitioned table (we could only enforce it on each > partition, which would mean we can't partition on anything else than > primary keys if the tables have one). IMHO this is something to > consider. Well, partitioning on the primary key would be Good Enough for 95% or 99% of the real problems out there. I'm not excited about adding a large chunk of complexity to cover another few percent. regards, tom lane