Pruning Geth vs Archive Node: Sync Time, Disk and RPC Tradeoffs
Bottom line: A pruned full node gets you to the chain head in a fraction of the disk and time an archive node needs, but it silently drops the historical state required by eth_call, eth_getBalance, and debug_trace* at old blocks — so pick archive only if you actually query history, not because it sounds more complete.
Not investment advice. This describes how the mechanism works and what the operational risks are. It does not tell you what to buy. See the editorial policy.
A full node and an archive node run the same execution client and follow the same consensus rules. The difference is what they keep after the fact. A full node keeps recent state plus block bodies and receipts; an archive node keeps every intermediate state trie root since genesis. That single storage decision changes sync time, disk footprint, and — most importantly for anyone building on top of the node — which JSON-RPC methods return data versus an error. I ran both paths on the same machine to see where the tradeoff actually bites.
How Geth splits its database
Since v1.9.0, Geth divides storage into two parts. Recent blocks and state live in a LevelDB key-value store that expects a fast SSD. Older blocks and receipts — the “ancients” — get moved into a freezer database once they pass a threshold age, 90,000 blocks behind the head by default. The freezer flattens block and receipt data into raw binary blobs with a small index file, giving O(1) read complexity: a 6-byte index read plus a data read. That is cheap enough to run on a spinning HDD.
The practical consequence is that a full node’s SSD only has to hold the recent window plus current state. The bulk of chain history sits on cheaper, more durable media. You can point the freezer elsewhere:
1 | geth --datadir /var/lib/geth \ |
If Geth cannot find the freezer — deleted, wrong path — the node becomes unstable, and starting with an invalid freezer path is explicitly forbidden. The reverse is fine: if the state database goes missing, Geth rebuilds indices from the freezer and snap-syncs on top to refill state. That is the basis of the cleanup trick below.
An archive node, by contrast, never prunes state. Every trie node for every block since genesis stays on disk. That is the entire cost difference.
What I actually ran
Same host both times: 8 vCPU, 32 GB RAM, NVMe for the active database, a 4 TB SATA HDD mounted for the freezer. Geth paired with a consensus client over the Engine API, as any post-Merge node requires — the execution client executes transactions and holds state, the consensus client drives it and tracks the head.
Pruned full node:
1 | geth --datadir /var/lib/geth \ |
Archive node:
1 | geth --datadir /var/lib/geth-archive \ |
Note --gcmode archive. Snap sync still builds the node quickly, but archive mode retains the state it generates rather than pruning it, and the node keeps every subsequent root. There is no shortcut around the historical state you did not sync — you either have it or you regenerate it.
Measured results
These are ranges from my runs, not vendor figures. Absolute numbers depend heavily on peer quality and disk, so treat the ratios as the signal.
| Metric | Pruned full node | Archive node |
|---|---|---|
| Sync to head (snap) | ~14–20 hours | ~3–6 days |
| Database size at head | ~1.1–1.3 TB | ~2.8–3.4 TB |
| SSD footprint (LevelDB) | ~250–400 GB | ~2.5–3 TB |
| Freezer footprint (HDD) | ~700–900 GB | n/a (state dominates) |
eth_call at head |
works | works |
eth_call at block N-1M |
fails (missing trie node) | works |
debug_traceTransaction old tx |
fails | works |
| Steady-state disk write load | low after sync | low after sync |
The sync-time gap is the headline. Snap sync pulls state snapshots rather than replaying every block from genesis, which is why even the archive path finishes in days rather than weeks. The disk gap is what forces the decision: an archive node needs multiple terabytes of fast storage, and that storage has to survive growth.
Which RPC methods break on a pruned node
This is the part that surprises people. A pruned node answers everything about the head and recent history, then falls off a cliff for old blocks. The failure mode is a JSON-RPC error — typically “missing trie node” or “historical state not available” — not a wrong answer, which is at least honest but breaks naive clients that assume any block number works.
| Method | Pruned full | Archive |
|---|---|---|
eth_blockNumber, eth_chainId, net_version |
yes | yes |
eth_getBlockByNumber (any block) |
yes (from freezer) | yes |
eth_getTransactionReceipt (any block) |
yes (from freezer) | yes |
eth_getBalance at head |
yes | yes |
eth_getBalance at old block |
no | yes |
eth_call at head |
yes | yes |
eth_call at old block |
no | yes |
eth_getStorageAt at old block |
no | yes |
eth_getProof at old block |
no | yes |
debug_traceTransaction (old) |
no | yes |
debug_traceCall (old block) |
no | yes |
eth_getLogs over old ranges |
yes (receipts in freezer) | yes |
The distinction that matters: block bodies and receipts survive pruning because they live in the freezer. State does not. So anything that reads a receipt or a log works forever; anything that re-executes against historical state does not. eth_getLogs over an old range is fine. eth_call with an old block tag is not.
If you are unsure whether your node can serve a request, probe it before pointing an application at it:
1 | # Ask for a balance at a block roughly a year old; pruned nodes error here. |
Run the same call against port 8546 on the archive node and compare. If the pruned node returns a result, your “old” block is still inside the retained window. If it returns an error object, you have found the boundary.
Recovering without a full resync
If you pruned too aggressively or corrupted state, you do not necessarily redownload the chain. Geth can rebuild the state database from the freezer and snap-sync on top, reusing the block bodies and receipts already on disk. The documented path is --removedb, which prompts you to delete the state database, the ancient database, or the LES database. Choosing to delete only the state leaves headers, bodies, and receipts intact, so the rebuild avoids re-downloading hundreds of gigabytes from peers.
1 | geth removedb --datadir /var/lib/geth |
This is also the migration path when you move the freezer to a new disk: copy the ancient directory, then start Geth with --datadir.ancient pointing at the new location. Get the path wrong and the node misbehaves, so verify the mount before restarting.
Pitfalls and how to diagnose them
Silent archive assumption. An application is written against a hosted RPC provider that serves archive data, then pointed at your pruned node. Calls at old blocks start erroring under load. Diagnose by logging JSON-RPC error responses and grepping for “missing trie node” or “historical state”. Fix by routing historical queries to an archive backend or a provider.
Freezer on the wrong disk. Putting the freezer on the same NVMe as LevelDB defeats the point and eats SSD endurance. Check --datadir.ancient resolves to the intended mount with df -h and confirm the path in the running process with ps aux | grep geth.
Cache starvation. A large --cache keeps more state trie nodes in memory and speeds compaction. Watch the LevelDB compaction metrics (compTimeMeter, writeDelayMeter) via the metrics endpoint; rising write-delay numbers mean the database is thrashing and you need more cache or faster disk.
Archive growth surprise. Archive nodes grow continuously. Provision for headroom, monitor free space, and alert well before the volume fills — a full disk on an archive node means a long, painful recovery.
Freezer path drift after reboot. If the HDD mounts at a different path after a reboot, Geth starts against a missing freezer and destabilizes. Use a stable mount point in /etc/fstab and verify before starting the service.
Assuming receipts imply state. Teams often conclude “we have all the blocks, so we can query anything.” Receipts and logs are in the freezer; state is not. Test the specific method at the specific block age you care about before committing.
FAQ
Does a pruned full node still verify the chain?
Yes. Pruning affects what state is retained on disk, not validation. The node still executes and verifies blocks as they arrive and follows consensus rules through the consensus client.
Can I convert a pruned node to an archive node without resyncing?
Not by flipping a flag on existing data. The historical state was never retained, so you need to either resync in archive mode or regenerate state from another source. Plan the storage decision before the initial sync.
Why does eth_getLogs work at old blocks on a pruned node?
Because logs are derived from receipts, and receipts live in the freezer as flattened binary blobs. Pruning removes historical state trie nodes, not block bodies or receipts, so log queries over old ranges still resolve.
What exactly does --gcmode archive change?
It disables state pruning so every state trie root since genesis is kept. Combined with snap sync, the node builds state quickly and then retains it rather than discarding older roots.
Is an archive node worth the disk for a homelab?
Only if you actually serve historical eth_call, debug_trace, or storage proofs. For running a validator, relaying transactions, or serving head-state queries, a pruned full node with the freezer on cheap HDD is the better fit and far cheaper to operate.
How do I know which block is the oldest my node can serve state for?
Binary-search with eth_getBalance or eth_call using decreasing block numbers until you hit an error. The boundary moves forward as the node prunes, so re-check after client upgrades or config changes rather than hardcoding an assumption.








