Skip to content

[Question] Database size increases significantly after sync compared to snapshot #6911

Description

@NabiKAZ

I have a question about database size optimization.

A snapshot of the TRON Lite FullNode database was around 70 GB. After syncing new blocks for a few days, the database size increased to around 100 GB.

  • 70 GB from day one until now
  • Two or three days of syncing 30 GB!!!

Why does the synced database become much larger than the snapshot? Is the snapshot generated after compaction or with some optimization process?

Is there any recommended method to reduce the size of an existing Lite FullNode database (for example, RocksDB compaction or cleanup be like snapshot existed.)?
Meanwhile, I only need the wallet balances.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions