Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用线程池并发检索TDengine时耗时逐渐增加,for循环执行检索耗时正常 #28947

Open
Johonnyr opened this issue Nov 27, 2024 · 1 comment
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@Johonnyr
Copy link

  • 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个查询,多次对比查询均如此,线程池检索的耗时会逐渐增加

@Johonnyr Johonnyr added help wanted Extra attention is needed question Further information is requested labels Nov 27, 2024
@Johonnyr
Copy link
Author

这是TDengine内的vgroup的数据,大概40多w个子表
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant