冷热分层中的废弃文件是否会被自动删除
#47786
Replies: 1 comment
-
中文问题建议在论坛提问 https://ask.selectdb.com/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我在doris的实践中使用了动态分区+冷热分层,数据写入doris一段时间之后会被迁移到s3存储。
但是我这边发现s3的数据存在冗余,即一个tablet的数据存在多份,且旧的版本不会被删除。
另外我在sql中执行删除某个分区的数据或者drop某个分区,s3上的文件也不会被删除。
想问一下目前doris是否有自动删除冷数据机制?在源码中看到有do_remove_unused_remote_files,但是由于日志过少,未能知道最后是否执行了不使用的冷数据删除的功能
Beta Was this translation helpful? Give feedback.
All reactions