<?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>Git4data on digitalitem: Claude skills library and product lab</title><link>https://digitalitem.online/en/tags/git4data/</link><description>Recent content in Git4data on digitalitem: Claude skills library and product lab</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 20 Oct 2026 13:25:00 +0000</lastBuildDate><atom:link href="https://digitalitem.online/en/tags/git4data/index.xml" rel="self" type="application/rss+xml"/><item><title>PITR and Clone: Point-in-Time Recovery and Zero-Copy</title><link>https://digitalitem.online/en/posts/pitr-and-clone/</link><pubDate>Tue, 20 Oct 2026 13:25:00 +0000</pubDate><guid>https://digitalitem.online/en/posts/pitr-and-clone/</guid><description>&lt;p&gt;Beyond &amp;ldquo;read a snapshot&amp;rdquo;, a data version system has two very practical abilities: &lt;strong&gt;point-in-time recovery (PITR)&lt;/strong&gt; and &lt;strong&gt;zero-copy clone&lt;/strong&gt;. This post covers the trade-offs in implementing them.&lt;/p&gt;
&lt;h2 id="1-pitr-find-the-newest-reference-not-later-than-t"&gt;1. PITR: find the newest reference not later than T&lt;/h2&gt;
&lt;p&gt;A reference (snapshot or branch) is essentially &amp;ldquo;a name plus a commit id (pin)&amp;rdquo;. PITR needs no extra log; it does:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;given time T:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; find references with created &amp;lt;= T
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; take the one with the largest created
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; restore to it
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;That is recovery &lt;strong&gt;based on the reference sequence&lt;/strong&gt;, not WAL replay. The upside is simplicity and consistency with the snapshot system; the downside is precision tied to how often you create references — if two references are an hour apart, you can only restore to before that hour.&lt;/p&gt;</description></item><item><title>Data Version Control: Why a Database Needs Git</title><link>https://digitalitem.online/en/posts/data-versioning-why/</link><pubDate>Tue, 20 Oct 2026 12:58:00 +0000</pubDate><guid>https://digitalitem.online/en/posts/data-versioning-why/</guid><description>&lt;p&gt;Git gave code cheap branching, rollback and merge. Data never got the same deal — because data is huge; one copy is a terabyte.&lt;/p&gt;
&lt;p&gt;But a trend is changing that: &lt;strong&gt;the people editing data are turning into AI clusters.&lt;/strong&gt; When the scale and frequency of writes go up an order of magnitude, branch / merge / rollback move from &amp;ldquo;nice feature&amp;rdquo; to &amp;ldquo;the only way this can be safe&amp;rdquo;.&lt;/p&gt;
&lt;h2 id="1-what-data-versioning-needs"&gt;1. What data versioning needs&lt;/h2&gt;
&lt;p&gt;Strip the product narrative and a data version system needs at least three things:&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><item><title>Implementing Git for Data on DuckDB (Part 3): Branches, diff, pick, merge — The Version Primitives of Data</title><link>https://digitalitem.online/en/posts/duckdb-git4data-branches/</link><pubDate>Tue, 20 Oct 2026 08:20:00 +0000</pubDate><guid>https://digitalitem.online/en/posts/duckdb-git4data-branches/</guid><description>A branch = a pin + a name + lineage; a delta = the base&amp;#39;s removed keys plus added rows. The four primitives, and the trade-offs behind them, paid for with measurements.</description></item><item><title>Implementing Git for Data on DuckDB (Part 2): Pinning History — Snapshots, Retention Watermarks and AT SNAPSHOT</title><link>https://digitalitem.online/en/posts/duckdb-git4data-snapshots/</link><pubDate>Tue, 20 Oct 2026 08:10:00 +0000</pubDate><guid>https://digitalitem.online/en/posts/duckdb-git4data-snapshots/</guid><description>The real gate of versioning is not &amp;#39;can read old versions&amp;#39; but &amp;#39;do old versions still exist&amp;#39;. Two watermarks, one checkpoint measurement, and making a pin queryable.</description></item><item><title>Implementing Git for Data on DuckDB (Part 1): Feasibility — Why an Analytical Database Can Grow Version Control</title><link>https://digitalitem.online/en/posts/duckdb-git4data-why/</link><pubDate>Tue, 20 Oct 2026 08:00:00 +0000</pubDate><guid>https://digitalitem.online/en/posts/duckdb-git4data-why/</guid><description>Git4Data wants branches, rollbacks and merges for data. First question: how far is DuckDB&amp;#39;s existing MVCC and row-group versioning from a &amp;#39;data time machine&amp;#39;?</description></item></channel></rss>