Storage Layer
📄️ State Migration
As more blocks are added to the blockchain, chain data also pile up. Chain data are necessary for node operation, so they are stored in the node storage as a data structure called trie, and ultimately in a database called LevelDB. So with more blocks, comes more chain data in the storage, along with increasing cost. Klaytn, therefore, provides a feature called State Migration that allows you to reduce the amount of required storage space.
📄️ StateDB Live Pruning
StateDB Live Pruning is a new technique to resolve the same problem as State Migration (data in the state trie keeps accumulating).