Re: Change of format of returned flat value after prepareThreshold

Поиск
Список
Период
Сортировка
Искать
От
Mikko Tiihonen
Тема
Re: Change of format of returned flat value after prepareThreshold
Дата
Msg-id
DB4PR07MB049539C659EEDB4D8587F520F23A0@DB4PR07MB0495.eurprd07.prod.outlook.com
Ответ на
Список
Дерево обсуждения
Change of format of returned flat value after prepareThreshold Michał Niklas <michal.niklas@heuthes.pl>
Re: Change of format of returned flat value after prepareThreshold Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Re: Change of format of returned flat value after prepareThreshold Michał Niklas <michal.niklas@heuthes.pl>
Re: Change of format of returned flat value after prepareThreshold Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Re: Change of format of returned flat value after prepareThreshold Michał Niklas <michal.niklas@heuthes.pl>
Re: Change of format of returned flat value after prepareThreshold Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Re: Change of format of returned flat value after prepareThreshold Michał Niklas <michal.niklas@heuthes.pl>
Re: Change of format of returned flat value after prepareThreshold Mikko Tiihonen <Mikko.Tiihonen@nitorcreations.com>
Re: Change of format of returned flat value after prepareThreshold Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Re: Change of format of returned flat value after prepareThreshold Mikko Tiihonen <Mikko.Tiihonen@nitorcreations.com>
Re: Change of format of returned flat value after prepareThreshold Dave Cramer <pg@fastcrypt.com>
Re: Change of format of returned flat value after prepareThreshold Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
> > but this jdbc driver feature is
> >supposed to be more of a debug feature, because it slows down queries due to needing an extra
> >round-trip for each query.
> 
> Mikko, binary transfer should not be considered a "debug" feature.

I know. I wrote the original jdbc driver binary transfer code because I wanted better performance.

But you clipped half of my sentence it stars with:

"An alternative is to request binary transfers from the first query" - meaning that the debug feature
is the performance killer that requests binary transfers for also the first query by doing a backend
round-trip to describe what kind of in/out parameters the operation contains - before executing the
actual statement.

It is currently used by jdbc driver unit test framework so that every operation need not be tried n
times in unit tests to verify that the binary transfers work for all operations.

-Mikko
В списке pgsql-jdbc по дате отправления
От: Vladimir Sitnikov
Дата:
От: Dave Cramer
Дата:
FAQ