Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why aren there more compression options when dumping tables?

0
Posted

Why aren there more compression options when dumping tables?

0

pg_dump’s built-in compression method is gzip. The primary alternative, bzip2, is normally far too slow to be useful when dumping large tables. The two main alternatives regularly proposed for better built-in compression at good speeds are LZO and LZMA/LZMA2/XZ. LZO is released under the GPL, incompatible with PostgreSQL. The LZMA2 code has been released into the public domain, but the C port is a secondary one (C++ is the main development focus) whose code quality hasn’t seemed appropriate for this project. And this whole area has traditionally been filled with patent issues that go beyond just the restrictions of the software license. Another limitation on changing this is that pg_dump output is intended to be archivable, so we had better be prepared to support compression methods for a very long time. The “latest and greatest” compression method is exactly what we *don’t* want. See the archives for an idea what characteristics an alternate compression tool would need to have in orde

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123