Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我的 Java 应用程序尝试执行一个非常大的更新(大约 100K 行)时,它会收到以下错误:
connection 1 failed: java.sql.BatchUpdateException: Communications link failure Last packet sent to the server was 2008 ms ago.
如何确定 MySQL 对客户端施加的限制?限制是基于行数还是基于字节?
以及如何确定批量更新的大小?