taosdata/TDengine

execution time increases when using a thread pool for concurrent queries but remains normal when using a for loop

Open

#28,947 建立於 2024年11月27日

在 GitHub 查看
 (2 留言) (0 反應) (1 負責人)C (5,002 fork)batch import
help wantedquestion

倉庫指標

Star
 (24,849 star)
PR 合併指標
 (平均合併 1天 1小時) (30 天內合併 4 個 PR)

描述

  • server版本:3.3.3.0 ,3节点

  • jdbc驱动版本:3.4.0,驱动类型:com.taosdata.jdbc.ws.WebSocketDriver

  • nginx 配置截图: image

  • 数据库连接池截图,最小100个连接: 1732699526(1)

  • 线程池配置截图,核心线程100个: image

  • 代码截图: image

  • 线程池执行耗时: image image image

  • for 循环执行耗时: image

单次大概有84个查询,多次对比查询均如此,线程池检索的耗时会逐渐增加

貢獻者指南