当前位置:网站首页>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.
边栏推荐
- LeetCode169:多数元素
- 如何在 UE4 中制作一扇自动开启的大门
- 15 years of software architect experience summary: In the ML field, 5 pits that beginners have stepped on
- 兔起鹘落全端涵盖,Go lang1.18入门精炼教程,由白丁入鸿儒,全平台(Sublime 4)Go lang开发环境搭建EP00
- PAT乙级-B1009 说反话(20)
- APT组织最喜欢的工具 Cobalt Strike (CS) 实战
- Top 10 free proxy IP software_Domestic static IP proxy software
- 数据科学家 Agnis Liukis :在ML领域,初学者踩过的5个坑
- STL简介
- 英文邮件总结
猜你喜欢

Tao Te: Engine or baggage?

阿里大牛最新总结分享的高并发编程核心笔记(终极版),高并发系统架构场景一应俱全

兔起鹘落全端涵盖,Go lang1.18入门精炼教程,由白丁入鸿儒,全平台(Sublime 4)Go lang开发环境搭建EP00

QImageReader

不安装运行时运行.NET程序

使用Jetty服务器和Axis2框架技术发布Webservice接口

数字孪生的4个最佳实践

APT组织最喜欢的工具 Cobalt Strike (CS) 实战

PAT乙级-B1018 锤子剪刀布(20)
![[A summary of the sorting and use of activation functions in deep learning]](/img/c2/abec82f4f1e8ce3c70b6d98b24e7eb.png)
[A summary of the sorting and use of activation functions in deep learning]
随机推荐
C语言将GLib库添加到CMake工程中
162_Power Query is a custom function for quickly merging tables in a folder TableXlsxCsv_2.0
第二讲 软件生命周期
[web penetration] detailed explanation of CSRF vulnerability
HCIP Day 16 Notes (SVI, Spanning Tree Protocol)
PostgreSQL V14中更好的SQL函数
蚁剑加密 WebShell 过杀软
阿里大牛最新总结分享的高并发编程核心笔记(终极版),高并发系统架构场景一应俱全
三元表达式实现多个条件的判断
利用华为云ECS服务器搭建安防视频监控平台【华为云至简致远】
动作条的多项复选
输出一个整数的二进制形式
【MATLAB项目实战】基于CNN_SVM的图像花卉识别
atrace和systrace的基本使用方法
位级运算之提取位级表示的最高位
可视化数据库设计软件有哪些_数据库可视化编程
MATLAB中writetimetable函数用法
【报错】import cv2 as cv ModuleNotFoundError: No module named ‘cv2
W11或W10系统如何进行休眠?
【实战】Next.js + 云函数开发一个面试刷题网站