并发查询vertica数据库抛出缓冲区满了异常处理

  • Post author:
  • Post category:其他


记录并发查询vertica数据库抛出缓冲区满了异常处理:异常如下:cannot execute because the driver has not finished reading the current open ResultSet. The driver cannot finish reading the current ResultSet because its buffer (8192 bytes) is full. The current ResultSet must be fully iterated through or closed before another statement can execute

解决办法:

通过URL设置参数ResultBufferSize,默认是8192(8KB),调大一点,比如:819200(800KB)或者0表示不限制。

jdbc:vertica://localhost:5433/db?ResultBufferSize=0



版权声明:本文为qq_16139261原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。