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 adjusting the default purge size and interval of the WAL #5106

Closed
evenyag opened this issue Dec 5, 2024 · 1 comment · Fixed by #5107
Closed

Consider adjusting the default purge size and interval of the WAL #5106

evenyag opened this issue Dec 5, 2024 · 1 comment · Fixed by #5107
Labels
A-wal Involves code in WAL C-enhancement Category Enhancements

Comments

@evenyag
Copy link
Contributor

evenyag commented Dec 5, 2024

What type of enhancement is this?

User experience

What does the enhancement do?

The default purge config for the WAL may be too large

purge_threshold: ReadableSize::gb(4),
purge_interval: Duration::from_secs(600),

The WAL can easily consume more than 4GB of disk space. We may consider adjusting the default config.

Implementation challenges

We may find a proper default value. Users can adjust the value if the default config becomes the bottleneck.

@evenyag evenyag added C-enhancement Category Enhancements A-wal Involves code in WAL labels Dec 5, 2024
@killme2008
Copy link
Contributor

Let's fix it in v0.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-wal Involves code in WAL C-enhancement Category Enhancements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants