How to prevent jdbc from sending any results back to the client ?

Поиск
Список
Период
Сортировка
От Dimitris Karampinas
Тема How to prevent jdbc from sending any results back to the client ?
Дата
Msg-id CAC_Q3Nx66+5yPF4=8=C2PW7jVNGQ2FegvOQpzAjKsM9uGqh5RA@mail.gmail.com
обсуждение исходный текст
Ответы Re: How to prevent jdbc from sending any results back to the client ?
Список pgsql-jdbc
Hi,

I'm working on an academic project and I need to benchmark PostgreSQL.
I'm intersted only about the performance of the DBMS itself and I'm trying to keep things simple in my measurements.
Preferably I'd like to ignore the query results at the client side but jdbc seems to return results even if I don't call next() on the Resultset (is that true ?). 
As a consequence, I can't measure acurately a per query execution time since the time I get depends also on the time spent to send the answer (or part of it) to the client.
setFetchSize(1) doesn't seem to help much.
Can I hack the driver and diminish the overhead explained above ?

Cheers,
Dimitris

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

Предыдущее
От: Gavin Flower
Дата:
Сообщение: Re: Speed up JDBC connection creation on 9.0+
Следующее
От: Sehrope Sarkuni
Дата:
Сообщение: Re: How to prevent jdbc from sending any results back to the client ?