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

表按月进行分区使用delete删除时不指定PARTITION只在where后面过滤分区字段doris对自动推断出分区吗?

Asked Aug 29, 2024 Modified Jan 1, 0001
Viewed 73
2.1

表使用day字段按月分区,使用delete from table where day='2024-08-28'进行删除。
使用show delete查看发现partitionName是* 这是没有自动推断出分区全分区扫描了吗?
image.png

edited Jan 1, 0001
BingzZ11
asked Aug 29, 2024
2 Answers
  1. 正常会有分区裁剪
  2. 可以通过explain的partitions指标查看确认
explain delete from table where day='2024-08-28'
edited Jan 1, 1970
张彬华7698
answered Aug 29, 2024

image.png

edited Jan 1, 1970
BingzZ11
answered Aug 30, 2024
Related Questions
CCR 上游Doris fe master 切换,导致 fullsync
1 answers
关于: tablet 179822 has no queryable replicas的问题
1 answers
doris 倒排索引的标点符号问题
spark-doris-connector方式导入数据时总是提示read time out
1 answers
使用了窗口函数后查询出现问题
1 answers
滚动升级Doris集群从2.1.9,升级到4.0.4问题
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 中文技术论坛.