Aug 2024

1 commit
Fix unfairness in all-cached parallel seq scan.
31 Aug 2024Thomas Munromaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17rc1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #461 of 1 reviewer saw the final version

Implements the complete single-block buffering change from #46 in src/backend/storage/aio/read_stream.c; differences are confined to comments and the commit description.

  • Alexander Lakhinsaw the final versionLLM analysis, 100% sureAfter investigating unstable measurements, he confirmed that #46 restored fairer worker allocation with controlled CPU settings in #51.

Apr 2024

7 commits
Use streaming I/O in sequential scans.
7 Apr 2024Thomas Munromaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #351 of 2 reviewers saw the final version

Takes the scan-consumer component of #35, leaving its infrastructure fix to a separate commit. The component differs only in callback argument names, use of ReadStreamBlockNumberCB, and comments, as explained in #36.

  • Andres Freundsaw an earlier versiontrailerHis off-list reviews prompted the descriptor-layout correction reported in #9 and the subsequent parallel/serial callback split reported in #35, which was a substantive change after the reviewed version.
  • Thomas Munrosaw the final versiontrailerHe benchmarked the remaining consumer, prepared the integrated stack, and reviewed and committed the final version with the small edits described in #36.
Fix if/while thinko in read_stream.c edge case.
7 Apr 2024Thomas Munromaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #35

Takes only the pending-read fix from #35, where Melanie republishes Thomas's patch from #34. Its if-to-while change in read_stream_look_ahead() has an identical stable patch ID to the commit.

Increase default vacuum_buffer_usage_limit to 2MB.
6 Apr 2024Thomas Munromaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1Also in: Confine vacuum skip logic to lazy_scan_skip (not this thread)
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #321 of 1 reviewer saw the final version

Extracts the unchanged five-file vacuum_buffer_usage_limit component of #32, increasing the default from 256kB to 2MB in freelist.c, globals.c, guc_tables.c, configuration documentation and the sample configuration. The current verdict for thread #48989 agrees that its contribution was supporting discussion and that the committed patch came from this thread.

  • Andres Freundsaw the final versiontrailerHe advocated a four- to eight-fold vacuum-ring increase in #17 and endorsed the proposed patch in #27, reviewing attachments from #23 that have no indexed patchset entry.
Allow BufferAccessStrategy to limit pin count.
6 Apr 2024Thomas Munromaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #322 of 2 reviewers saw the final version

Extracts GetAccessStrategyPinLimit() and its read-stream integration from #32. The sole component-level edit changes 'call' to 'caller' in a comment, as requested in #33.

  • Andres Freundsaw the final versiontrailerHe proposed distinguishing strategies using StrategyRejectBuffer() in #17 and requested fuller function documentation in #27, reviewing the unindexed attachments from #23.
  • Melanie Plagemansaw the final versiontrailerShe approved the earlier pin-limit proposal in #30 and reviewed #32 in #33, finding only the comment typo corrected before commit.
Improve read_stream.c's fast path.
6 Apr 2024Thomas Munromaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #321 of 1 reviewer saw the final version

Extracts the fast-path component of #32, including its read_stream_reset() state repair. The complete component has an identical stable patch ID to the commit.

  • Melanie Plagemansaw the final versiontrailerShe diagnosed the unreachable fast path in #26, benchmarked and reviewed #29 in #31, and approved the revised component of #32 in #33.
Secondary refactor of heap scanning functions
4 Apr 2024David Rowleymaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #141 of 1 reviewer saw the final version

Takes the second heap-refactoring component of #14, switching scan termination to buffer validity. David additionally corrects declaration attributes, uses pg_noinline for heapgettup_initial_block(), renames heap_fetch_next_buffer(), and updates stale comments, as documented in #21.

  • David Rowleysaw the final versioncommittercommitted the patch
Preliminary refactor of heap scanning functions
4 Apr 2024David Rowleymaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #181 of 1 reviewer saw the final version

Matches the complete preliminary refactor forwarded by David in #18, with heap_page_prep() renamed to heap_prepare_pagescan() and minor comment edits. The patch header and commit credit Melanie, and #20 confirms the final rename.

  • David Rowleysaw the final versioncommittercommitted the patch

Credits across 8 commits

Author
Thomas MunroLLM5
Melanie Plageman3
Reviewer
Andres Freund3
David Rowleycommitter2
Melanie Plageman2
Thomas Munro1
Reported by
Alexander Lakhin1
Committer
Thomas Munro6
David Rowley2

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