Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cf/5919~1
Choose a base ref
...
head repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cf/5919
Choose a head ref
  • 2 commits
  • 4 files changed
  • 2 contributors

Commits on Aug 31, 2025

  1. Eagerly flush bulkwrite strategy ring

    Operations using BAS_BULKWRITE (COPY FROM and createdb) will inevitably
    need to flush buffers in the strategy ring in order to reuse
    them. By eagerly flushing the buffers in a larger batch, we encourage
    larger writes at the kernel level and less interleaving of WAL flushes
    and data file writes. The effect is mainly noticeable with multiple
    parallel COPY FROMs. In this case, client backends achieve higher write
    throughput and end up spending less time waiting on acquiring the lock
    to flush WAL. Larger flush operations also mean less time waiting for
    flush operations at the kernel level as well.
    
    The heuristic for eager eviction is to only flush buffers in the
    strategy ring which flushing does not require flushing WAL.
    
    This patch also is a stepping stone toward using AIO for COPY FROM.
    
    Reviewed-by: Kirill Reshke <[email protected]>
    Discussion: https://postgr.es/m/flat/CAAKRu_Yjn4mvN9NBxtmsCQSGwup45CoA4e05nhR7ADP-v0WCig%40mail.gmail.com
    melanieplageman authored and Commitfest Bot committed Aug 31, 2025
    Configuration menu
    Copy the full SHA
    295837a View commit details
    Browse the repository at this point in the history
  2. [CF 5919] v2 - Eagerly evict bulkwrite strategy ring

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5919
    
    The branch will be overwritten each time a new patch version is posted to
    the thread, and also periodically to check for bitrot caused by changes
    on the master branch.
    
    Patch(es): https://www.postgresql.org/message-id/CAAKRu_bwy5=Rz-rizSc-LhHP08nkwSQ_Eix2b256RDmgRj4wSw@mail.gmail.com
    Author(s): Melanie Plageman
    Commitfest Bot committed Aug 31, 2025
    Configuration menu
    Copy the full SHA
    64a137c View commit details
    Browse the repository at this point in the history
Loading