mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Change the display of WAL usage statistics in Explain.
In commit 33e05f89c5
, we have added the option to display WAL usage
statistics in Explain and auto_explain. The display format used two spaces
between each field which is inconsistent with Buffer usage statistics which
is using one space between each field. Change the format to make WAL usage
statistics consistent with Buffer usage statistics.
This commit also changed the usage of "full page writes" to
"full page images" for WAL usage statistics to make it consistent with
other parts of code and docs.
Author: Julien Rouhaud, Amit Kapila
Reviewed-by: Justin Pryzby, Kyotaro Horiguchi and Amit Kapila
Discussion: https://postgr.es/m/CAB-hujrP8ZfUkvL5OYETipQwA=e3n7oqHFU=4ZLxWS_Cza3kQQ@mail.gmail.com
This commit is contained in:
@ -283,11 +283,11 @@
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><structfield>wal_fpw</structfield></entry>
|
||||
<entry><structfield>wal_fpi</structfield></entry>
|
||||
<entry><type>bigint</type></entry>
|
||||
<entry></entry>
|
||||
<entry>
|
||||
Total number of WAL full page writes generated by the statement
|
||||
Total number of WAL full page images generated by the statement
|
||||
</entry>
|
||||
</row>
|
||||
|
||||
|
@ -198,8 +198,8 @@ ROLLBACK;
|
||||
<listitem>
|
||||
<para>
|
||||
Include information on WAL record generation. Specifically, include the
|
||||
number of records, number of full page writes and amount of WAL bytes
|
||||
generated. In text format, only non-zero values are printed. This
|
||||
number of records, number of full page images (fpi) and amount of WAL
|
||||
bytes generated. In text format, only non-zero values are printed. This
|
||||
parameter may only be used when <literal>ANALYZE</literal> is also
|
||||
enabled. It defaults to <literal>FALSE</literal>.
|
||||
</para>
|
||||
|
Reference in New Issue
Block a user