Data update method, apparatus, and system, and storage medium
AssigneeHuawei Cloud Computing Technologies Co., Ltd.
InventorDaogang Qu
Life of this patent
Estimating the term…
Abstract
This application discloses a data update method. The method includes modifying at least one piece of first data in the first primary data set into at least one piece of second data. The method further includes generating a logical log file, which includes first information, second information, and the at least one piece of second data. The first information indicates the first primary data set. The second information indicates the at least one piece of first data. The method further includes sending the logical log file to the disaster recovery site. The logical log file is used to indicate the disaster recovery site to update the at least one piece of first data in the first disaster recovery data set to the at least one piece of second data.
Claims20
A method for updating data, the method comprising:
- modifying at least one piece of first data in a first primary data set into at least one piece of second data, the first primary data set comprising a row of data in a primary database in a primary site included in a cloud service system comprising the primary site and a disaster recovery site, wherein the first primary data set comprises multiple pieces of first data, each of the multiple pieces being a column of data in the row of data, and wherein the disaster recovery site comprises a disaster recovery database comprising a first disaster recovery data set that is the same as the first primary data set;
- generating a logical log file comprising first information, second information, and the at least one piece of second data, wherein the first information indicates the first primary data set, and the second information indicates the at least one piece of first data;
- and
- sending the logical log file to the disaster recovery site, wherein the logical log file is used to indicate the disaster recovery site to update the at least one piece of first data in the first disaster recovery data set to the at least one piece of second data.
A method of updating data, the method comprising:
- receiving a logical log file comprising first information, second information, and at least one piece of second data, wherein the first information indicates a first primary data set comprising a row of data in a primary database in a primary site included in a cloud service system comprising the primary site and a disaster recovery site, wherein the first primary data set comprises multiple pieces of first data, each of the multiple pieces being a column of data in the row of data, and wherein the disaster recovery site comprises a disaster recovery database comprising a first disaster recovery data set that is the same as the first primary data set, wherein the second information indicates at least one piece of first data in the first primary data set, and wherein the at least one piece of first data in the first primary data set is modified into the at least one piece of second data;
- and
- updating the at least one piece of first data in the first disaster recovery data set to the at least one piece of second data based on the logical log file.
A data update apparatus, comprising:
- a memory configured to store instructions;
- and
- one or more processors coupled to the memory, wherein when executed by the one or more processors, the instructions cause the apparatus to:
- modify at least one piece of first data in a first primary data set into at least one piece of second data, the first primary data set comprising a row of data in a primary database in a primary site included in a cloud service system comprising the primary site and a disaster recovery site, wherein the first primary data set comprises multiple pieces of first data, each of the multiple pieces being a column of data in the row of data, and wherein the disaster recovery site comprises a disaster recovery database comprising a first disaster recovery data set that is the same as the first primary data set;
- generate a logical log file, wherein the logical log file comprises first information, second information, and the at least one piece of second data, the first information indicates the first primary data set, and the second information indicates the at least one piece of first data;
- and
- send the logical log file to the disaster recovery site, wherein the logical log file is used to indicate the disaster recovery site to update the at least one piece of first data in the first disaster recovery data set to the at least one piece of second data.
Dependencies are inferred from the claim text.