X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id F2D2911F68F8 for ; Tue, 28 Mar 2006 16:51:05 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 13202-05 for ; Tue, 28 Mar 2006 16:51:01 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.travelamericas.com (unknown [206.130.134.147]) by postgresql.org (Postfix) with SMTP id E8FAE11F66DA for ; Tue, 28 Mar 2006 16:50:58 -0400 (AST) Received: (qmail 26743 invoked from network); 28 Mar 2006 20:50:53 -0000 Received: from unknown (HELO ?10.0.0.253?) (10.0.0.253) by verkiel.travelamericas.com with SMTP; 28 Mar 2006 20:50:53 -0000 Message-ID: <4429A1AD.4030104@travelamericas.com> Date: Tue, 28 Mar 2006 12:50:53 -0800 From: Chris Travers User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marcos CC: Scott Marlowe , pgsql-performance@postgresql.org Subject: Re: Decide between Postgresql and Mysql (help of References: <1143559902.1241.16.camel@servidor> <1143572392.3625.79.camel@state.g2switchworks.com> <1143564928.1241.28.camel@servidor> In-Reply-To: <1143564928.1241.28.camel@servidor> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.239 required=5 tests=[AWL=0.239] X-Spam-Score: 0.239 X-Spam-Level: X-Archive-Number: 200603/562 X-Sequence-Number: 17999 Marcos wrote: >>So, what exactly are you planning on doing? >> >> > >The application will be a chat for web, the chats will be stored in the >server. In a determined interval of time... more or less 2 seconds, the >application will be looking for new messages. > >I believe that it will make many accesses. The write in disc will be >constant. > > Ok. I would favor PostgreSQL for reasons of ease of future development. However, lets look at what both RDBMS's buy you: MySQL: 1) Possibility of many components for web apps that can be used though the lack of certain features (such as complex updateable views) makes this possibly an issue. 2) Great simple read performance. PostgreSQL: 1) Possibility to integrate any other components later (including those on MySQL via DBI-Link). 2) Fabulous community support (and I am sure fabulous paid support too given the fact that many of those who contribute to the great community support also offer paid support). 3) Better parallel write performance. 4) Greater extensibility, leading to greater flexibility down the road should you want to add in new components without rewriting your front-end. For a simple chat client, you can probably put something together with some Perl/CGI scripts, Jabber, and MySQL or PostgreSQL pretty easily and without much development labor at all. Indeed I would suggest that the RDBMS is, absent other specific concerns, the least of your issues. In other words, both are probably adequate. It is impossible to provide an estimate for capacity though without knowing the app in question, expected query composition, and so forth. Best Wishes, Chris Travers Metatron Technology Consulting