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

Claim 8:
9. A database import and export management node, comprising: a processor, wherein the processor is configured to:
after receiving an export request for exporting data from a distributed database, acquire 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;
notify, according to the export table distribution information, the corresponding database that the corresponding database performs a data export operation;
after determining that the corresponding database completes the data export operation, send the active transaction list to a database agent node of the corresponding database to instruct the database agent node to generates 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, import the data exported by the corresponding database into a predetermined database and instruct the predetermined database to execute the data consistency reverse compensation statement.