更新时间:2023-12-02 19:24:10
将?rewriteBatchedStatements = true
添加到JDBC网址的末尾。它会给你带来严重的性能提升。请注意,这是特定于MySql的,不会对任何其他JDBC驱动程序产生任何影响。
Add ?rewriteBatchedStatements=true
to the end of your JDBC url. It'll give you a serious performance improvement. Note that this is specific to MySql, won't have any effect with any other JDBC drivers.