Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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/5526~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/5526
Choose a head ref
  • 2 commits
  • 16 files changed
  • 2 contributors

Commits on May 29, 2025

  1. Add storage I/O tracking to 'BUFFERS' option

    The 'BUFFERS' option currently indicates whether a block hit the shared
    buffer, but does not distinguish between a cache hit in the OS cache or
    a storage I/O operation.
    While shared buffers and OS cache offer similar performance, storage
    I/O is significantly slower in comparison in general.  By measuring
    the numbers of storage I/O read and write, we can better identify if
    storage I/O is a bottleneck in performance.
    
    Added tracking of storage I/O usage by calling getrusage(2) at both the
    planning and execution phase start and end points.
    
    A more granular approach as well as current BUFFERS option(tracking at
    each plan node) was considered but found to be impractical due to the
    high performance cost of frequent getrusage() calls.
    
    This output is shown when io_method=worker, since asynchronous workers
    handle I/O for multiple processes, and isolating the EXPLAIN target's
    I/O is difficult.
    
    TODO:
    I believe this information is mainly useful when used in auto_explain.
    I'm going to implement it if this patch is merged.
    Atsushi Torikoshi authored and Commitfest Bot committed May 29, 2025
    Configuration menu
    Copy the full SHA
    8498d29 View commit details
    Browse the repository at this point in the history
  2. [CF 5526] v5 - Add storage I/O tracking to EXPLAIN BUFFERS

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5526
    
    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/192906398eaa10720193d6433d64f0f6@oss.nttdata.com
    Author(s): Atsushi Torikoshi
    Commitfest Bot committed May 29, 2025
    Configuration menu
    Copy the full SHA
    febe40c View commit details
    Browse the repository at this point in the history
Loading