Rate This Document
Findability
Accuracy
Completeness
Readability

Binlog writeset_history Optimization

Application scenario: MySQL write-only OLTP

Technical principle: The std::map used by m_writeset_history is replaced with the hash map data structure to reduce the time complexity of insertion and search to O(1), improving efficiency.

Performance metric: The sysbench write-only tests show that the feature can improve the performance of Percona-Server 5.7.44-53 running on a container with 8 vCPU and 16 GB memory by 5%.