Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id EBF262E2F99 for ; Wed, 28 Nov 2007 13:28:25 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 04625-05-6 for ; Wed, 28 Nov 2007 13:28:20 -0400 (AST) Received: from outmail136043.authsmtp.co.uk (outmail136043.authsmtp.co.uk [62.13.136.43]) by postgresql.org (Postfix) with ESMTP id 50DAA2E00A8 for ; Wed, 28 Nov 2007 13:28:19 -0400 (AST) Received: from outmail128176.authsmtp.co.uk (outmail128176.authsmtp.co.uk [62.13.128.176]) by punt3.authsmtp.com (8.13.8/8.13.8/Kp) with ESMTP id lASHSA1q091107; Wed, 28 Nov 2007 17:28:10 GMT Received: from [192.168.0.3] (85-211-24-246.dyn.gotadsl.co.uk [85.211.24.246]) (authenticated bits=0) by mail.authsmtp.com (8.13.8/8.13.8/Kp) with ESMTP id lASHS86B010084; Wed, 28 Nov 2007 17:28:09 GMT Subject: Re: TB-sized databases From: Simon Riggs To: Pablo Alcaraz Cc: pgsql-performance In-Reply-To: <474CA2FA.2020201@laotraesquina.com.ar> References: <4544e0330711260904g45d893a8ub1731e245aa8fc84@mail.gmail.com> <474B1407.3090607@laotraesquina.com.ar> <474B1B8C.1030505@gmail.com> <4544e0330711271218h56ce4cc3p280a9fefff24583d@mail.gmail.com> <1196197045.4246.1154.camel@ebony.site> <474CA2FA.2020201@laotraesquina.com.ar> Content-Type: text/plain Date: Wed, 28 Nov 2007 17:28:28 +0000 Message-Id: <1196270908.4246.1250.camel@ebony.site> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2 Content-Transfer-Encoding: 7bit X-Server-Quench: 49cbcc46-9dd7-11dc-814e-001185d377ca X-AuthRoute: OCdxZQATClZOTQEd DAteCiNZVAwpPBRK HVkIKg5MJUcNSQVJ NksadBtFag1bY1ZH HGQLW1NEUVp7W2t/ awMfZQBDYEtPQQdu TkpNRE1QERpoT0Bw ZWZ9Wh8AdwRGeHZ0 K0RjWnkVWE0pJxUu RkhJHDlSYnphaTRM TUhZc1ZJcANLfxdA PlN4UyBcLwdSbGoL JyIJERcLGAAXFA4Q WQAfIF5aTU8XFzQ1 XB0ZdXVz X-Authentic-SMTP: 61633235383639.squirrel.dmpriest.net.uk:752/Kp X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system! X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/360 X-Sequence-Number: 27775 On Tue, 2007-11-27 at 18:06 -0500, Pablo Alcaraz wrote: > Simon Riggs wrote: > > All of those responses have cooked up quite a few topics into one. Large > > databases might mean text warehouses, XML message stores, relational > > archives and fact-based business data warehouses. > > > > The main thing is that TB-sized databases are performance critical. So > > it all depends upon your workload really as to how well PostgreSQL, or > > another other RDBMS vendor can handle them. > > > > > > Anyway, my reason for replying to this thread is that I'm planning > > changes for PostgreSQL 8.4+ that will make allow us to get bigger and > > faster databases. If anybody has specific concerns then I'd like to hear > > them so I can consider those things in the planning stages > it would be nice to do something with selects so we can recover a rowset > on huge tables using a criteria with indexes without fall running a full > scan. > > In my opinion, by definition, a huge database sooner or later will have > tables far bigger than RAM available (same for their indexes). I think > the queries need to be solved using indexes enough smart to be fast on disk. OK, I agree with this one. I'd thought that index-only plans were only for OLTP, but now I see they can also make a big difference with DW queries. So I'm very interested in this area now. -- Simon Riggs 2ndQuadrant http://www.2ndQuadrant.com