Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 8D3331337B83 for ; Wed, 11 May 2011 18:44:47 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 75158-04 for ; Wed, 11 May 2011 21:44:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ew0-f46.google.com (mail-ew0-f46.google.com [209.85.215.46]) by mail.postgresql.org (Postfix) with ESMTP id E43041337B80 for ; Wed, 11 May 2011 18:44:38 -0300 (ADT) Received: by ewy4 with SMTP id 4so262093ewy.19 for ; Wed, 11 May 2011 14:44:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=OMzlSXDPyWiT66Nb/qS6YZkbnYCwEP4wt+pQKw4fZhM=; b=BiJZq5YymaE4THx+DnivhiaBHaYpyAnf0wyWN8menGe56wVqrFRqcmai/blSjGqXWH zl48IAMjHo/f4EJpl/++C44cJ4xzgm7ydmBdiyTjUCMoaAI7397qrPcAzSMIT1cr5Ahn kkEJZbvqKmSvblV4ygXAbObFYac1VLX3eym8c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=J2nYsTMLn6AscSjDcOnk29WYC4BQOWTvjcbCqQEkc1Q5HS36hP0/rUqqAt0kE0XhPy m/cgNRcr2Lz4C+uGnmI7AG4U57ue1rPdiebQJDCjBBzBwvlj/u3espg0HD/rCSlWnwUr Kw1zy001DExG3jKhH7ZuwLQFnlUSfHCfjFvpw= MIME-Version: 1.0 Received: by 10.213.98.201 with SMTP id r9mr3492309ebn.42.1305150277694; Wed, 11 May 2011 14:44:37 -0700 (PDT) Received: by 10.213.9.81 with HTTP; Wed, 11 May 2011 14:44:37 -0700 (PDT) In-Reply-To: <201105111953.060147@ms14.lnh.mail.rcn.net> References: <4DC81A3F020000250003D433@gw.wicourts.gov> <4DC81D56020000250003D438@gw.wicourts.gov> <4DC8B893.3060908@postnewspapers.com.au> <4DC9E7C5.9080309@postnewspapers.com.au> <4DCAB3A1.2090507@peak6.com> <201105111953.060147@ms14.lnh.mail.rcn.net> Date: Wed, 11 May 2011 15:44:37 -0600 Message-ID: Subject: Re: Postgres refusing to use >1 core From: Scott Marlowe To: gnuoytr@rcn.com Cc: sthomas@peak6.com, Craig Ringer , Aren Cambre , pgsql-performance@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.888 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RFC_ABUSE_POST=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01 X-Spam-Level: X-Archive-Number: 201105/159 X-Sequence-Number: 43668 On Wed, May 11, 2011 at 1:53 PM, wrote: > So, the $64 question: =A0how did you find an engagement where, to bend Sh= akespeare, "first thing we do, is kill all the coders" isn't required? =A0T= his RBAR mentality, abetted by xml/NoSql/xBase, is utterly pervasive. =A0Th= ey absolutely refuse to learn anything different from the COBOL/VSAM messes= of their grandfathers; well modulo syntax, of course. =A0The mere suggesti= on, in my experience, that doing things faster with fewer lines of code/sta= tements in the engine is met with overt hostility. It really depends. For a lot of development scaling to large numbers of users is never needed, and it's often more economical to develop quickly with a less efficient database layer. In my last job all our main development was against a large transactional / relational db. But some quick and dirty internal development used some very inefficient MVC methods but it only had to handle 45 users at a time, max, and that was 45 users who accessed the system a few minutes at a time. I've seen EVA systems that people tried to scale that were handling thousands of queries a second that when converted to real relational dbs needed dozens of queries a second to run, required a fraction of db horsepower, and could scale to the same number of users with only 1/10th to 1/100th the database underneath it. In those instances, you only have to show the much higher efficiency to the people who pay for the database servers.