mysql百萬級別數據批量插入
除去程序優化,在連接url上面寫上rewriteBatchedStatements=true開啓批量插入,mysql默認是不支持批量操作的
url=jdbc:mysql://127.0.0.1:3306/scada_1_2?rewriteBatchedStatements=true
百萬數據秒級插入,親測有效!
除去程序優化,在連接url上面寫上rewriteBatchedStatements=true開啓批量插入,mysql默認是不支持批量操作的
url=jdbc:mysql://127.0.0.1:3306/scada_1_2?rewriteBatchedStatements=true
百萬數據秒級插入,親測有效!
## spring security https://github.com/jitwxs/blog-sample/tree/master
https://blog.csdn.net/zhuizhufanxin123/article/details/103982940