5x perf increase on writes with FPW disabled in Postgres

(databricks.com)

36 points | by sp_from_db 2 days ago

3 comments

  • uhoh-itsmaciek 1 hour ago
    >Without those periodic full page images in the log, the storage layer would have to replay an infinitely long chain of small deltas to reconstruct a page for a read request. What was once a bounded O(checkpoint frequency) replay becomes an unbounded chain, leading to a spike in read latency and resource consumption.

    I don't follow: read requests are not served from the WAL. They read the current state of the page from the buffer cache, where the page is updated after the change (FPI or not) is written to the WAL.

  • nikita 1 hour ago
    I'm a VP on Databricks and former CEO of Neon. Happy to answer performance related or any other questions here.
    • weli 59 minutes ago
      How does it affect HA postgres? (Replicas, consensus, etc). Especially with extensions like citus.
  • mystraline 34 minutes ago
    Im not a proper DBA, but oversee some basic postgres installs (read: logging, monitoring, upgrades).

    This appears to only have any effect with datalake style installs, where storage is separate from compute.

    Not going to have any effect on those small postgres installs for that generic one off app.