Re: how to monitor the amount of bytes fetched in a executeQuery()
В списке pgsql-jdbc по дате отправления:
| От | Oliver Jowett |
|---|---|
| Тема | Re: how to monitor the amount of bytes fetched in a executeQuery() |
| Дата | |
| Msg-id | 44B56D9A.5030302@opencloud.com обсуждение исходный текст |
| Ответ на | Re: how to monitor the amount of bytes fetched in a executeQuery() (Albert Cardona <acardona@ini.phys.ethz.ch>) |
| Ответы |
Re: how to monitor the amount of bytes fetched in a executeQuery()
|
| Список | pgsql-jdbc |
Albert Cardona wrote: > Also, the ability to monitor the amount of bytes loaded would be an nice > addition to the driver itself. Perhaps a small Monitor class that extends > Thread, which monitors the receiving InputStream and provides a single > getLoadedBytes() method? Well, there's only one InputStream per connection really.. If a bytecount from there is useful it wouldn't be too hard to expose (perhaps on PGconnection), but it'd only be approximate because that one stream is used for all activity on the connection including other columns, protocol overhead, etc. -O
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера