Skip to content

application.db growth / pruning #819

@tcharchian

Description

@tcharchian

Discussed in #817

Originally posted by tcharchian February 27, 2026

Task: application.db is growing unexpectedly; pruning does not appear to be effective. This impacts storage and performance.

Reports from multiple node operators indicate that block pruning is not reclaiming space as expected, which can result in continued growth of application.db and increased storage pressure. This issue tracks investigation, evidence gathering, and community-proposed mitigations.

Sustained application.db growth can lead to:

  • disk exhaustion and downtime
  • performance degradation
  • more operational overhead during maintenance and upgrades

Observations

  • Pruning may be configured, yet application.db continues to grow on some setups.
  • Similar symptoms have been reported by multiple independent hosts
  • The current state suggests a need to confirm whether this is:
    • a configuration issue,
    • expected retention behavior,
    • or a bug / unintended interaction

Goals

  • Identify the most likely cause(s) and validate them with reproducible evidence.
  • Produce a short guide with:
    • recommended pruning settings (where applicable),
    • safe maintenance steps (e.g., compaction guidance),
    • monitoring suggestions (growth rate, alert thresholds).
  • If a code-level change is justified, track it via linked PRs and governance-appropriate process.

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Accepted

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions