Re: Help with bulk read performance

Поиск
Список
Период
Сортировка
От Pierre C
Тема Re: Help with bulk read performance
Дата
Msg-id op.vntbn2ujeorkce@apollo13
обсуждение исходный текст
Ответ на Re: Help with bulk read performance  (Dan Schaffer <Daniel.S.Schaffer@noaa.gov>)
Ответы Re: Help with bulk read performance  (Nick Matheson <Nick.D.Matheson@noaa.gov>)
Список pgsql-performance
> If the data are stored as a byte array but retrieve into a ResultSet,
> the unpacking time goes up by an order of magnitude and the
> observed total throughput is 25 MB/s.  If the data are stored in a
> Postgres float array and unpacked into a byte stream, the
> observed throughput is 20 MB/s.


float <-> text conversions are very slow, this is in fact due to the
mismatch between base-2 (IEEE754) and base-10 (text) floating point
representation, which needs very very complex calculations.

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: performance libpq vs JDBC
Следующее
От: Tom Lane
Дата:
Сообщение: Re: How to get FK to use new index without restarting the database