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

【已解决】doris 2.0 删除数据

Asked Nov 8, 2024 Modified Nov 11, 2024
Viewed 101
2.0 faq

请问下doris duplicate 表删数据是不是一个比较重的操作,例如有个月分区的表,要删除某个分区中的某一天的数据,是不是会将整个分区的数据重写一次?

推荐哪种比较高效的方法

  1. 直接delete xx where date=xxx,
  2. 先select分区数据出来过滤掉要删的,再覆盖回原分区
  3. 其它
edited Nov 11, 2024
耳东11
asked Nov 8, 2024
1 Answers

直接delete更快,标记删除,不会重写。

edited Jan 1, 1970
黄海军@SelectDB5218
answered Nov 8, 2024
Related Questions
Alter routine load后参数变动
1 answers
Doris Routine Load重置offset
1 answers
我的doris版本为2.0.6 在备份操作时,会导致所以fe节点宕机,这种情况该怎么排查,为什么备份会导致这个问题?
1 answers
Doris 2.0.15,3FE、6BE(3BE mix角色 3BE computation角色)3个mix角色的BE节点CPU使用率100%
1 answers
Doris Routine Load自动恢复机制
1 answers
各位大哥在通过k8s安装doris3.0的时候,有没有遇到cg启动不起来,提示Set max number of open file descriptors to a value greater than 60000.
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 中文技术论坛.