-
Notifications
You must be signed in to change notification settings - Fork 218
gzip backup to reduce file size #7
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
Comments
Howdy! We use pg_dump's |
|
@eeshugerman You're right the PG docs clearly state that The backup size of your tool is 245KB compared to 20KB of the other tool. I'm surprised by the results since I expect PG's default compression to be comparable as good as gzip, if not better. If you have time, can you run that test to confirm? |
Dang, that's a big difference! Yep, I'll look in to it. |
@stvhanna Would you mind testing with a with a larger DB, say a few hundred MBs? I'm wondering if this is just a sort of overhead that becomes insignificant at scale. |
@eeshugerman Good point, let me try a larger DB and report back. |
@eeshugerman On a 1GB DB, your tool compressed the backup to 480MB while the other tool did 457MB, so you are right on the guess that it would be mostly overhead. I don't see a reason to change your implementation as the difference is not significant. Thanks for prompt responses and a great tool! You can close this issue. :) |
Got it, thanks for looking into this! |
Hi Elliott, thanks for creating a useful tool! What are your thoughts on adding an option (can be even the default setting) to gzip the database backup dump to reduce the file size?
This feature is beneficial because it reduces the required storage and thus saves money. Thanks again @eeshugerman for your hard work on this!
The text was updated successfully, but these errors were encountered: