Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id F23FC9FA249 for ; Mon, 11 Dec 2006 16:09:24 -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 92411-07 for ; Mon, 11 Dec 2006 16:09:24 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from exprod6og55.obsmtp.com (exprod6og55.obsmtp.com [64.18.1.191]) by postgresql.org (Postfix) with SMTP id 042949F9EED for ; Mon, 11 Dec 2006 16:09:23 -0400 (AST) Received: from source ([63.240.6.47]) by exprod6ob55.postini.com ([64.18.5.12]) with SMTP; Mon, 11 Dec 2006 12:09:20 PST Received: from 172.16.1.110 by mail.Mi8.com with ESMTP (- Welcome to Mi8 Corporation www.Mi8.com (D1)); Mon, 11 Dec 2006 15:09:12 -0500 X-Server-Uuid: 241911D6-425B-44B9-A073-E3FE0F8FC774 Received: from MI8NYCMAIL08.Mi8.com ([172.16.1.164]) by D01SMTP01.Mi8.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 11 Dec 2006 15:09:11 -0500 Received: from 69.181.100.71 ([69.181.100.71]) by MI8NYCMAIL08.Mi8.com ( [172.16.1.190]) via Exchange Front-End Server mi8owa.mi8.com ( [172.16.1.106]) with Microsoft Exchange Server HTTP-DAV ; Mon, 11 Dec 2006 20:09:11 +0000 User-Agent: Microsoft-Entourage/11.2.5.060620 Date: Mon, 11 Dec 2006 12:09:09 -0800 Subject: Re: New to PostgreSQL, performance considerations From: "Luke Lonergan" To: "Michael Stone" , pgsql-performance@postgresql.org Message-ID: Thread-Topic: [PERFORM] New to PostgreSQL, performance considerations Thread-Index: AccdYDeWdgoC5YlTEdu/8AAWy4o9DA== In-Reply-To: <20061211185727.GJ16692@mathom.us> MIME-Version: 1.0 X-OriginalArrivalTime: 11 Dec 2006 20:09:11.0938 (UTC) FILETIME=[39566E20:01C71D60] X-WSS-ID: 696365624NO4040675-02-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/260 X-Sequence-Number: 22316 Michael, On 12/11/06 10:57 AM, "Michael Stone" wrote: > That's kinda the opposite of what I meant by general code. I was trying > (perhaps poorly) to distinguish between scientific codes and other > stuff (especially I/O or human interface code). Yes - choice of language has often been a differentiator in these markets - LISP versus FORTRAN, C++ versus SQL/DBMS. This isn't just about science, it's also in Business Intelligence - e.g. Special purpose datamining code versus algorithms expressed inside a data management engine. > It also sounds like code specifically written to take advantage of > compiler techniques, rather than random code thrown at a pile of cflags. > I don't disagree that it is possible to get performance improvements if > code is written to be performant code; I do (and did) disagree with the > idea that you'll get huge performance improvements by taking regular old > C application code and playing with compiler flags. Agreed - that's my point exactly. > IMO that's appropriate for some science codes (although I think even > that sector is beginning to find that they've gone too far in a lot of > ways), but for a database I'd rather have people debugging clean, readable > code than risking my data to something incomprehensible that runs in > optimal time. Certainly something of a compromise is needed. >> Column databases like C-Store remove these abstractions at planner time to > > gcc --make-it-really-fast-by-rewriting-it-from-the-ground-up? Maybe not from ground->up, but rather from about 10,000 ft -> 25,000 ft? There are some who have done a lot of work studying the impact of more efficient DBMS, see here: http://homepages.cwi.nl/~boncz/x100.html - Luke