Core Protocolaccounts-db
AccountsDB
Also known asAccountsDb
The persistent storage layer for all Solana accounts. AccountsDB stores account data in memory-mapped AppendVec files, indexed by pubkey and slot. It supports fast lookups, handles account deduplication across slots, and periodically cleans up dead accounts. AccountsDB is the largest consumer of validator disk space.
Related terms
3Core Protocol
Bank
An in-memory representation of the accounts state at a specific slot. Each slot gets its own Bank that inherits from its...
Core Protocol
Snapshot
A serialized copy of the full accounts state at a rooted slot, used for fast validator bootstrapping. Full snapshots con...
Core Protocol
AppendVec
A memory-mapped, append-only file used by AccountsDB to store account data. Each AppendVec corresponds to a specific slo...