先看结果:7分钟500万数据。
优化步骤 :
1.增加参数userverprepstststststs=falserewriteBatchedStatements=trueuseCompression=true
2.第二步,增加写入量。默认情况下,100太小,改为适当的写入量。

先看结果:7分钟500万数据。
优化步骤 :
1.增加参数userverprepstststststs=falserewriteBatchedStatements=trueuseCompression=true
2.第二步,增加写入量。默认情况下,100太小,改为适当的写入量。