The bor snapshot inspect-ancient-db
command will inspect few fields in the ancient datastore using the given datadir location.
This command prints the following information which is useful for block-pruning rounds:
- Offset / Start block number (from kvDB).
- Amount of items in the ancientdb.
- Last block number written in ancientdb.
-
datadir
: Path of the data directory to store information -
keystore
: Path of the data directory to store keys -
datadir.ancient
: Path of the old ancient data directory