1. 程式人生 > >mysql組複製需要的server配置

mysql組複製需要的server配置

gtid,slave updates logged,binary log,replication information repositories=table,–transaction-write-set-extraction=XXHASH64 這個引數是在些日誌到二進位制日誌的時候,同時收集write set,write set是基於每行的主鍵。 並行複製 設定slave_parallel_workers大於0開啟並行複製,slave_preserve_commit_order=1 保證順序, slave_parallel_type=LOGICAL_CLOCK 上面的引數在開啟並行複製的時候都需要開啟。