X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 629A0DB98A for ; Thu, 17 Nov 2005 16:38:39 -0400 (AST) 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 14915-06 for ; Thu, 17 Nov 2005 20:38:39 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from hosting.commandprompt.com (128.commandprompt.com [207.173.200.128]) by svr1.postgresql.org (Postfix) with ESMTP id 8E20EDB985 for ; Thu, 17 Nov 2005 16:38:36 -0400 (AST) Received: from [10.30.1.23] ([72.16.194.3]) (authenticated bits=0) by hosting.commandprompt.com (8.13.4/8.13.4) with ESMTP id jAHKXCrF007472; Thu, 17 Nov 2005 12:33:16 -0800 Message-ID: <437CEA9B.6020401@commandprompt.com> Date: Thu, 17 Nov 2005 12:39:55 -0800 From: "Joshua D. Drake" User-Agent: Thunderbird 1.5 (Windows/20051025) MIME-Version: 1.0 To: Alex Turner CC: William Yu , pgsql-performance@postgresql.org Subject: Re: Hardware/OS recommendations for large databases ( References: <3E37B936B592014B978C4415F90D662D01995F7B@MI8NYCMAIL06.Mi8.com> <33c6269f0511152115v1a34ab81j30f1f5df5a6c6956@mail.gmail.com> <437B5859.9040805@commandprompt.com> <33c6269f0511171154t22e0bce0p803a1803f8b1a539@mail.gmail.com> In-Reply-To: <33c6269f0511171154t22e0bce0p803a1803f8b1a539@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (hosting.commandprompt.com [192.168.1.101]); Thu, 17 Nov 2005 12:33:16 -0800 (PST) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[AWL=0.000] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200511/330 X-Sequence-Number: 15587 >> So what happens is that under reasonable load we are actually waiting >> for the CPU to process the code. >> >> > > This is the performance profile for PHP, not for Postgresql. This is > the post And your point? PostgreSQL benefits directly from what I am speaking about as well. >> Performance of PHP, not postgresql. >> >> Actually both. > [snip] > > Running postgresql on a single drive RAID 1 with PHP on the same > machine is not a typical installation. > Want to bet? What do you think the majority of people hosting at rackshack, rackspace, superrack etc... are doing? Or how about all those virtual hosts? > 300ms for PHP in CPU time? wow dude - that's quite a page. PHP > typical can handle up to 30-50 pages per second for a typical OLTP > application on a single CPU box. Something is really wrong with that > system if it takes 300ms per page. > There is wait time associated with that because we are hitting it with 50-100 connections at a time. Joshua D. Drake > Alex. > > ---------------------------(end of broadcast)--------------------------- > TIP 3: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faq >