Changes in compression rate

This is probably happening due to the database containing less compressible stuff.

Generally the level of compression depends on the context. Pure text (e.g. a natural language) compresses really well, while already compressed formats such as JPEG or PNG doesn't compress at all.

You should look into what content you have in your database, and how the various content types are affected.