| 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 |

|
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.
|