I do not want to take into account whether saving files in the database is good practice.
Since many systems save the files (images, pdf's, doc's, etc) in the database, I'd like to know if it's a good practice to compress these files by zipping them, for example.
The size of the bank can have great influence on the system, whether due to limitations, memory bottlenecks, etc. Does this make it worthwhile to reduce the size of the files because you will have a job to compress every time you save the file and unzip it whenever you want to show the same file to the user?