このページは英語からの機械翻訳を使用しており、誤りや不明瞭な表現が含まれている可能性があります。最も正確な情報については、オリジナルの英語版をご覧ください。頻繁な更新のため、一部のコンテンツはオリジナルの英語になっている可能性があります。Crowdinでの取り組みに参加して、このページの翻訳改善にご協力ください。 (Crowdin translation page, Contributing guide)
Optimize Node Storage
Kaia v2.1.0 introduces two complementary storage optimization features that can significantly reduce disk space requirements:
- Database Compression: Reduces storage by compressing repetitive block data
- FlatTrie State Scheme: Experimental feature that drastically reduces archive node state database size
This guide explains how to apply these optimizations to your Kaia node.
Database Compression
Database compression uses LevelDB's built-in Snappy compression to reduce the size of block headers, transaction bodies, and receipts—which often contain repetitive data like zero-padding in ABI-encoded transactions.
Expected savings:
- Full nodes: ~2TB reduction (from ~4.2TB to ~2TB on Mainnet)
Prerequisites
- Kaia v2.1.0 or higher
- For manual compaction: sufficient free disk space and ability to accept sustained disk I/O (see Resource Impact section below)