<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>TSDB on Support Tools</title><link>https://support.tools/tags/tsdb/</link><description>Recent content in TSDB on Support Tools</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Tue, 21 Jul 2026 09:00:00 -0500</lastBuildDate><atom:link href="https://support.tools/tags/tsdb/index.xml" rel="self" type="application/rss+xml"/><item><title>Prometheus TSDB Compaction Failed: The 64 GiB Index Ceiling and What It Says About Your Cardinality</title><link>https://support.tools/prometheus-tsdb-compaction-failed-index-64gib-cardinality/</link><pubDate>Tue, 21 Jul 2026 09:00:00 -0500</pubDate><guid>https://support.tools/prometheus-tsdb-compaction-failed-index-64gib-cardinality/</guid><description>&lt;p&gt;Prometheus compaction had been running fine for months. Then this showed up in the logs, and kept showing up every couple of hours:&lt;/p&gt;&#10;&lt;div class="code-block" data-copy-label="Copy text code, block 1"&gt;&#10; &lt;div class="code-block-header" data-pagefind-ignore&gt;&lt;span class="code-block-lang"&gt;text&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;level=ERROR source=db.go:1219 msg=&amp;#34;compaction failed&amp;#34; component=tsdb err=&amp;#34;compact [/var/lib/prometheus/metrics2/01KJQ22FD0C2VFGQC2T8QP70P2 /var/lib/prometheus/metrics2/01KK8B5EK0CPXWDGPRD3H89ZQP /var/lib/prometheus/metrics2/01KKSP6NZ0EYNDGJFJTD3D6N6F]: populate block: add series: write series data: \&amp;#34;/var/lib/prometheus/metrics2/01KKSSF1T0T0T3AN0PJ00WVQGJ.tmp-for-creation/index\&amp;#34; exceeding max size of 64GiB&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;add padding: \&amp;#34;/var/lib/prometheus/metrics2/01KKSSF1T0T0T3AN0PJ00WVQGJ.tmp-for-creation/index\&amp;#34; exceeding max size of 64GiB&amp;#34;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Searching that string gets you almost nothing: a handful of GitHub issues, no runbook, no explanation. So here is the explanation. Short version: this is a hard limit in the TSDB index file format, not a resource problem. You cannot tune it, add RAM to it, or upgrade past it. It is real and it needs work, but it is &lt;em&gt;not&lt;/em&gt; a data-loss event, and the most likely root cause is cardinality. Specifically, the number of distinct series that existed anywhere inside the merged block&amp;rsquo;s time range, which is a very different number from your current head cardinality.&lt;/p&gt;</description></item></channel></rss>