Re: Binary transfer vs Text transfer

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Binary transfer vs Text transfer
Дата
Msg-id 20200617191212.2pwajunoryye7e4a@alap3.anarazel.de
обсуждение исходный текст
Ответ на Binary transfer vs Text transfer  (Aleksei Ivanov <iv.alekseii@gmail.com>)
Ответы Re: Binary transfer vs Text transfer  (Aleksei Ivanov <iv.alekseii@gmail.com>)
Список pgsql-hackers
Hi,


On 2020-06-17 11:55:44 -0700, Aleksei Ivanov wrote:
> I have one question related to my current measurements results.
> 
> I am fetching integers in text format like:
> 
> Select * from table limit 10000000. It take 18.5 seconds to finish and the
> transfer data is 633 MB.
> 
> When I fetching the same data using binary cursor, the transfer data is 480
> MB, but the transfer time is 21.5 seconds?
> 
> So, I have one question could someone explain what can be the reason why
> the transferring time for binary data is higher?

This thread might be interesting:
https://www.postgresql.org/message-id/CAMkU%3D1whbRDUwa4eayD9%2B59K-coxO9senDkPRbTn3cg0pUz4AQ%40mail.gmail.com

Greetings,

Andres Freund



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

Предыдущее
От: Aleksei Ivanov
Дата:
Сообщение: Binary transfer vs Text transfer
Следующее
От: Robert Haas
Дата:
Сообщение: Re: global barrier & atomics in signal handlers (Re: Atomicoperations within spinlocks)