Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 68E4D633626 for ; Thu, 12 Mar 2009 10:39:00 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 26222-09 for ; Thu, 12 Mar 2009 10:38:50 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-fx0-f168.google.com (mail-fx0-f168.google.com [209.85.220.168]) by mail.postgresql.org (Postfix) with ESMTP id 7F9F563470D for ; Thu, 12 Mar 2009 10:38:58 -0300 (ADT) Received: by fxm12 with SMTP id 12so307931fxm.19 for ; Thu, 12 Mar 2009 06:38:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=4EryHkfrlCjkAsNgShWbWMp/S0OEoUC1wZG/zyGnUwk=; b=gBYBtwMCE9+7tOgCoob6p6XO5AkAHjetQvbHLsg6NCRo3vupVQR2CJKXcKtMVVzyLT NP7RzY/cC8cSXAISJO55bptf7560nOJElwz5VooQIoVguAFSkK20rySrCpVxREx6ozqu AbxtQqXi4zEup1Myg7jnNZVHC/ym6snzqMeHo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=fM3OBlUrJNaRvQyKawfm3TGgzy9Mv5k6ROiTDWRdzoDb1khsr0sUfhxdEHU6MDLlsh 9aBu+N/hg+qyvi4neQ90+RDuvxh6DLefjv7Iy29HLp0EngbnasmMWkO6ySd6j7Y0deg/ 0JBn1nREbAH1u40MD+lyfTyFSPLohXL3Ogxw4= MIME-Version: 1.0 Received: by 10.223.119.5 with SMTP id x5mr7351182faq.40.1236865136337; Thu, 12 Mar 2009 06:38:56 -0700 (PDT) In-Reply-To: <29255.1236822351@sss.pgh.pa.us> References: <7d10d2df0903111227g2e40e742g5992cba5158dd4d2@mail.gmail.com> <1d4e0c10903111659x6c96e6cau33ee121ee29a48a@mail.gmail.com> <29255.1236822351@sss.pgh.pa.us> Date: Thu, 12 Mar 2009 13:38:56 +0000 X-Google-Sender-Auth: 00693d0c33b5837e Message-ID: <7d10d2df0903120638s3908aadbm5f285220fc738843@mail.gmail.com> Subject: Re: Full statement logging problematic on larger machines? From: Frank Joerdens To: Tom Lane Cc: Guillaume Smet , pgsql-performance@postgresql.org, Nic Ferrier , Avleen Vig , Mike Rogers , Andrew Dunstan Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200903/119 X-Sequence-Number: 33041 On Thu, Mar 12, 2009 at 1:45 AM, Tom Lane wrote: [...] > You could try changing _IOLBF > to _IOFBF near the head of postmaster/syslogger.c and see if that helps. I just put the patched .deb on staging and we'll give it a whirl there for basic sanity checking - we currently have no way to even approximate the load that we have on live for testing. If all goes well I expect we'll put it on live early next week. I'll let you know how it goes. Regards, Frank