zeta-chain / node

ZetaChain’s blockchain node and an observer validator client
https://zetachain.com
MIT License
157 stars 99 forks source link

application.db is growing too quickly #350

Open CharlieMc0 opened 1 year ago

CharlieMc0 commented 1 year ago

application.db seems to be growing too quickly.

It's currently 29GB in size.

29G ./application.db
1.3G    ./snapshots
2.7G    ./blockstore.db
3.8G    ./state.db
22G ./tx_index.db
36K ./evidence.db
1021M   ./cs.wal
59G .

The /home/zetachain/.zetacored/data directory has grown by about 55GB in the last 30 days even with pruning turned on. That'll be 660GB/year if growth continues at this pace.

CharlieMc0 commented 2 weeks ago

Bumping this issue

Data size from from Mainnet - June 2024

1.1G    ./cs.wal
20K     ./snapshots/metadata.db
24K     ./snapshots
20K     ./evidence.db
697G    ./tx_index.db
2.1T    ./application.db
91G     ./blockstore.db
229G    ./state.db
3.0T    .
brewmaster012 commented 2 weeks ago

Bumping this issue

Data size from from Mainnet - June 2024

1.1G    ./cs.wal
20K     ./snapshots/metadata.db
24K     ./snapshots
20K     ./evidence.db
697G    ./tx_index.db
2.1T    ./application.db
91G     ./blockstore.db
229G    ./state.db
3.0T    .

This is very big; what's the pruning setting and what is the first block available for this node? This can be queried like

curl https://zetachain-mainnet.g.allthatnode.com/archive/tendermint/status | jq '.result.sync_info.earliest_block_height'