<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>SQLite</title><link>https://blog.ast.moe/en/tags/sqlite/</link><description>Recent posts: Gorimuchu</description><generator>Hugo</generator><item><title>Sakura incident review: excessive D1 reads in pending approval notifications</title><link>https://blog.ast.moe/en/blog/2026-11-17-2/</link><pubDate>Tue, 17 Nov 2026 22:00:25 +0900</pubDate><guid>https://blog.ast.moe/en/blog/2026-11-17-2/</guid><description>&lt;h2 id="summary"&gt;Summary&lt;/h2&gt;
&lt;p&gt;On November 17, 2026, Sakura&amp;rsquo;s D1 read usage was found to be approaching the free allowance. The pending approval notification query scanned the &lt;code&gt;messages&lt;/code&gt; table, including ordinary posts.&lt;/p&gt;
&lt;p&gt;The query ran 112 times in 24 hours, reading 3,510,744 rows and returning none. Its join order was changed to fetch messages associated with approval requests by primary key. The fix is included in v0.4.1.&lt;/p&gt;
&lt;p&gt;The confirmed impact was excessive consumption of D1&amp;rsquo;s read allowance. No limit exhaustion or service outage attributable to this incident has been confirmed.&lt;/p&gt;</description></item></channel></rss>