Mar 2025

2 commits
Show index search count in EXPLAIN ANALYZE, take 2.
11 Mar 2025Peter Geogheganmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1Also in: Adding skip scan (including MDAM style range skip scan) to nbtree (not this thread)
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #500 of 4 reviewers saw the final version

Retains #50's instrumentation design but reworks shared-memory estimation and initialization in src/backend/access/index/indexam.c and the scan executors, accumulating worker counters across Gather rescans instead of copying them. This March 8 submission at 16:47 UTC follows thread #49869's matching submission #585374 at 16:43 UTC, consistent with that thread's attribution here.

  • Robert Haassaw an earlier versiontrailerRobert reviewed counter placement and presentation, then proposed local accumulation and worker aggregation in #47, before the substantial rewrite in #49.
  • Tomas Vondrano review foundtrailerPeter attributes the earlier per-loop presentation to Tomas in #27, but this thread contains no review message from Tomas identifying an attached version he examined.
  • Masahiro Ikedano review foundtrailerMasahiro is credited in the commit, but the supplied thread contains no review activity by him.
  • Matthias van de Meentsaw an earlier versiontrailerMatthias challenged counter storage and generic output in #6 and #13, then argued for unrounded totals in #31 and #33, before the parallel instrumentation rewrite.
Show index search count in EXPLAIN ANALYZE.
5 Mar 2025Peter Geogheganmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1Also in: Adding skip scan (including MDAM style range skip scan) to nbtree (not this thread)
LLM analysis, 100% suremodified before commitlight changesfrom patchset #411 of 4 reviewers saw the final version

Matches #41 with an expanded src/include/access/relscan.h comment, documentation corrections, and removal of zero-count normalization in memoize tests. This March 1 source is later than thread #49869's February 27 submission #584221, consistent with that thread's attribution here.

  • Tomas Vondrano review foundtrailerPeter mentions Tomas's preference for dividing by loops in #27, but no review from Tomas or identifiable reviewed attachment appears in this thread.
  • Robert Haassaw the final versiontrailerRobert evaluated storage alternatives and requested documentation in #39, then endorsed the design and explanatory direction in #42 after the final submission.
  • Masahiro Ikedano review foundtrailerMasahiro is credited in the commit, but the supplied thread contains no review activity by him.
  • Matthias van de Meentsaw an earlier versiontrailerMatthias reviewed the original architecture and advocated total counts in #31 and #33, after which presentation logic and parallel counting changed.

Sep 2024

1 commit
Fix nbtree pgstats accounting with parallel scans.
20 Sep 2024Peter Geogheganmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.0Also in: Adding skip scan (including MDAM style range skip scan) to nbtree (part of a posted patchset)

Credits across 3 commits

Author
Peter Geoghegan3
Reviewer
Tomas Vondra3
Masahiro Ikeda2
Matthias van de Meent2
Robert Haas2
Committer
Peter Geoghegan3