Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 57403B5DBD2 for ; Mon, 23 May 2011 11:07:15 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 82614-02 for ; Mon, 23 May 2011 14:07:08 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-vx0-f174.google.com (mail-vx0-f174.google.com [209.85.220.174]) by mail.postgresql.org (Postfix) with ESMTP id 3A429B5DBDB for ; Mon, 23 May 2011 11:07:08 -0300 (ADT) Received: by vxi39 with SMTP id 39so4087406vxi.19 for ; Mon, 23 May 2011 07:07:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type; bh=sbq0bihOWzfixUNVgXJQehv8gQvw06YAsN9KqEUPrxM=; b=sI8ELtnbpMTunX2zuS/dvyPp/OudJfLhM3Mz2LAGt++LkDzUiwh7tj+za3M95iOoIO fL9z0A7XXmsenUkhaM/IUpZIZitfO0zFB260wD3Iv0bid4F22hvWWc8/w3pYX0DNQbOt KCg3+8XhALbwuKM3+uqYLIoaCiT2jE8MglWWk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=Qqkzil+WhE40moahQfX8BFR4x7Mdy1qi8ZLaRNGRTQGupPCR/g8LtjnDLPyHEzOw0K psSw+b0TH8TyGe5i+mgn3T3MOELldbbKgqH9CVxb6ZlJNR+xJYGnsu7ns1gh9ZTfq13P plCpa+iU/jz3c+JH0t9w4KthN6DsbITUjgopA= Received: by 10.220.182.201 with SMTP id cd9mr651008vcb.188.1306159628117; Mon, 23 May 2011 07:07:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.182.3 with HTTP; Mon, 23 May 2011 07:06:48 -0700 (PDT) In-Reply-To: <4DD9EF2B.9030104@postnewspapers.com.au> References: <4DD9EF2B.9030104@postnewspapers.com.au> From: Aren Cambre Date: Mon, 23 May 2011 09:06:48 -0500 X-Google-Sender-Auth: mjR3GJ43ka2Et5uDTE1DUwZQpsE Message-ID: Subject: Re: Postgres refusing to use >1 core To: Craig Ringer Cc: pgsql-performance@postgresql.org Content-Type: multipart/alternative; boundary=90e6ba53aa20a765d904a3f1fc7b X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.897 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RFC_ABUSE_POST=0.001 X-Spam-Level: X-Archive-Number: 201105/299 X-Sequence-Number: 43808 --90e6ba53aa20a765d904a3f1fc7b Content-Type: text/plain; charset=ISO-8859-1 > > It's always good to hear when these things work out. Thanks for > reporting back. > > Using the set-based nature of relational databases to your advantage, > writing smarter queries that do more work server-side with fewer > round-trips, and effective batching can make a huge difference. > Glad I could be a good digital citizen! :-) Correction: it's going to run for significantly more than 2 hours, but far less than 30 hours! I'm loving seeing the CPU meter showing all 8 of my (fake) cores being pounded mercilessly! Aren --90e6ba53aa20a765d904a3f1fc7b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
It's always good to hear when these things work out. Thanks for
reporting back.

Using the set-based nature of relational databases to your advantage,
writing smarter queries that do more work server-side with fewer
round-trips, and effective batching can make a huge difference.

Glad I could be a good digital citizen! :-)
<= div>
Correction: it's going to run for=A0significantly=A0= more than 2 hours, but far less than 30 hours!

I'm loving seeing the CPU meter showing all 8 of my= (fake) cores being pounded mercilessly!

Aren
--90e6ba53aa20a765d904a3f1fc7b--