在查询分布式表时使用distribute_group_by_no_merge = 1是否有任何副作用。当= 0和= 1时,它们会产生相同的结果吗
我正在处理一个查询,其中查询在distribute_group_by_no_merge = 0时会引发OOM错误。
可以做什么,以便我可以使查询工作。 设置max_threads = 4正在使我的查询起作用,并且当max_threads = 16or8时失败。
I am working on one query where query throws OOM error when distributed_group_by_no_merge =0.
What could be done so that I can make the query work.
setting the max_threads=4 is making my query work and failing when max_threads=16or8.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据文档 https:https:// clickhouse。 com/doc/en/operations/settings/settings/#分布式 - 逐日 - 毫米
结果相同,但是内存分配和网络用法是不同的,
0
值需要发起者节点上的更多RAM和NETAccording to documentation https://clickhouse.com/docs/en/operations/settings/settings/#distributed-group-by-no-merge
results shall the same, but memory allocation and network usage is different,
0
value require much more RAM and NET on initiator node