Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 07F5B9FA307 for ; Tue, 6 Feb 2007 09:45:26 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 09710-10 for ; Tue, 6 Feb 2007 09:45:21 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by postgresql.org (Postfix) with ESMTP id 7C62F9FA21A for ; Tue, 6 Feb 2007 09:45:20 -0400 (AST) Received: from server3.office.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 64B58744BC; Tue, 6 Feb 2007 13:16:30 +0000 (GMT) Received: from [192.168.1.36] (dell36.office.archonet.com [192.168.1.36]) by server3.office.archonet.com (Postfix) with ESMTP id 0534F2741A2; Tue, 6 Feb 2007 13:16:30 +0000 (GMT) Message-ID: <45C87FAD.2010207@archonet.com> Date: Tue, 06 Feb 2007 13:16:29 +0000 From: Richard Huxton User-Agent: IceDove 1.5.0.9 (X11/20061220) MIME-Version: 1.0 To: "Hiltibidal, Robert" Cc: pgsql-sql@postgresql.org Subject: Re: Index ANDing & Index ORing References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200702/52 X-Sequence-Number: 27386 Hiltibidal, Robert wrote: > Morning > > I currently use DB2 on an AIX 5.2 p5 platform 7gb ram for log analytics > with heavy OLAP querying. > > Index ANDing in DB2 allows for multiple indexes to be used in joins. I'm > not sure of the ORing function yet. That's what 8.1+ support. The bitmap is in-memory though. > DB2 does not really allow for WAL to be turned off. Consequently the max > throughput on queries I have been able to achieve is 367 inserts a > second. This is on shark disk not local. That number was achieved with 3 > log imports running at once. Hmm - with battery-backed write-cache on the disks I'd expect better than that. Let's see - 367 inserts/sec * 60 =~ 22000 / 3 =~ 7000 inserts /min (assuming 1 log). You should be able to do better than that with decent disks. > I'm looking for a solution that allows me to turn WAL on or off > depending on need. I'm not sure what the connection is, but PostgreSQL doesn't allow WAL to be turned off. You can turn off fsync, but you can only change this when you restart postgresql. -- Richard Huxton Archonet Ltd