Patent ID: 11928089
Assignee: ZTE CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 15:
16. A non-transitory storage medium, which is configured to store computer programs, wherein when executed, the computer programs are configured to execute the following steps:
after receiving an export request for exporting data from the distributed database, acquiring an active transaction list and export table distribution information at a current moment, wherein the active transaction list is used for identifying a completion degree of a current data import and export operation, and the export table distribution information is used for identifying a database that needs to export the data;
notifying the corresponding database that the corresponding database performs a data export operation according to the export table distribution information;
after determining that the corresponding database completes the data export operation, sending the active transaction list to a database agent node of the corresponding database to instruct the database agent node to generate a data consistency reverse compensation statement according to the active transaction list and a current log of the corresponding database; and
after receiving the data consistency reverse compensation statement returned by the database agent node, importing the data exported by the corresponding database into a predetermined database and instructing the predetermined database to execute the data consistency reverse compensation statement.