当前位置:网站首页>Clickhouse Filling the Pit 3: Left Join changed to Right Join, resulting in incorrect statistical results
Clickhouse Filling the Pit 3: Left Join changed to Right Join, resulting in incorrect statistical results
2022-08-03 14:45:00 【IT source brother】
Recently encountered a big pit, because the ClickHouse large table is associated with a small table, if the large table is placed on the right, the performance will drop rapidly, and it will not even be executed.What I reported here is "Over 16G abnormal", so I naturally thought of putting the big table on the left, and then changing the Left Join to Right Join. This logic is correct in MySQL, but I didn't expect that the results calculated by ClickHouse are actually quite different., stepped on a big pit.I will explain the problem in detail below.
Please see the issue on gitbub: Why LEFT JOIN RIGHT JOIN return different result? How to resolve it? · Issue #14160 · ClickHouse/ClickHouse ·GitHub
The description of this encounter is basically the same as my situation. I use a distributed table and count statistical conditions, and it turns out that the amount of data is allDoubled the number, and carefully checked the reason. I found the association of distributed tables. ClickHouse actually went to each local table to check the association.
边栏推荐
- 你把 浏览器滚动事件 玩明白
- 哥斯拉加密WebShell过杀软
- The difference between servlet and jsp _ the difference between servlet and class
- C语言将GLib库添加到CMake工程中
- varchar2 and varchar2(char)_datetime data types
- PAT乙级-B1010 一元多项式求导(25)
- 网络通信的过程
- [A summary of the sorting and use of activation functions in deep learning]
- [web penetration] detailed explanation of CSRF vulnerability
- 正则表达式入门一
猜你喜欢
随机推荐
petri网-1、概论
关于 vditor 可否同步飞书文档问题
chrome浏览器对应驱动_chrome手机浏览器
微服务的快速开始(nacos)最全快速配置图解
如何使用matlab实现分段函数「建议收藏」
CVPR 2022 | Predicting Skeletons from Human Meshes, True Physiological Skeletons!
你把 vite打包 玩明白
正则表达式入门一
【常见 error】Vivado 综合出现中断、失败、“PID not specified”
阿里大牛最新总结分享的高并发编程核心笔记(终极版),高并发系统架构场景一应俱全
MATLAB中writetimetable函数用法
选择合适的 DevOps 工具,从理解 DevOps 开始
使用百度EasyDL实现施工人员安全装备检测
varchar2和varchar2(char)_datetime数据类型
大型连锁百货运维审计用什么软件好?有哪些功能?
兆骑科创创业大赛,双创服务平台,线上直播路演
兆骑科创高层次人才引进平台,创新创业赛事活动路演
使用alarm函数实现sleep,使用alarm函数实现对阻塞操作设置超时
MySQL【视图】
LeetCode169:多数元素