<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Checkpoints on Nalar</title>
    <link>https://nalar.dev/tags/checkpoints/</link>
    <description>Recent content in Checkpoints on Nalar</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 15 Sep 2026 00:00:00 +0700</lastBuildDate>
    <atom:link href="https://nalar.dev/tags/checkpoints/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>PostgreSQL Full Page Writes Repair Torn Pages</title>
      <link>https://nalar.dev/postgresql-full-page-writes-repair-torn-pages/</link>
      <pubDate>Tue, 15 Sep 2026 00:00:00 +0700</pubDate>
      <guid>https://nalar.dev/postgresql-full-page-writes-repair-torn-pages/</guid>
      <description>&lt;p&gt;A PostgreSQL data page can be larger than the atomic write unit provided by storage. If the host fails while a page is being written, part of that page may reach durable storage while another part remains from an older version. Recovery cannot safely apply ordinary change records to a page whose internal structure may already be inconsistent.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;full_page_writes&lt;/code&gt; addresses that failure mode. With the setting enabled, PostgreSQL records a complete image of a page in write-ahead log (WAL) on the first modification of that page after a checkpoint. During crash recovery, that image can replace a torn on-disk page before later WAL records are replayed.&lt;/p&gt;</description>
    </item>
    <item>
      <title>PostgreSQL Full-Page Writes Raise WAL Volume After Checkpoints</title>
      <link>https://nalar.dev/postgresql-full-page-writes-raise-wal-volume-after-checkpoints/</link>
      <pubDate>Tue, 15 Sep 2026 00:00:00 +0700</pubDate>
      <guid>https://nalar.dev/postgresql-full-page-writes-raise-wal-volume-after-checkpoints/</guid>
      <description>&lt;p&gt;A PostgreSQL page modified for the first time after a checkpoint can generate much more WAL than a later modification to the same page. With &lt;code&gt;full_page_writes&lt;/code&gt; enabled, the first protected change records a full page image so crash recovery can reconstruct a page even if an operating-system failure interrupts a physical page write.&lt;/p&gt;&#xA;&lt;p&gt;That protection creates a recurring WAL pattern tied to checkpoint boundaries. A checkpoint resets the condition for pages, and subsequent writes gradually encounter pages that need a new full page image.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
