mysql分块批量插入数据(insert)性能分析
#encoding=utf8import pymysqlimport stringimport randomimport timedef get_ran_str(): return ''.join(random.sample(string.ascii_letters + string.digits, 16))def get_values_exp(count): exp = [] for i in range(0, count): name = ...