<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Wal on digitalitem: Claude skills library and product lab</title><link>https://digitalitem.online/en/tags/wal/</link><description>Recent content in Wal on digitalitem: Claude skills library and product lab</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 22 Oct 2026 10:30:00 +0000</lastBuildDate><atom:link href="https://digitalitem.online/en/tags/wal/index.xml" rel="self" type="application/rss+xml"/><item><title>Database Kernel (6): WAL, Replay and Checkpoint</title><link>https://digitalitem.online/en/posts/plan-wal-checkpoint/</link><pubDate>Thu, 22 Oct 2026 10:30:00 +0000</pubDate><guid>https://digitalitem.online/en/posts/plan-wal-checkpoint/</guid><description>&lt;p&gt;Transactions make concurrency correct, but machines crash. What recovers the system? An &lt;strong&gt;append-only log&lt;/strong&gt;, plus a marker for where to start replaying.&lt;/p&gt;
&lt;p&gt;The final post in the &lt;a href="https://github.com/daviszhen/plan"&gt;plan&lt;/a&gt; series.&lt;/p&gt;
&lt;h2 id="1-whats-in-the-wal"&gt;1. What&amp;rsquo;s in the WAL&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;walog&lt;/code&gt; is a file storing redo log entries sequentially:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Written when&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;insert / delete / update&lt;/td&gt;
&lt;td&gt;a transaction writes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;flush&lt;/td&gt;
&lt;td&gt;a transaction commits&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;checkpoint&lt;/td&gt;
&lt;td&gt;everything before it is already applied to tables&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;create table / schema / use table&lt;/td&gt;
&lt;td&gt;DDL and table switching&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Key convention: &lt;strong&gt;entries between two flushes belong to one transaction&lt;/strong&gt;, so replay needs no extra transaction-boundary metadata.&lt;/p&gt;</description></item><item><title>Implementing Git for Data on DuckDB (Part 4): Moving Metadata into Tables — Transactions, Crash Consistency and 'Hidden but Readable'</title><link>https://digitalitem.online/en/posts/duckdb-git4data-registry/</link><pubDate>Tue, 20 Oct 2026 08:30:00 +0000</pubDate><guid>https://digitalitem.online/en/posts/duckdb-git4data-registry/</guid><description>The reference registry used to live in the checkpoint metadata block — no transactions, no WAL. Moving it into a hidden schema of four tables bought transactions and crash consistency.</description></item></channel></rss>