May 2020

5 commits
Fix async.c to not register any SLRU stats counts in the postmaster.
14 May 2020Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #431 of 1 reviewer saw the final version

Matches the delayed async initialization and postmaster assertion in #43. The commit additionally removes the initialization introduced by f3d23d83ef, expands comments and relocates the assertion.

  • Fujii Masaosaw the final versionLLM analysis, 98% sureIn #45, he specifically supported retaining the postmaster assertion when removing SLRUStats initialization, which Tom Lane accepted in #46.
Use proper GetDatum function in pg_stat_get_slru().
13 May 2020Fujii Masaomaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surelanded as postedfrom patchset #291 of 1 reviewer saw the final version

Exactly matches the one-line TimestampTzGetDatum correction in src/backend/utils/adt/pgstatfuncs.c attached in #29.

  • Tomas Vondrasaw the final versiontrailerExplicitly agreed with both pending fixes in #30, and this timestamp patch landed unchanged.
Initialize SLRU stats entries to zero.
13 May 2020Fujii Masaomaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surelanded as postedfrom patchset #281 of 1 reviewer saw the final version

Exactly matches the SLRUStats memset added to pgstat_initialize() in #28; its subsequent reversion does not alter the original match.

  • Tomas Vondrasaw the final versiontrailerExplicitly agreed with the initialization and timestamp fixes in #30 before this patch landed unchanged.
Remove pg_xact from pg_stat_reset_slru docs
2 May 2020Tomas Vondramaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #211 of 1 reviewer saw the final version

Commits the monitoring.sgml portion of #21, with paragraph reflow, after Fujii pointed out the omission in #25. The pgstat.c portion had already landed in 2e08d314ed.

  • Tomas Vondrasaw the final versioncommittercommitted the patch
Remove pg_xact entry from SLRU stats
1 May 2020Tomas Vondramaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #211 of 1 reviewer saw the final version

Exactly takes the pgstat.c hunk from #21, deleting pg_xact from slru_names, but omits that patch's monitoring.sgml correction.

  • Tomas Vondrasaw the final versioncommittercommitted the patch

Apr 2020

3 commits
Track SLRU page hits in SimpleLruReadPage_ReadOnly
8 Apr 2020Tomas Vondramaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surelanded as postedfrom patchset #191 of 1 reviewer saw the final version

Exactly matches Kuntal Ghosh's four-line addition to SimpleLruReadPage_ReadOnly in #19, including its comment and counter call.

  • Tomas Vondrasaw the final versioncommittercommitted the patch
Fix typo in SLRU stats documentation
2 Apr 2020Tomas Vondramaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surelanded as postedfrom patchset #171 of 1 reviewer saw the final version

Exactly matches the biging-to-bigint documentation correction attached by Noriyoshi Shinoda in #17.

  • Tomas Vondrasaw the final versioncommittercommitted the patch
Collect statistics about SLRU caches
2 Apr 2020Tomas Vondramaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #150 of 1 reviewer saw the final version

Preserves the feature and reset API from #15, with counter-function renaming, OID reassignment, comments and a catalog-version bump. In pgstat_read_db_statsfile_timestamp(), the per-entry fread loop becomes one read of the entire SLRU array.

  • Alvaro Herrerasaw an earlier versiontrailerReviewed counter placement, terminology, overhead and enum-based identification in #10, before the name-mapping redesign and reset-API changes in #14 and #15.

Credits across 8 commits

Author
Fujii Masao2 LLM4
Kuntal GhoshLLM1
Shinoda, Noriyoshi (PN Japan FSIP)1
Tom LaneLLM1
Tomas Vondra1
Reviewer
Tomas Vondracommitter6
Alvaro Herrera1
Reported by
Fujii Masao2
Kuntal Ghosh1
Committer
Tomas Vondra5
Fujii Masao2
Tom Lane1

N LLM means N of the credits come from LLM analysis, not from commit trailers.