Data storage method, medium, electronic device, and program product
AssigneeBeijing OceanBase Technology Co., Ltd.
InventorsZhoujia SUN, Lei ZHANG, Nifei BI, Tao HU, Quanwei WAN, Mingqiang ZHUANG
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing OceanBase Technology Co., Ltd.
InventorsZhoujia SUN, Lei ZHANG, Nifei BI, Tao HU, Quanwei WAN, Mingqiang ZHUANG
Estimating the term…
This specification provides a data storage method, a medium, an electronic device, and a program product. In this method, when processing to-be-written data, a server selects a data storage policy based on a condition of remaining target disk space. If the target disk space is sufficient, the server preferentially writes the data directly into the target disk space, and then uploads the data to an object storage system, to improve efficiency. If the target disk space is insufficient, the server reads a target file into an internal memory, performs a data append write operation in the internal memory, and directly uploads the target file from the internal memory to an object storage system after the data append write operation is completed, to avoid a data write exception due to the insufficient target disk space. Therefore, flexibility and reliability of data storage are improved.
A data storage method, applied to a storage service node, wherein the method comprises:
(canceled)
A non-transitory computer-readable storage medium, storing computer instructions, which when executed by a storage service node cause the storage service node to:
(canceled)
A storage service node, comprising a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, the storage service node is caused to:
Dependencies are inferred from the claim text.