<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Storage on Thiago Avelino</title><link>https://avelino.run/tags/storage/</link><description>Recent content in Storage on Thiago Avelino</description><generator>Hugo</generator><language>en-us</language><copyright>© Avelino</copyright><lastBuildDate>Tue, 01 Dec 2026 15:21:58 -0300</lastBuildDate><atom:link href="https://avelino.run/tags/storage/index.xml" rel="self" type="application/rss+xml"/><item><title>ChronDB's vacuum deletes nothing</title><link>https://avelino.run/chrondb-vacuum-deletes-nothing/</link><pubDate>Tue, 01 Dec 2026 00:00:00 +0000</pubDate><guid>https://avelino.run/chrondb-vacuum-deletes-nothing/</guid><description>&lt;p&gt;A project of mine that runs &lt;a href="https://github.com/avelino/chrondb"&gt;ChronDB&lt;/a&gt; reached 100 GB on disk. ChronDB keeps every version of every document, and I kept all of it. That was a choice. What I never chose was the way all of it was being stored.&lt;/p&gt;
&lt;p&gt;The obvious fix for a database that big is to delete old versions. That is not what I wrote. ChronDB is a chronological database, the history is the product, so the first tool I built for this is a vacuum that removes no object at all. Reachable or not. It landed on December 1st in &lt;a href="https://github.com/avelino/chrondb/commit/4534311bf5e8ddf4fd948160617c1f6b254c011b"&gt;one commit&lt;/a&gt;, followed by &lt;a href="https://github.com/avelino/chrondb/commit/f4c76aab027532ebbcd3360e2883a5b4e0f59d9b"&gt;a fix&lt;/a&gt; for a bug I had put in it, a fix in the Rust binding, and &lt;a href="https://github.com/avelino/chrondb/commit/5994613cc3341bd4833ca97f9e43a957cf5938dc"&gt;the commit that exposes it to Rust&lt;/a&gt;. Four commits in a little over an hour.&lt;/p&gt;</description></item></channel></rss>