Data Compression in ColdFusion 9 for SQL Server 2008
Hi,
I need to store fairly large blocks of HTML text in SQL Server (I won't go into why, unless necessary).
Unfortunately even after stripping out the white space, the text string gets so long that the INSERT/UPDATE query times out.
I'm looking for a way to compress that text on the fly and send over just the compressed string. Then uncompress it when it's retrieved from DB.
The only way I can think of doing it is using CFZIP to create a temporary zip file, then read it in and send that binary string to SQL Server. But I don't know if that'll speed things up any, cause of all the file operations. Ideally I would just do it in memory.
I also looked into GZIP for ColdFusion, but I don't think there is much difference.
Any suggestions?
