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

Consider (optionally?) compacting in the background #205

Open
msm-code opened this issue Dec 26, 2022 · 1 comment
Open

Consider (optionally?) compacting in the background #205

msm-code opened this issue Dec 26, 2022 · 1 comment

Comments

@msm-code
Copy link
Contributor

Consider (optionally?) compacting in the background, or measure the impact compacting has on database performnace.

In the current version compacting is (almost) always a good idea for performance, and in theory we recommend everyone to compact their database, but ursadb won't use idle time to compact the files. Consider doing that in the background when the system is idle (or move this issue to mquery if that should be done by the clients).

@codedninja
Copy link

Compacting in the background would really useful. We ingest new samples all the time into ursadb, I was manually compacting due queries failing while compacting. For now I have put a compacting to run when there isn't any load.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants