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

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

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

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

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

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

edited Jan 1, 1970
阿渊@SelectDB (没回帖直接加我主页微信)9360
answered Jul 28, 2025
Related Questions
多张表使用colocate join,如何设计?
1 answers
2.1.7 版本routine load 写入问题
1 answers
doris2.1.11使用外部目录,用catalog的数据创建异步视图,没有数据,需要强制手动刷新才行
1 answers
SET PROPERTY FOR 'user' 'exec_mem_limit' = '147483648'不起作用。
1 answers
Doris 2.1 倒排索引(不分词) 使用 in方式 查询1000个id 速度慢
1 answers
doris fe挂掉,报错(JE 18.3.12) Disk usage is not within je.maxDisk or je.freeDisk
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 中文技术论坛.