Discussion Locked

Compress or Not Compress, that is the ?

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

All in favor?
All against?
A colleague noticed the storage space on our Windows 2000 Advanced Server, our web server, was runnning very low. Our site was inaccessible. According to him, "there was nothing I could delete to free up space, so I compressed the drive." So, without any discussion amongst the IT dep't, he compressed the drive. The web site is now accessible BUT... I've been lectured by many an MCSE, DO NOT COMPRESS! Your comments, good & bad, are welcomed.

9 replies

by curlergirl

I have never compressed a complete drive - only specific files/folders. It's one of those "it all depends" kind of situations. First of all, depending upon what type of files are on the drive, the additional drive space you gain by compression varies greatly. If you're trying to compress already compressed files like .cabs and many types of program files, dll's, etc., you won't gain much. OTOH, if you're compressing files containing largely text, you'll get a good result. I've also seen a few types of files that don't react well to compression, particularly certain types of graphic or mixed (text with embedded graphics or files) formats. The other consideration, of course, is performance. In a web site, I can see where compression might impact performance adversely, especially on an already-stressed server. Since you're already dealing with performance issues that depend on the speed of the link(s) between the client web browser and the web server, I personally wouldn't want to add the stress of compressing/decompressing files on demand to that overhead. However, if it's an intranet rather than a public internet site, and it's largely accessed over the internal LAN, you probably wouldn't see much of a difference. Hope this helps!

by thechas

Compressing an entire drive slows down the server.

As the server needs to access files, it needs to first expand the compressed file.

This increases the work-load of both the CPU and hard drive.

Further, ALL compression comes with the risk of loosing data.
The higher the compression ratio, the greater the risk of data loss.

Further, many files actually take up more space when compressed.
ZIP, JPG, GIF and any other format that is already a compressed file type will take up more space when you use another program to compress it.
At a minimum, the compression algorithm adds error recovery bits to the compressed version.

If you cannot delete or archive any files, it is time for a larger drive.

Chas

by tim.doyle

Storage is pretty inexpensive and is usually easy to add so compression often doesn't make sense as a long term solution to a problem. Go buy a bigger drive and then decompress your existing system.

by timber

I agree with the rest of the answers HD drives are cheap. Compression not only slows the server down but also can put you in very bad situations if you ever upgrade to a new server, do backups (ie veritas will decompress each file into memory firstif it runs out of swap space and physical memory the server will blue screen.), or a lot of files are opened at once.

Seeing how you mentioned this was a web server if a lot of documents are accessed all at once you run a very good chance of crashing the box also.

HTH,
Chad MCSE, CNA

This discussion is closed to new replies.