# MetaDB: Putting File-System Structure Back into Distributed Databases

DevFeed: [MetaDB: Putting File-System Structure Back into Distributed Databases](<https://devfeed.tech/articles/metadb-putting-file-system-structure-back-into-distributed-databases-100166.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.32247>)

Author: Zebin Ren, Biao Cao, Kang Chen, Zhihui Yin, Qiushi Chen, Jielong Jian, Jiwei Xiong, Xinxing Wang, Yan Xing, Liguo Duan, Ran Zheng, Xianjun Meng, Zhenyu Hou

Published: 2026-10-26T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Databases](<https://devfeed.tech/sources/arxiv-databases.md>), [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>)

Topics: [systems](<https://devfeed.tech/topics/systems.md>), [sharding](<https://devfeed.tech/topics/sharding.md>), [Transactions](<https://devfeed.tech/topics/transactions.md>), [consistency](<https://devfeed.tech/topics/consistency.md>), [performance-engineering](<https://devfeed.tech/topics/performance-engineering.md>)

Tags: [compaction](<https://devfeed.tech/tags/compaction.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [cs-db](<https://devfeed.tech/tags/cs-db.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [databases](<https://devfeed.tech/tags/databases.md>), [directory](<https://devfeed.tech/tags/directory.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [distributed-databases](<https://devfeed.tech/tags/distributed-databases.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [engine](<https://devfeed.tech/tags/engine.md>), [execution](<https://devfeed.tech/tags/execution.md>), [file-system](<https://devfeed.tech/tags/file-system.md>), [lifecycle](<https://devfeed.tech/tags/lifecycle.md>), [locality](<https://devfeed.tech/tags/locality.md>), [management](<https://devfeed.tech/tags/management.md>), [memory](<https://devfeed.tech/tags/memory.md>), [metadata](<https://devfeed.tech/tags/metadata.md>), [metadata-management](<https://devfeed.tech/tags/metadata-management.md>), [mvcc](<https://devfeed.tech/tags/mvcc.md>), [performance](<https://devfeed.tech/tags/performance.md>), [processing](<https://devfeed.tech/tags/processing.md>), [system](<https://devfeed.tech/tags/system.md>)

## AI overview

MetaDB adapts a distributed transactional database to file-system metadata workloads by exploiting directory-tree structure, varied consistency needs, and clustered deletions. Its design combines tree-topology-based sharding and execution, semantic-aware off-critical-path processing, and a lifecycle-aware storage engine with in-memory MVCC and locality-aware compaction. The abstract reports 2.2-4.1x the throughput of Baidu's previous general-purpose database while using half as many metadata machines. It says MetaDB has run in production for over five years and supports more than 1,000 metadata nodes, tens of trillions of records, and exabyte-scale storage in one cluster.

## Source excerpt

arXiv:2610.32247v1 Announce Type: cross Abstract: Storage systems in production increasingly rely on distributed databases for metadata management, yet our experience at Baidu shows that treating a general-purpose database as a black box leaves substantial performance and efficiency untapped. File-system metadata exhibits directory-tree locality, differentiated consistency requirements, and clustered deletions that general-purpose databases largely ignore. We thus propose MetaDB, a metadata-aware distributed transactional database that serves as the shared metadata layer for Baidu's large-scale storage systems. MetaDB addresses three key mismatches between general-purpose databases and metadata workloads: Data Model Mismatch, Transaction Model Mismatch, and Storage Implementation Mismatch. To bridge these gaps, MetaDB combines (1) tree-topology-induced sharding and execution, (2) semantic-aware off-critical-path processing, and (3) a lifecycle-aware storage engine with in-memory MVCC and locality-aware compaction. MetaDB achieves 2.2x-4.1x the throughput of our previous general-purpose database and halves the number of metadata machines. Deployed in production at Baidu for over five years, MetaDB unifies metadata management across the company's storage fleet and scales to over 1,000 metadata nodes, tens of trillions of metadata records, and exabyte-scale storage in a single cluster.