先看結果:7分鍾500萬數據。

優化步驟 :
1.增加參數 useServerPrepStmts=false rewriteBatchedStatements=true useCompression=true

2.第二步,增加寫入量。 默認的100太小,改成合適的寫入量。

原文鏈接:https://blog.csdn.net/pingsha_luoyan/article/details/109047690

優化步驟 :
1.增加參數 useServerPrepStmts=false rewriteBatchedStatements=true useCompression=true

2.第二步,增加寫入量。 默認的100太小,改成合適的寫入量。

原文鏈接:https://blog.csdn.net/pingsha_luoyan/article/details/109047690
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。