Re: explain format json, unit for serialize and memory are different.

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: explain format json, unit for serialize and memory are different.
Дата
Msg-id C99686F4-23D6-4944-B945-8B53456B9827@yesql.se
обсуждение исходный текст
Ответ на explain format json, unit for serialize and memory are different.  (jian he <jian.universality@gmail.com>)
Ответы Re: explain format json, unit for serialize and memory are different.
Список pgsql-hackers
> On 13 May 2024, at 11:16, jian he <jian.universality@gmail.com> wrote:

> under format json,  "Output Volume": 1143,
> 1143 is kiB unit, and is not the same as "Memory Used" or "Memory
> Allocated" byte unit.

Nice catch.

> Do we need to convert it to byte for the non-text format option for EXPLAIN?

Since json (and yaml/xml) is intended to be machine-readable I think we use a
single unit for all values, and document this fact.

--
Daniel Gustafsson




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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: Parallel CREATE INDEX for GIN indexes
Следующее
От: David Rowley
Дата:
Сообщение: Speed up Hash Join by teaching ExprState about hashing