-
Notifications
You must be signed in to change notification settings - Fork 85
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
Compress WAL file #47
Comments
Thank you for the separated issue for that!
Originally posted by @nakabonne in #37 (comment) |
As you mentioned, the smaller the size of the partition, the smaller the size per file. But in the end, your overall disk consumption will remain the same. |
Is that actually the case? If the lifetime of the WAL file is up to Since the WAL file is relatively large (compared to the disk files) it could be worth to reduce the partition retention is that right? |
Ah, you're right. That workaround works well since all except for the first two partitions will be flushed to disk partitions and the WAL files for them will be deleted 👍 |
Just to add some numbers: My 1h partition is 16MB in size and 2 WAL files take 1GB space. |
Hmm... it is common to set |
Originally posted by @weeco in #37 (comment)
As noticed in the referenced issue the WAL file gets really big quickly. I wanted to create a separate issue for this to possibly introduce a more compressed way how the WAL file is written.
Maybe you can recommend a workaround to reduce the size of the WAL file. I assume smaller partitions could help with that?
The text was updated successfully, but these errors were encountered: