Patent ID: 11868315
Assignee: HUAWEI CLOUD COMPUTING TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 8:
9. A region node, comprising:
a processor; and
a non-transitory computer readable storage medium storing programing for execution by the processor, the programing including instructions to:
reserve a first region of a database, wherein the first region is blank and is not used for current data storage, and the first region is reserved for storing data of a first key-value type of a plurality of key-value types, and the first region is a first key-value range between a first key-value and a second key-value, and wherein reserving the first region of the database comprises:
pre-estimating, according to a type of currently stored data, a second key-value range and reserving the first region to have the first key-value range according to the pre-estimating to determine that that the currently stored data does not fall into the blank first region, wherein the type of currently stored data is the first key-value type of the plurality of key-value types;

when first data of the first key-value type is to be stored in the first region, receive a region split command, wherein the region split command comprises split point information of the first region;
split the first region into at least two second regions according to the split point information;
after splitting the first region into the at least two second regions, store the first data of the first key-value type in the at least two second regions; and
instruct to record, in a metadata table, location information of the region node, so that the region node on which the at least two second regions are located can be found according to the metadata table.