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

主键模型 开启 merge-on-write 是否会导致 索引与实际数据不一致

Asked Jul 17, 2025 Modified Jan 1, 0001
Viewed 43
2.1 query

主键模型 开启 merge-on-write,是通过标记删除的方式 删除旧数据。
在 Compaction 的时候, 才会进行索引重建, 在重建之前, 旧的数据依旧在 索引上, 在查询的时候是否会存在扫描过多的数据块?

edited Jan 1, 0001
ljy9
asked Jul 17, 2025
1 Answers

查询时候会按打了删除标签过滤

edited Jan 1, 1970
阿渊@SelectDB (没回帖直接加我主页微信)9580
answered Jul 28, 2025
Related Questions
Doris 2.1.4版本,be节点崩溃重启后集群恢复很慢问题
1 answers
Doris2.1.4 be节点宕机,jemalloc相关问题
使用UNIQUE KEY建表时候,用日期建分区,日期字段不是跟在id后面,一定要列出日期字段前面所有字段才能建分区吗
1 answers
Doris CBO 导致的BE节点内存规律性波动问题
1 answers
ROUTINE LOAD导入kafka数据,当kafka是cdc数据,JSON格式,带删除标识的:op:d
1 answers
jdbc catalog 地址修改有残留
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 中文技术论坛.