X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7446A329E90 for ; Tue, 14 Sep 2004 14:28:03 +0100 (BST) 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 57306-03 for ; Tue, 14 Sep 2004 13:27:58 +0000 (GMT) Received: from hotmail.com (bay18-dav12.bay18.hotmail.com [65.54.187.192]) by svr1.postgresql.org (Postfix) with ESMTP id 6F67D329E86 for ; Tue, 14 Sep 2004 14:28:00 +0100 (BST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 14 Sep 2004 06:24:35 -0700 Received: from 67.81.98.198 by bay18-dav12.bay18.hotmail.com with DAV; Tue, 14 Sep 2004 13:24:35 +0000 X-Originating-IP: [67.81.98.198] X-Originating-Email: [awerman2@hotmail.com] X-Sender: awerman2@hotmail.com From: "Aaron Werman" To: , References: <20040912042442.49915.qmail@web41508.mail.yahoo.com> Subject: Re: Data Warehouse Reevaluation - MySQL vs Postgres -- merge tables Date: Tue, 14 Sep 2004 09:24:35 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Message-ID: X-OriginalArrivalTime: 14 Sep 2004 13:24:35.0782 (UTC) FILETIME=[2DB77E60:01C49A5E] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/115 X-Sequence-Number: 8243 > Mark Cotner wrote: > > The time has come to reevaluate/rearchitect an > > application which I built about 3 years ago. There > > are no performance concerns with MySQL, but it would > > benefit greatly from stored procedures, views, etc. > From: "Mischa Sandberg" > If your company is currently happy with MySQL, there probably are other > (nontechnical) reasons to stick with it. I'm impressed that you'd > consider reconsidering PG. I'd like to second Mischa on that issue. In general, if you migrate an *existing* application from one RDBMS to another, you should expect performance to decrease significantly. This is always true in a well performing system even if the replacement technology is more sophisticated. This is because of several factors. Even if you try to develop in totally agnostic generic SQL, you are always customizing to a feature set, namely the ones in the current system. Any existing application has had substantial tuning and tweaking, and the new one is at a disadvantage. Moreover, an existing system is a Skinnerian reward/punishment system to the developers and DBAs, rewarding or punishing them for very environment specific choices - resulting in an application, dbms, OS, and platform that are both explicitly and unconsciously customized to work together in a particular manner. The net effect is a rule of thumb that I use: NEVER reimplement an existing system unless the project includes substantial functional imporovement. Every time I've broken that rule, I've found that users expectations, based on the application they are used to, are locked in. Any place where the new system is slower, the users are dissatisfied; where it exceeds expectations it isn't appreciated: the users are used to the old system quirks, and the improvements only leave them uncomforable since the system "acts differently". (I've broken the rule on occation for standardization conversions.) My expectation is that pg will not get a fair shake here. If you do it - I'd like to see the results anyway. /Aaron