Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TECnV-0000oV-6X for pgsql-jdbc@postgresql.org; Wed, 19 Sep 2012 05:26:05 +0000 Received: from mail-pb0-f46.google.com ([209.85.160.46]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TECnT-0001Cy-9I for pgsql-jdbc@postgresql.org; Wed, 19 Sep 2012 05:26:04 +0000 Received: by pbbrr13 with SMTP id rr13so1601508pbb.19 for ; Tue, 18 Sep 2012 22:26:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=ff6/oEYh9V7pmiiH6z7MOmqxpgNjK7m216H5cW1RG/o=; b=l9E0HnTSgEQrJH+xAoPcRh/rBBsVA/KKD/O9FrfE2ok6a+k6orCVFGUq2vAwiHeCad 2Ow35+yZ6l474lRBlhJhYf3jKoqztc2wtzRNEgjzHH6XdN6po1ntklvNAeReNQplN8Jx J68Njl1QrCCIssCaWohYEQcoaTrei4Gg0SgdTgri1Sb/UxtHXuZH3uN8RRzMkd/fHKWn sxh3RLSLzPZD8F5mGrIPbeHKfAhe5IPC228B3GZPk6HCAfo9OzDISQFiO1U2gO+cbiMQ fBCW5cSCEaoJ+SjpsGYURe4O8Uzh2dtoMxDdefiEbAxGLWkahifDomnlqQ2egeR5sPqu QtTg== Received: by 10.68.200.162 with SMTP id jt2mr4481423pbc.54.1348032360272; Tue, 18 Sep 2012 22:26:00 -0700 (PDT) Received: from ayaki.localdomain (office1.postnewspapers.com.au. [150.101.171.128]) by mx.google.com with ESMTPS id bs6sm484280pab.30.2012.09.18.22.25.57 (version=SSLv3 cipher=OTHER); Tue, 18 Sep 2012 22:25:59 -0700 (PDT) Message-ID: <50595763.8070008@ringerc.id.au> Date: Wed, 19 Sep 2012 13:25:55 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: Alexander Stanier CC: Dave Cramer , pgsql-jdbc@postgresql.org Subject: Re: Change in Log Format and Prepared Statements References: <5051D5DA.8050404@egsgroup.com> <5056B201.5020809@ringerc.id.au> <5056C6FA.1020800@egsgroup.com> In-Reply-To: <5056C6FA.1020800@egsgroup.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQlPDnY0jY3mk5BIo8QoIyK4mImXsbmuHJUM7mEafk742tqSfqxRvOkEDxadfuJDULYLvH9J X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201209/40 X-Sequence-Number: 23276 On 09/17/2012 02:45 PM, Alexander Stanier wrote: > Thanks Dave and Craig for you input. > > Does anyone know what the three durations specifically represent? > Presumably two of them are the time to prepare and execute the > statement? What's the third? Is the overall execution time the sum of > the three (or two in some cases)? I have no idea, honestly. Maybe ask on pgsql-general ? > It would be useful to have one summary time for the overall execution of > each statement as before. I strongly agree. Three separate log lines for timing, with no indication about which is which, sucks. I wonder what'd happen if a more informative log_line_prefix were added... -- Craig Ringer