Incoming/Sent traffic data

Поиск
Список
Период
Сортировка
От Israel Ben Guilherme Fonseca
Тема Incoming/Sent traffic data
Дата
Msg-id BANLkTi=+KqU37L7VEL4KDDqYMpTr7c-=9w@mail.gmail.com
обсуждение исходный текст
Ответы Re: Incoming/Sent traffic data  (Craig Ringer <craig@postnewspapers.com.au>)
Re: Incoming/Sent traffic data  (Maciek Sakrejda <msakrejda@truviso.com>)
Список pgsql-jdbc
Hello, I'm doing a paper for my university about advantages and disadvantages of OMR/Direct Access for different languages. One of the tests measures the traffic between application and the database (we have proxy in the middle of them). This test gave me some weird result.

Bellow, code and result:

Python
http://pastebin.com/LfQDtF5X

Java
http://pastebin.com/ZfNpqP0H

The postgre log:

Python LOG:  comando: select * from pessoa
Java LOG:  executar <unnamed>: select * from pessoa

(translation from portuguese to english)
comando -> command
executar -> execute

Almost difference of received data size is HUGE. Do you guys have any idea about what could am I doing wrong? I heard something about binary protocol, could it help?

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Johann 'Myrkraverk' Oskarsson"
Дата:
Сообщение: Re: Support for 9.1 foreign tables
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Incoming/Sent traffic data