Embodiments of the present application disclose a
distributed transaction processing method,
system and device, which can avoid outdated
metadata and
transaction processing errors caused by outdated
metadata, improve
transaction processing efficiency, reduce computing, transmission and storage overhead, and ensure complete
fault tolerance and disaster tolerance of the
system. The
distributed transaction processing method comprises the following steps: firstly, starting a
distributed transaction GT and a transaction
branch CT of the distributed transaction GT on a computing node by using the computing node according to a command statement, the command statement comprising a
data definition language (DDL) statement or a
data manipulation language (DML) statement sent by a
client, and the local transaction
branch CT being completed on the computing node; secondly, obtaining a
parsing result by
parsing the command statement by using the computing node, the
parsing result comprising an internal representation and an execution state of the command statement; and finally, creating or modifying
metadata in a local metadata table by using the computing node according to the parsing result, the created or modified metadata being related to the command statement, and the metadata table being stored on the computing node.