Besu, an Ethereum execution layer client, is optimized for minimal database growth (7-8 GiB/week) with default parameter --bonsai-limit-trie-logs-enabled
. It can use RAM for more block processing speed.
If you have 64 GiB of RAM or more, you can add --Xplugin-rocksdb-high-spec-enabled=true
for better performance.
A long-running Besu DB, started before trie-log limit was enabled, will have sizeable trie log storage. This can be reduced
with a one-off prune using the storage trie-log prune
subcommand, assuming Besu 24.7.0
or later.