Search Postgresql Archives

Get bytes sent to client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.
I'd like to collect some statistics in my application (using JDBC). In Oracle I could collect data, sent to client, using the following query:

SELECT S.value FROM V$MYSTAT S,SYS.V_$STATNAME NAMES
WHERE NAMES.STATISTIC#=S.STATISTIC#
AND NAMES.NAME='bytes sent via SQL*Net to client';

Can I do something like this in PostgreSQL?
I was suggested to wrap some parts of PostgreSQL JDBC Driver, but it looks not very good. Is there any other way to count up raw data, received by client (or sent by server)? The purpose is to estimate bandwidth from client to DBMS and size of query responses...
--
Best regards,
Alexander Pyhalov,
system administrator of Computer Center of South Federal University

--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux