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

[Feature][All] Truncate non-domain tables #8276

Open
2 of 3 tasks
sstojak1 opened this issue Jan 21, 2025 · 0 comments
Open
2 of 3 tasks

[Feature][All] Truncate non-domain tables #8276

sstojak1 opened this issue Jan 21, 2025 · 0 comments
Labels
improvement type/feature-request This issue is a proposal for something new

Comments

@sstojak1
Copy link
Contributor

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Use case

As a developer, I want to avoid having excessively large raw/tool tables in DevLake, as they consume significant storage and may impact performance. I would prefer a mechanism to manage these tables efficiently, such as automatic deletion or truncation of old records, to keep the system optimized.

Description

Is it possible for DevLake to automatically delete or truncate non-domain tables? My understanding is that raw/tool tables are only required to transform data into domain tables. Once the data is transformed and pushed to domain tables, older records (beyond the most recent import) are no longer used.
We’re importing a large number of Jira boards (around 100) frequently, which is causing these raw tables to grow significantly. This issue isn't limited to Jira but applies to all tools supported by DevLake.
I’ve attached a screenshot showing an overview of the sizes for all our tables for reference.

Image

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@sstojak1 sstojak1 added the type/feature-request This issue is a proposal for something new label Jan 21, 2025
@dosubot dosubot bot added the improvement label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement type/feature-request This issue is a proposal for something new
Projects
None yet
Development

No branches or pull requests

1 participant