5x perf increase on writes with FPW disabled in Postgres

(databricks.com)

20 points | by sp_from_db 2 days ago ago

3 comments

  • uhoh-itsmaciek 6 minutes 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 39 minutes ago

    I'm a VP on Databricks and former CEO of Neon. Happy to answer performance related or any other questions here.

    • weli 5 minutes ago

      How does it affect HA postgres? (Replicas, consensus, etc). Especially with extensions like citus.