X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (mx2.hub.org [200.46.204.254]) by postgresql.org (Postfix) with ESMTP id CACAC11F628F for ; Thu, 20 Apr 2006 16:45:22 -0300 (ADT) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Score: -2.465 X-Spam-Level: X-Spam-Status: No, score=-2.465 required=5 tests=[BAYES_00=-2.599, FORGED_RCVD_HELO=0.135, SPF_PASS=-0.001] Received: from postgresql.org ([200.46.204.71]) by localhost (mx2.hub.org [200.46.204.254]) (amavisd-new, port 10024) with ESMTP id n+n6z1PBXUWv for ; Thu, 20 Apr 2006 16:45:14 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by postgresql.org (Postfix) with SMTP id 634FB11F6279 for ; Thu, 20 Apr 2006 16:45:11 -0300 (ADT) Received: (qmail invoked by alias); 20 Apr 2006 19:45:10 -0000 Received: from dslb-084-057-005-138.pools.arcor-ip.net (EHLO ltmku) [84.57.5.138] by mail.gmx.net (mp038) with SMTP; 20 Apr 2006 21:45:10 +0200 X-Authenticated: #23352258 From: "Milen Kulev" To: "'Luke Lonergan'" Cc: Subject: Re: Quick Performance Poll Date: Thu, 20 Apr 2006 21:45:09 +0200 Message-ID: <000001c664b2$eef4ba50$0a00a8c0@trivadis.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Y-GMX-Trusted: 0 X-Archive-Number: 200604/469 X-Sequence-Number: 18553 Hi Luke, I (still) haven't tried Bizgres, but what do you mean with "The current drawback to bitmap index is that it isn't very maintainable under insert/update, although it is safe for those operations"? Do you mean that INSERT/UPDATE operations against bitmap indexes are imperformant ? If yes, to what extend ? Or you mean that bitmap index corruption is possible when issueing DML againts BMP indexes? Or BMP indexes are growing too fast as a result of DML ? I am asking this question because Oracle needed 3 years to solve its BMP index problems (BMP index corruption/ space usage explosion when several processes are performing DML operations ). Is Bizgres implementation suffering from this kind child deseases ? Regards . Milen -----Original Message----- From: pgsql-performance-owner@postgresql.org [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of Luke Lonergan Sent: Thursday, April 20, 2006 5:03 PM To: jim@contactbda.com; Simon Dale; pgsql-performance@postgresql.org Subject: Re: [PERFORM] Quick Performance Poll Jim, On 4/20/06 7:40 AM, "Jim Buttafuoco" wrote: > First of all this is NOT a single table and yes I am using > partitioning and the constaint exclusion stuff. the largest set of > tables is over 2T. I have not had to rebuild the biggest database > yet, but for a smaller one ~1T the restore takes about 12 hours > including many indexes on both large and small tables You would probably benefit greatly from the new on-disk bitmap index feature in Bizgres Open Source. It's 8.1 plus the sort speed improvement and on-disk bitmap index. Index creation and sizes for the binary version are in the table below (from a performance report on bizgres network. The version in CVS tip on pgfoundry is much faster on index creation as well. The current drawback to bitmap index is that it isn't very maintainable under insert/update, although it is safe for those operations. For now, you have to drop index, do inserts/updates, rebuild index. We'll have a version that is maintained for insert/update next. - Luke # Indexed Columns Create Time (seconds) Space Used (MBs) BITMAP BTREE BITMAP BTREE 1 L_SHIPMODE 454.8 2217.1 58 1804 2 L_QUANTITY 547.2 937.8 117 1804 3 L_LINENUMBER 374.5 412.4 59 1285 4 L_SHIPMODE, L_QUANTITY 948.7 2933.4 176 2845 5 O_ORDERSTATUS 83.5 241.3 5 321 6 O_ORDERPRIORITY 108.5 679.1 11 580 7 C_MKTSEGMENT 10.9 51.3 1 45 8 C_NATIONKEY 8.3 9.3 2 32 ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match