The application relates to the technical field of
database operation and maintenance, in particular to a large transaction statistics implementation method based on a
distributed database binlog log, which is characterized in that target binlog log files and a statistics
time range are specified, a
shell script is combined with a log analysis tool and a
data processing tool to perform directional analysis on binlog logs of a
distributed database, transaction-related key information is extracted, including an operation table name, a
transaction type, an affected row number, a transaction execution duration and a transaction ID, large
transaction data of each table generated within a
specific time period is counted, the historical running state of the
database during an abnormal period can be quickly traced back, the table and related application of the large transaction causing the
abnormality can be accurately located, the
distributed database operation and maintenance efficiency and problem
troubleshooting accuracy are improved, and the method is suitable for operation and maintenance scenes of
open source or domestic distributed databases under an IOE background.