Re: LibPQ: PQresultMemorySize as proxy to transfered bytes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: LibPQ: PQresultMemorySize as proxy to transfered bytes
Дата
Msg-id 1141124.1687951329@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: LibPQ: PQresultMemorySize as proxy to transfered bytes  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: LibPQ: PQresultMemorySize as proxy to transfered bytes
Список pgsql-general
I wrote:
> That number is the total space actually requested from malloc() for
> the PGresult object.  But we request space in blocks (typically 2KB
> each), so there's some overhead due to fields not exactly filling
> a block, unused space in the last block, etc.  If you're testing
> with very small result sets (say a couple hundred KB)

Sigh, obviously I meant a couple hundred *bytes* there.  -ENOCAFFEINE

            regards, tom lane



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

Предыдущее
От: Rita
Дата:
Сообщение: pgbouncer
Следующее
От: Sebastiaan Mannem
Дата:
Сообщение: Re: pgbouncer