Re: binary representation of datatypes
От
Andrew Chernow
Тема
Re: binary representation of datatypes
Дата
Msg-id
48FF1788.3050102@esilo.com
Ответ на
Re: binary representation of datatypes (Merlin Moncure)
Список
Дерево обсуждения
binary representation of datatypes Matthieu Imbert <matthieu.imbert@ens-lyon.fr>
Re: binary representation of datatypes Michael Meskes <meskes@postgresql.org>
Re: binary representation of datatypes Matthieu Imbert <matthieu.imbert@ens-lyon.fr>
Re: binary representation of datatypes Michael Meskes <meskes@postgresql.org>
Re: binary representation of datatypes Jeroen Vermeulen <jtv@xs4all.nl>
Re: binary representation of datatypes Matthieu Imbert <matthieu.imbert@ens-lyon.fr>
Re: binary representation of datatypes Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: binary representation of datatypes "Merlin Moncure" <mmoncure@gmail.com>
Re: binary representation of datatypes Andrew Chernow <ac@esilo.com>
Re: binary representation of datatypes "Merlin Moncure" <mmoncure@gmail.com>
Re: binary representation of datatypes "Merlin Moncure" <mmoncure@gmail.com>
>>> >> You mean that when results are asked in textual representation (the default), data is sent on network directly as text? > > yes. > > You should know that text/binary conversions rarely play a significant > role in terms of performance. There are exceptions...large bytea > columns, or enormous sets of integers. This is coming from a guy that > co-wrote a library that allows you to pull data directly in binary. > > merlin > If I remember correctly, composites and composite arrays also show worth while performance gains. libpq array and composite handling is what initially spawned the libpqtypes project (which required providing type handling for every basic type like int and text). So, different types were implemented for different reasons, it was not all performance. The ultimate functionality we were looking for was multiple result sets, which composite arrays solve nicely. -- Andrew Chernow eSilo, LLC every bit counts http://www.esilo.com/
В списке pgsql-hackers по дате отправления