Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id DB3F2634287 for ; Fri, 20 Mar 2009 19:15:08 -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 99353-01 for ; Fri, 20 Mar 2009 19:15:02 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-fx0-f174.google.com (mail-fx0-f174.google.com [209.85.220.174]) by mail.postgresql.org (Postfix) with ESMTP id E39FA633B77 for ; Fri, 20 Mar 2009 19:15:03 -0300 (ADT) Received: by fxm22 with SMTP id 22so1607194fxm.19 for ; Fri, 20 Mar 2009 15:15:02 -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=bVbxhmw6kGFLEiPbd+1zoV8w7sQGV5MZQLgG8CMu57s=; b=ZxXmVURzb2lqm/O7rNTyGAgQ7Y1FCsCGfHaieHdpd+OiJ3OpjbEg/gzgUiCaqnoZAE 9X87nlC6Kh1D2ZTe7g2gPUagCdy6uOYANu0jzyJjJv4304S7FiOSh6NvlpkxWYR3OhwV z4o0qmIQFA7o6dwRsAZlPBQaxoMCYggchrKK8= 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=Yy6Zg5Jk8Q8oyjfLcViLdFYa9fWoxgGb0rYFSMAeYYOAsBnal9M/Up3Wa7snBGCU0W SUk7YmNCZLimkddzcHmp6fiVKahJ1OFY+DVQpQE6pDw4iUC/OcMdpc8Za3FNBSIIUw9T ISdjgyCIrpRQktcNARrMDwZSxdIYHxLXHAaGc= MIME-Version: 1.0 Received: by 10.223.122.15 with SMTP id j15mr3698897far.10.1237587302178; Fri, 20 Mar 2009 15:15:02 -0700 (PDT) In-Reply-To: <49C3FABF.3000305@dunslane.net> References: <7d10d2df0903111227g2e40e742g5992cba5158dd4d2@mail.gmail.com> <1d4e0c10903111659x6c96e6cau33ee121ee29a48a@mail.gmail.com> <29255.1236822351@sss.pgh.pa.us> <7d10d2df0903120638s3908aadbm5f285220fc738843@mail.gmail.com> <7d10d2df0903201247r7ff71d1bsf655176a86ca5be4@mail.gmail.com> <49C3FABF.3000305@dunslane.net> Date: Fri, 20 Mar 2009 22:15:01 +0000 X-Google-Sender-Auth: 220ab4a72fb7a1aa Message-ID: <7d10d2df0903201515l7e443adfjabb9d8399fc19059@mail.gmail.com> Subject: Re: Full statement logging problematic on larger machines? From: Frank Joerdens To: Andrew Dunstan Cc: Tom Lane , Guillaume Smet , pgsql-performance@postgresql.org, Nic Ferrier , Avleen Vig , Mike Rogers 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/309 X-Sequence-Number: 33231 On Fri, Mar 20, 2009 at 8:21 PM, Andrew Dunstan wrote: > > > Frank Joerdens wrote: >> >> On Thu, Mar 12, 2009 at 1:38 PM, Frank Joerdens wrote: >> >>> >>> 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. [...] >> Can you explain again what the extent of multiplexed messages I'll >> have to expect is? What exactly is the substance of the tradeoff? >> Occasionally the server will write the same line twice? Don't really >> follow why ... [...] > I don't believe changing this will result in any multiplexing. The > multiplexing problem was solved in 8.3 by the introduction of the chunking > protocol between backends and the syslogger, and changing the output > buffering of the syslogger should not cause a multiplexing problem, since > it's a single process. Hum, we're still on 8.2 - last attempt to upgrade before xmas was unsuccessful; we had to roll back due to not fully understood performance issues. We think we nailed the root cause(s) those though and will make another better planned effort to upgrade before March is out. Oh well, maybe this all means we shouldn't try to get this running on 8.2 and just tackle the issue again after the upgrade ... Cheers, Frank