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 8C795DBB3F for ; Fri, 18 Nov 2005 20:04:08 -0400 (AST) 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 10302-06 for ; Sat, 19 Nov 2005 00:04:10 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.mi8.com (d01gw04.mi8.com [63.240.6.44]) by svr1.postgresql.org (Postfix) with ESMTP id 9A4DDDBB1E for ; Fri, 18 Nov 2005 20:04:05 -0400 (AST) Received: from 172.16.1.110 by mail.mi8.com with ESMTP (- Welcome to Mi8 Corporation www.Mi8.com (D4)); Fri, 18 Nov 2005 19:04:02 -0500 X-Server-Uuid: C8FB4D43-1108-484A-A898-3CBCC7906230 Received: from MI8NYCMAIL06.Mi8.com ([172.16.1.175]) by D01SMTP01.Mi8.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 18 Nov 2005 19:04:02 -0500 Received: from 67.103.45.218 ([67.103.45.218]) by MI8NYCMAIL06.Mi8.com ( [172.16.1.219]) via Exchange Front-End Server mi8owa.mi8.com ( [172.16.1.105]) with Microsoft Exchange Server HTTP-DAV ; Fri, 18 Nov 2005 19:04:01 -0500 User-Agent: Microsoft-Entourage/11.2.1.051004 Date: Fri, 18 Nov 2005 16:04:00 -0800 Subject: Re: Hardware/OS recommendations for large databases ( From: "Luke Lonergan" To: "Mark Kirkwood" cc: "Dave Cramer" , "Greg Stark" , "Joshua Marsh" , pgsql-performance@postgresql.org Message-ID: Thread-Topic: [PERFORM] Hardware/OS recommendations for large databases ( Thread-Index: AcXsmmQi55EBnDCuTAK/LsJ/SGHiVAAAloQR In-Reply-To: <437E67EE.4070605@paradise.net.nz> MIME-Version: 1.0 X-OriginalArrivalTime: 19 Nov 2005 00:04:02.0506 (UTC) FILETIME=[BFB17AA0:01C5EC9C] X-WSS-ID: 6F60B47831S14976722-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.253 required=5 tests=[AWL=0.000, RCVD_NUMERIC_HELO=1.253] X-Spam-Score: 1.253 X-Spam-Level: * X-Archive-Number: 200511/385 X-Sequence-Number: 15642 Mark, On 11/18/05 3:46 PM, "Mark Kirkwood" wrote: > If you alter this to involve more complex joins (e.g 4. way star) and > (maybe add a small number of concurrent executors too) - is it still the > case? 4-way star, same result, that's part of my point. With Bizgres MPP, the 4-way star uses 4 concurrent scanners, though not all are active all the time. And that's per segment instance - we normally use one segment instance per CPU, so our concurrency is NCPUs plus some. The trick is the "small number of concurrent executors" part. The only way to get this with normal postgres is to have concurrent users, and normally they are doing different things, scanning different parts of the disk. These are competing things, and for concurrency enhancement something like "sync scan" would be an effective optimization. But in reporting, business analytics and warehousing in general, there are reports that take hours to run. If you can knock that down by factors of 10 using parallelism, it's a big win. That's the reason that Teradata did $1.5 Billion in business last year. More importantly - that's the kind of work that everyone using internet data for analytics wants right now. - Luke