http://www.perlmonks.org?node_id=885108


in reply to Handling HUGE amounts of data

I have handled more data than this. But without having a concrete idea of what you are trying to do with the data, it is hard to know what to say. I just have no useful context.

Are you trying to serve a web page from a CGI program? That's a lost cause with this data volume. (Unless you're providing a zipped file. Maybe.) Are you planning to process the data in some useful way? Well then what my advice would be depends on what you are trying to do with it.

But at a minimum, lines that are 100K wide seems like a red flag. How many fields do you have? Why do you have so many? Is it possible to organize it in a saner fashion?

If I knew that, then I could make suggestions about, for instance, how to use a relational database to better organize your data. Or perhaps DBM::Deep is the right module for you. Or perhaps you should take an entirely different approach. If I had some context I could make better guesses.