Questions tagged [pruning]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
0 answers
65 views

Is pruning working in substrate?

I am running a Polkadot-Node and have tried --state-pruning 256 and --pruning=1000 but I keep seing 5,000 sst files one month old that should have removed. 256 or 1,000 blocks is less than one day so ...
nico's user avatar
  • 21
7 votes
1 answer
182 views

What's the fastest way to sync a node only keeping full state for the last N blocks?

I need to only keep state for the last few blocks, but I don't want to wait for the full sync of the node, is there a way to do that faster than by using --sync=full? Because it seems like all the ...
Vlad Markushin's user avatar
4 votes
1 answer
207 views

State Pruning: Archive-Canonical vs Archive-Finalized

Currently in substrate there is a possibility to set state pruning to "archive-canonical" or "number". In docs it states, that these values will cause to: archive-canonical - Keep ...
mnems's user avatar
  • 41
3 votes
1 answer
203 views

How to prune sibling blocks?

Testing some behaviors on a collator, I often end-up with [🌗] Block import error: State Database error: Too many sibling blocks inserted Is there way to remove those siblings from the database ?
Crystalin's user avatar
  • 781
9 votes
1 answer
237 views

Is there a way to prune blocks/transactions from the database

My understanding is that --pruning remove the old trie nodes but does not delete the content of the blocks, is there a way to also delete the blocks/transaction up to some point and only keep states ...
Syed's user avatar
  • 278