# Tracking Down Orphaned Objects in ClickHouse Clusters and Improving Cleanup and Recovery

DevFeed: [Tracking Down Orphaned Objects in ClickHouse Clusters and Improving Cleanup and Recovery](<https://devfeed.tech/articles/hunting-orphan-objects-45-off-our-clickhouse-storage-bill-and-a-near-data-loss-incident-18527.md>)

Original publisher: [Read original article](<https://www.tinybird.co/blog/how-we-deal-with-cloud-orphan-objects>)

Author: Irene Martínez

Published: 2026-05-19T00:00:00Z

Content type: article

Language: en

Sources: [Tinybird](<https://devfeed.tech/sources/tinybird.md>)

Topics: [clickhouse](<https://devfeed.tech/topics/clickhouse.md>), [data](<https://devfeed.tech/topics/data.md>), [incident](<https://devfeed.tech/topics/incident.md>), [cloud-infrastructure](<https://devfeed.tech/topics/cloud-infrastructure.md>)

Tags: [cleanup](<https://devfeed.tech/tags/cleanup.md>), [clickhouse](<https://devfeed.tech/tags/clickhouse.md>), [clusters](<https://devfeed.tech/tags/clusters.md>), [data](<https://devfeed.tech/tags/data.md>), [engineering-excellence](<https://devfeed.tech/tags/engineering-excellence.md>), [incident](<https://devfeed.tech/tags/incident.md>), [recovery](<https://devfeed.tech/tags/recovery.md>), [storage](<https://devfeed.tech/tags/storage.md>)

## AI overview

This article describes how the team tracked down orphaned objects in its ClickHouse clusters, reduced monthly storage costs, and improved cleanup and recovery procedures after a near data-loss incident.

## Source excerpt

How we tracked down petabytes of orphaned objects in our ClickHouse clusters, recovered tens of thousands of dollars in monthly storage costs, and hardened our cleanup and recovery procedures after almost losing data along the way.