Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

是否可以只保留最近30天的artifacts表数据 #1480

Closed
ma-pony opened this issue Jun 13, 2024 · 4 comments
Closed

是否可以只保留最近30天的artifacts表数据 #1480

ma-pony opened this issue Jun 13, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@ma-pony
Copy link
Contributor

ma-pony commented Jun 13, 2024

请描述该需求尝试解决的问题
长时间运行后,artifacts表占用磁盘空间过大

请描述您认为可行的解决方案
自动删除30天前的artifacts表数据

考虑过的替代方案
手动删除30天前的artifacts表数据

@ma-pony ma-pony added the enhancement New feature or request label Jun 13, 2024
@tikazyq
Copy link
Collaborator

tikazyq commented Jun 13, 2024 via email

@ma-pony
Copy link
Contributor Author

ma-pony commented Jun 14, 2024

后续版本会废弃artifact这个模型了

---- Replied Message ---- | From | @.> | | Date | 06/13/2024 18:41 | | To | crawlab-team/crawlab @.> | | Cc | Subscribed @.> | | Subject | [crawlab-team/crawlab] 是否可以只保留最近30天的artifacts表数据 (Issue #1480) | 请描述该需求尝试解决的问题 长时间运行后,artifacts表占用磁盘空间过大 请描述您认为可行的解决方案 自动删除30天前的artifacts表数据 考虑过的替代方案 手动删除30天前的artifacts表数据 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.>

我如果直接清空artifacts表,会对系统产生什么影响嘛

@tikazyq
Copy link
Collaborator

tikazyq commented Jun 14, 2024

建议不要直接清空,可以考虑将task id导出来,然后将其查询artifact的id,删除。直接删除可能会造成不可预料的问题

@ma-pony
Copy link
Contributor Author

ma-pony commented Jun 14, 2024

建议不要直接清空,可以考虑将task id导出来,然后将其查询artifact的id,删除。直接删除可能会造成不可预料的问题

好的好的

@ma-pony ma-pony closed this as completed Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants