| От | Andreas Schmitz |
|---|---|
| Тема | Re: bytea performance tweak |
| Дата | |
| Msg-id | 20110623100616.GA14152@summalogicae.occamlabs.local обсуждение |
| Ответ на | Re: bytea performance tweak (Oliver Jowett <oliver@opencloud.com>) |
| Ответы |
Re: bytea performance tweak
|
| Список | pgsql-jdbc |
Oliver Jowett wrote: Hi, > On 23 June 2011 02:17, Andreas Schmitz <schmitz@occamlabs.de> wrote: > > > I was wondering why the protocol uses such an encoding anyway. Wouldn't > > it be a lot faster just sending the bytes as they are? > > We can request binary-format data, which for bytea is indeed just the > raw bytes, but the problem is that it's all or nothing: if we request > binary data we have to handle binary results for all datatypes, not > just bytea (because the request is per-column and generally the driver > doesn't know the column type at the point it makes the request) > Some progress has been made with that, but it's not production-ready > yet I think. ok, understood. Is there a timeline for fully supporting the binary protocol? Best regards, Andreas
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера