US 12,353,743 B2
Storage method, storage device and storage system
Yufang Li, Xi'an (CN); Hao Yan, Xi'an (CN); Lijuan Xue, Xi-an (CN); Sha Shi, Xi'an (CN); and Wenbin Cao, Xi'an (CN)
Assigned to Samsung Electronics Co., Ltd., (KR)
Filed by SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed on Mar. 28, 2022, as Appl. No. 17/706,077.
Claims priority of application No. 202110799890.7 (CN), filed on Jul. 15, 2021.
Prior Publication US 2023/0024734 A1, Jan. 26, 2023
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0643 (2013.01) [G06F 3/0608 (2013.01); G06F 3/0641 (2013.01); G06F 3/0659 (2013.01); G06F 3/067 (2013.01)] 17 Claims
OG exemplary drawing
 
1. A storage method, comprising:
determining layers that are to be merged in a database;
determining a data block that is to be modified based on files of the layers that are to be merged, each of the files including a plurality of data blocks, the data block that is to be modified being from among the plurality of data blocks;
reading a corresponding data block in a memory and reorganizing the read data block, according to a key corresponding to the data block that is to be modified;
when a byte size of the reorganized data block exceeds a first preset value;
splitting the reorganized data block according to the first preset value;
replacing the data block that is to be modified in the memory with the split data block; and
storing the key and statistical information of the split data block in a corresponding file of the database.