在查询分布式表时使用distribute_group_by_no_merge = 1是否有任何副作用。当= 0和= 1时,它们会产生相同的结果吗

发布于 2025-02-11 20:53:50 字数 144 浏览 1 评论 0原文

我正在处理一个查询,其中查询在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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

帝王念 2025-02-18 20:53:50

根据文档 https:https:// clickhouse。 com/doc/en/operations/settings/settings/#分布式 - 逐日 - 毫米

结果相同,但是内存分配和网络用法是不同的,0值需要发起者节点上的更多RAM和NET

According 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文