EN

History and Clio

4 minDifficulty Checked 2026-11-10
Key takeaways
  • By default xrpld keeps the most recent 2,000 ledger versions and deletes older ones.
  • A full history server keeps everything. That was about 39 TB in January 2026.
  • Clio serves validated data from its own database and forwards the rest to xrpld.

A new ledger appears every few seconds. Each one adds to the pile of history. Keep all of it and the pile gets enormous.

Good news: a server does not need the pile to do its job. Every ledger carries the full current picture, every balance and every setting. To process new transactions, the latest ledger is enough.

So by default, xrpld tidies up after itself. It keeps the most recent 2,000 ledgers and throws away older ones. The current state is always kept.

The catch is memory. A server can only answer questions about history it still has. Ask a tidy server about a payment from last year and it says it cannot find it. The payment still happened. That server no longer has the page.

Some servers keep everything. These are full history servers. They are expensive to run. A few operators offer them as a public service.

Then there is Clio. Think of xrpld as a busy clerk who does everything: talks to other servers, checks transactions, answers the phone. Clio takes over the phone. It keeps its own tidy copy of confirmed records and answers lookups from that. It stores the same history in much less space. Several Clio servers can share one copy.

Clio only knows confirmed data. For anything live, such as sending a transaction, it passes the request to xrpld and relays the answer.

Check yourself3 questions
1. Your server keeps 2,000 ledgers. Someone asks it about a transaction from last year. What does it say?
2. Does a server need full history to process new transactions?
3. Which request does Clio always forward to xrpld?
Sources
Next lessonRunning a validator4 min