From: | Israel Ben Guilherme Fonseca <israel(dot)bgf(at)gmail(dot)com> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Incoming/Sent traffic data |
Date: | 2011-05-12 02:45:49 |
Message-ID: | BANLkTi=+KqU37L7VEL4KDDqYMpTr7c-=9w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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?
From | Date | Subject | |
---|---|---|---|
Next Message | Craig Ringer | 2011-05-12 03:12:48 | Re: Incoming/Sent traffic data |
Previous Message | Johann 'Myrkraverk' Oskarsson | 2011-05-07 13:39:51 | Re: Support for 9.1 foreign tables |