Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id F13A41336FA7 for ; Mon, 25 Oct 2010 19:54:50 -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 12020-01 for ; Mon, 25 Oct 2010 22:54:43 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 7B91A1337999 for ; Mon, 25 Oct 2010 19:54:43 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o9PMshPY008228; Mon, 25 Oct 2010 18:54:43 -0400 (EDT) To: Mark Rostron cc: "pgsql-performance@postgresql.org" Subject: Re: interpret statement log duration information In-reply-to: References: Comments: In-reply-to Mark Rostron message dated "Mon, 25 Oct 2010 15:33:47 -0700" Date: Mon, 25 Oct 2010 18:54:43 -0400 Message-ID: <8227.1288047283@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201010/416 X-Sequence-Number: 40834 Mark Rostron writes: > Can anyone please tell me how to interpret the (S_nn/C_nn) information in the log line. > LOG: duration: 19817.211 ms execute S_73/C_74: ....(statement text) ..... It's prepared statement name slash portal name. You'd have to look at your client-side code to find out what the names refer to. regards, tom lane