mysqlのPT-アーカイバアーカイブツール

豊富なパラメータは、元のデータがターゲットライブラリに対応するために、事前に良い睡眠の間隔を作成、削除するかどうかを指定することができます

 

PT-アーカイバ--source H = 127.0.0.1、U =ルート、P = root_pass、P = 3306、D = dba_test、T = T2 --dest H = 127.0.0.1、P = 3306、U =ルート、P = root_pass、D = dba_test、T = t2_201905 --progress 5000 --no-チェック文字セット--where "1 = 1" --statistics --charset = UTF8 --limit = 10000 --txnサイズ1000 --no -delete
 
PT-アーカイバ--source H = 127.0.0.1、U =ルート、P = root_pass、P = 3306、D = dba_test、T =ユーザ--dest H = 127.0.0.1、P = 3306、U =ルート、P = root_pass、D = dba_test、T = user_201905 --progress 10000 --no-文字セットをチェック--where --statistics --charset = UTF8 --limit = 10000 --txnサイズ1000 "<10000 ID" 
 
 

おすすめ

転載: www.cnblogs.com/mhabbyo/p/10948818.html