Closed
Description
Problem
MySQL 8.0+: The value of Innodb_history_list_length steadily increases after running the program
The increase in Innodb_history_list_length is expected to have the following effects on MySQL
- Increased response time to user query
Bug description
python-mysql-replication/pymysqlreplication/binlogstream.py
Lines 638 to 655 in 62a009c
According to the logic written in binlogstream.py
After executing a query through the cursor, the transaction remains in place until the program exits
the transaction is being maintained, the Innodb_history_list_length value will continue to increase when DML is performed.
Solution
After executing the query, COMMIT
the transaction so that it can be terminated normally.
Metadata
Metadata
Assignees
Labels
No labels