On Fri, Jul 10, 2026 at 09:09:39AM -0400, Andres Freund wrote: > On 2026-07-10 15:05:35 +0900, Michael Paquier wrote: >> So, we have discussed that a couple of days ago offline, and I still >> felt uncomfortable to not do a cleanup of the relation stats data for >> indexes. A lot of the fields are stored in memory and written in the >> file, and remain unused for indexes. > > Why solve that as part of this thread / redesign, rather than as an orthogonal > issue?
Because I was under the impression that separating the counters first made the implementation of the relfilenode stats and the recomputation of them during WAL replay much cleaner, and after putting my hands on it myself, well, I still do. True enough that this deserves a thread of its own, though. Will do so after cleaning up a few things in the first two patches. -- Michael
signature.asc
Description: PGP signature
