X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 2654555A07 for ; Wed, 2 Mar 2005 10:28:50 +0000 (GMT) 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 05622-08 for ; Wed, 2 Mar 2005 10:28:48 +0000 (GMT) Received: from anchor-post-34.mail.demon.net (anchor-post-34.mail.demon.net [194.217.242.92]) by svr1.postgresql.org (Postfix) with ESMTP id BDD115508C for ; Wed, 2 Mar 2005 10:28:47 +0000 (GMT) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-34.mail.demon.net with esmtp (Exim 4.42) id 1D6R60-000O3E-Ef; Wed, 02 Mar 2005 10:28:48 +0000 Received: from [192.168.1.17] (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id E8E3916C2F; Wed, 2 Mar 2005 10:28:47 +0000 (GMT) Message-ID: <4225955D.7090700@archonet.com> Date: Wed, 02 Mar 2005 10:28:45 +0000 From: Richard Huxton User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mauro Bertoli Cc: pgsql-sql@postgresql.org Subject: Re: Postgres performance References: <20050302093344.49749.qmail@web51404.mail.yahoo.com> In-Reply-To: <20050302093344.49749.qmail@web51404.mail.yahoo.com> 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, hits=0.061 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200503/16 X-Sequence-Number: 20495 Mauro Bertoli wrote: > Hi, thanks a lot! you are rigth, but I did read your > message ;) > Yes, > 1- I misconfigured PostgreSQL (I thought that was > already configured in base to the released version - > Fedora Core 3 64bit). > 2- The bench is, clearly after your precisations, an > MySQL tuned application tests. > 3- I think the bench test only one connection, I > didn't see (in a fast reading) no threading request in > the bench code to simulate users requests. > 4- I didn't test transaction-safe (that isn't used > explicitly in my application) Well, do you care whether your data is consistent or not? If not, you don't need transactions. > I understand it isn't simple.. I use the dbms in data > analysis environment and the more time is spent in > query (php is 0.1%) with more sub-selects and maybe > there's, in the same time, from 1 to 1000 users > insert/update data. I tests the dbms with my data > analysis framework simulating an super-extensive > request. You'll find inserts/updates with lots of users is where PostgreSQL works well compared to other systems. > Do you know where I can find an tutorial to configure > hardware dependent Postgres internal values? There's some useful stuff here: http://www.varlena.com/varlena/GeneralBits/Tidbits/index.php and also here: http://www.powerpostgresql.com/PerfList -- Richard Huxton Archonet Ltd