Re: Show various offset arrays for heap WAL records
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Melanie Plageman <melanieplageman@gmail.com>,
Andres Freund <andres@anarazel.de>, pgsql-hackers@postgresql.org
Date: 2023-02-01T13:20:12Z
Lists: pgsql-hackers
On Tue, Jan 31, 2023 at 6:20 PM Peter Geoghegan <pg@bowt.ie> wrote: > Actually the really wide output comes from COMMIT records. After I run > the regression tests, and execute some of my own custom pg_walinspect > queries, I see that some individual COMMIT records have a > length(description) of over 10,000 bytes/characters. There is even one > particular COMMIT record whose length(description) is about 46,000 > bytes/characters. So *ludicrously* verbose GetRmgr() strings are not > uncommon today. The worst case (or even particularly bad cases) won't > be made any worse by this patch, because there are obviously limits on > the width of the arrays that it outputs details descriptions of, that > don't apply to these COMMIT records. If we're dumping a lot of details out of each WAL record, we might want to switch to a multi-line format of some kind. No one enjoys a 460-character wide line, let alone 46000. -- Robert Haas EDB: http://www.enterprisedb.com
Commits
-
Merge prune, freeze and vacuum WAL record formats
- f83d709760d8 17.0 landed
-
Add rmgrdesc README
- f0bd0b4489fa 17.0 landed
-
Refine the guidelines for rmgrdesc authors.
- c03c2eae0acb 16.0 landed
-
Fix Heap rmgr's desc output for infobits arrays.
- 96149a180d56 16.0 landed
-
Clarify nbtree posting list update desc issue.
- 26e65ebdb295 16.0 landed
-
Fix nbtree posting list update desc output.
- 5d6728e588c3 16.0 landed
-
Set cutoff xmin more aggressively when vacuuming a temporary table.
- a7212be8b9e0 14.0 cited