当前位置:网站首页>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.
边栏推荐
- Mysql 生成排序序号
- Tao Te: Engine or baggage?
- 你把 浏览器滚动事件 玩明白
- The embassy in Iceland reminds Chinese citizens in Iceland to strengthen safety protection
- PAT乙级-B1018 锤子剪刀布(20)
- PAT乙级-B1013 数素数(20)
- 不安装运行时运行.NET程序
- redis的使用方法
- 15 years of software architect experience summary: In the ML field, 5 pits that beginners have stepped on
- 线程的状态
猜你喜欢

《深度学习》-学习笔记-1-机器学习基础

树莓派 USB摄像头 实现网络监控( MJPG-Streamer)

如何把MapGIS的区文件转为ArcGIS的SHAPE面文件

MySQL【存储过程与函数】

System learning Shell regular expressions

Lecture 2 Software Life Cycle

连亏四个月,赚不回电费,预制菜经销商恐成“韭菜”?

蚁剑加密 WebShell 过杀软

DeepLink在转转的实践

162_Power Query is a custom function for quickly merging tables in a folder TableXlsxCsv_2.0
随机推荐
PAT乙级-B1014 福尔摩斯的约会(20)
PostgreSQL V14中更好的SQL函数
Huffman tree
张乐:研发效能的黄金三角及需求与敏捷协作领域的实践|直播回顾
2022-随便学学
理解string类
正则表达式入门一
【问题】torch和torchvision对应版本
552个元宇宙App,70个搞社交,哪款真能交到朋友?
三元表达式实现多个条件的判断
GBase 8c数据库集群中,怎么替换节点呢?比如设置A节点为gtm,换到B节点上。
W11的右键如何改成和W10一样?(一行命令即可解决!)
想成为网络安全技术爱好者(可能是黑客)的话,需要看什么书?
Left index of all anagrams in leetcode/string (some permutation of s1 string is a substring of s2)
PAT乙级-B1008 数组元素循环右移问题(20)
工作流自动化,低代码是解决关键
【深度学习中的激活函数的整理与使用总结】
网络通信的过程
如何在 UE4 中制作一扇自动开启的大门
With 1000 lines of code statistics after the xi 'an housing prices, I have a startling discovery...