4
I don’t want to take into account whether saving files in the database is a good practice.
Since many systems save the files (images, pdf’s, doc’s, etc.) in the database, I would like to know if it is 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 by limitations, memory bottlenecks, etc. With this, it pays to reduce the size of the files because you will have a job to compress whenever you save the file and unzip whenever you show the same file to the user?
I did not understand very well what you meant by "influence on the system" and "memory bottlenecks", as far as I know the physical size of Cords (lines) in the bank matters little near the amount Records/lines, except if you are doing something like index them or if you are worried about exceeding the limit allowed by your RDBMS.
– BrunoRB
@Brunorb I guess I didn’t put it very well. The size of the bank can influence the development and tools that will be used for development, as well as basic maintenance in case of any problems. Today we don’t care much about memory when developing small systems, but there are systems that there are various memory overload problems. There are people who don’t even know what GC would be and what it’s for.
– Randrade