A method for remote storage of node
metadata partition, which binds independent logical acceleration
pool for
object storage device process based on mechanical hard disk to remotely store
metadata. In the formatting stage, a
globally unique identifier is generated, virtual block devices are created for
database and log partition respectively, and acceleration
pool is connected; continuous
address space is divided into discrete storage objects according to preset object size, and a mapping relationship between logical offset and object and object internal offset is established;
database label and log clipping
record are written into corresponding objects of acceleration
pool. When a write request is received, log entries are written into log storage objects according to the mapping, and after the memory table is flushed as a sorted string table, the
database storage objects are written according to the mapping; when a read request is received, data is read from the acceleration pool according to the mapping relationship, and pre-reading cache is used for acceleration. The method can eliminate the
single point failure risk of local high-speed storage medium, realize the
pooling sharing and elastic expansion of storage resources, and guarantee the
metadata access performance.