Re: explain format json, unit for serialize and memory are different.
Daniel Gustafsson <daniel@yesql.se>
From: Daniel Gustafsson <daniel@yesql.se>
To: jian he <jian.universality@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2024-05-13T09:22:08Z
Lists: 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
Commits
-
Fix some inconsistencies in EXPLAIN output
- 0de37b51065b 17.0 landed