X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 61E97D7EB7 for ; Tue, 13 Sep 2005 13:17:04 -0300 (ADT) 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 02431-07 for ; Tue, 13 Sep 2005 16:16:59 +0000 (GMT) Received: from mailhost.intellivid.com (mailhost.intellivid.com [64.32.200.11]) by svr1.postgresql.org (Postfix) with ESMTP id 4CC54D8CEA for ; Tue, 13 Sep 2005 13:16:56 -0300 (ADT) Received: from [192.168.2.68] (spectre.intellivid.com [192.168.2.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by newmail.intellivid.com (Postfix) with ESMTP id 2094DF180EB; Tue, 13 Sep 2005 12:16:55 -0400 (EDT) Subject: Re: Performance considerations for very heavy INSERT From: Ian Westmacott To: blblack@gmail.com Cc: pgsql-performance@postgresql.org In-Reply-To: <84621a6050913083079ef0559@mail.gmail.com> References: <84621a6050912140464c380c3@mail.gmail.com> <59d991c40509122039773cac17@mail.gmail.com> <84621a6050913083079ef0559@mail.gmail.com> Content-Type: text/plain Organization: Intellivid Corp. Message-Id: <1126628214.11675.55.camel@spectre.intellivid.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 13 Sep 2005 12:16:55 -0400 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 required=5 tests=[none] X-Spam-Level: X-Archive-Number: 200509/170 X-Sequence-Number: 14478 On Tue, 2005-09-13 at 11:30, Brandon Black wrote: > I started looking closer at my options for partitioning (inheritance, > union all), and at Bizgres today. Bizgres partitioning appears to be > basically the same kind of inheritance partitioning one can do in > mainline PostgreSQL. Am I correct in thinking that the main > difference is that they've coded support for > "enable_constraint_exclusion=true" so that the query planner can be > more effective at taking advantage of the partitioning when you've > specified CHECK constraints on the child tables? I may go for 8.1 > instead in that case, as the main win I'm looking for is that with > inheritance I'll be doing inserts into smaller tables instead of ones > that grow to unmanageable sizes (and that I can drop old child tables > instead of delete/vacuum). Perhaps I missed something in this thread, but don't forget you still need vacuum to reclaim XIDs. --Ian