Data compression question
February 2, 2006 3:34 PM
Subscribe
Is it possible to compress a large file while it is writing to disk? My IT shop is developing a program to translate a huge binary file of data to a field delimited text file suitable to be pulled into standard data analysis tools. I know applications can read and manipulate data from a compressed file without explicitly decompressing it. But can translation and compression occur simultaneously or must the whole file be written out and then compressed? This makes a big difference on the data storage requirements. Thanks
posted by queue_strategy to computers & internet (9 comments total)
For my webhost when I want to backup I use..
tar -cvzf backup.tar.gz *which create a tar of all my files and subdirectories and compresses it with gzip all in the same wonderful process.
I don't know a lot about *nix, but it seems to be the case that you can plug gzip into a lot of on the fly processes. I've no idea how to do it in your case though.
posted by tiamat at 3:46 PM on February 2, 2006