Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 63F0A632CD3 for ; Thu, 17 Dec 2009 02:41:57 -0400 (AST) 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 52059-09 for ; Thu, 17 Dec 2009 06:41:44 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.postnewspapers.com.au (202-89-185-120.static.dsl.amnet.net.au [202.89.185.120]) by mail.postgresql.org (Postfix) with ESMTP id 8195F632B42 for ; Thu, 17 Dec 2009 02:41:46 -0400 (AST) Received: from localhost (access [127.0.0.1]) by mail.postnewspapers.com.au (Postfix) with ESMTP id 8D1801E0445; Thu, 17 Dec 2009 14:41:43 +0800 (WST) X-Virus-Scanned: Debian amavisd-new at postnewspapers.com.au Received: from mail.postnewspapers.com.au ([127.0.0.1]) by localhost (access.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id pHfpx0Fi90wF; Thu, 17 Dec 2009 14:41:41 +0800 (WST) Received: from [10.1.1.6] (124-169-133-89.dyn.iinet.net.au [124.169.133.89]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Craig Ringer", Issuer "POST Certificate Authority" (verified OK)) by mail.postnewspapers.com.au (Postfix) with ESMTPSA id BD2891E0444; Thu, 17 Dec 2009 14:41:41 +0800 (WST) Message-ID: <4B29D2A3.6050504@postnewspapers.com.au> Date: Thu, 17 Dec 2009 14:41:39 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: Alexander Pyhalov CC: dmp , pgsql-jdbc@postgresql.org Subject: Re: Get bytes sent to client References: <4B2894E7.80407@rsu.ru> <4B28A86A.3060506@rsu.ru> <4B290928.5080004@ttc-cmc.net> <4B291141.90503@rsu.ru> In-Reply-To: <4B291141.90503@rsu.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.611 tagged_above=-10 required=5 tests=AWL=-0.501, BAYES_05=-1.11 X-Spam-Level: X-Archive-Number: 200912/53 X-Sequence-Number: 20134 On 17/12/2009 12:56 AM, Alexander Pyhalov wrote: > Hello. > Thanks for answer. I used dumpster in my tests. However, executing > system tools from lava is not a brilliant idea. And I have to collect > this statistics dynamically at runtime :( It sounds like you'll need to modify the JDBC driver to add the hooks you need, then. Perhaps if you can raise it with the JDBC folks (wherever they hang out) and talk it over first, you might be able to produce a patch that doesn't affect people who don't use the feature, so they might accept into the main JDBC driver. -- Craig Ringer