CnosDB客户端的默认并发度是多少?

huangapple go评论43阅读模式
英文:

What is the default concurrency of CnosDB client?

问题

我正在连接到一个CnosDB集群,但想要增加客户端的并发性。在文档中找到了这个参数:

-t --target-partitions 可选;执行查询的分片数,增加该数值可以增加并发性。默认情况下未指定。

如果未指定,默认的并发级别是多少?是1还是其他数字?

英文:

I'm starting a connection to a CnosDB cluster but would like to increase the concurrency of the client. Having found this parameter from the doc:

> -t --target-partitions Optional; the number of slices to execute the query, increasing which can increase concurrency. Not specified by default.

If not specified, what is the default concurrency level? 1 or other number?

答案1

得分: 2

当客户端在没有目标分区的情况下启动时,它会检查计算机上的 CPU 核心数量,并将其设置为这个值。稍后我们将更新文档。

英文:

When the client starts without target partions, it checks the number of cpu cores on the computer and sets it to this value.We'll update the document later

huangapple
  • 本文由 发表于 2023年2月16日 19:02:40
  • 转载请务必保留本文链接:https://go.coder-hub.com/75471320.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定