I store HTML in a database. No, this is not a dynamic web application, but a template that is stored in a database and finally printed.
This template is VARCHAR (MAX) and has an average of 700K entries (7 lac entries). The database stores about 28 thousand records, and the database size is 21 GB.
I realized that this is the "Template" column, which leads to a large database size. The size of this column in the database is about 17 GB.
Do you think I can add any compression for compression and then save this data in a database? I know this will be a small compression add-in, but I doubt it will be large.
I cannot store the database outside of SQL, as this will make sensitive data available to everyone who has permission to share files.
Any other ideas are also appreciated. (Binary, text, or something else)?
Anand source
share