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
Re: Incoming/Sent traffic data |
| Список | 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?
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 по дате отправления: