Apache Doris 中文技术论坛
Questions Tags Users Badges

多张表使用colocate join,如何设计?

Asked Mar 2 Modified Jan 1, 0001
Viewed 34
2.1

在doris中,有表a, b, c, a.id = b.a_id; b.id = c.b_id , 启用 colocate join, 期望所有关联相同a.id的数据落在同一个物理节点上,如何设计这三张表

edited Jan 1, 0001
fushouhai1
asked Mar 2
1 Answers

满足 colocate join的要求就行:
image.png

edited Jan 1, 1970
阿渊@SelectDB (没回帖直接加我主页微信)9560
answered Mar 4
Related Questions
Doris CBO 导致的BE节点内存规律性波动问题
使用UNIQUE KEY建表时候,用日期建分区,日期字段不是跟在id后面,一定要列出日期字段前面所有字段才能建分区吗
1 answers
ROUTINE LOAD导入kafka数据,当kafka是cdc数据,JSON格式,带删除标识的:op:d
1 answers
jdbc catalog 地址修改有残留
能使用ROUTINE LOAD将kafka数据批量同步到doris中吗
1 answers
doris 2.1 stream load 使用group commit 有2个报错
1 answers

Terms of service Privacy policy

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2026 Apache Doris 中文技术论坛.