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


in reply to Split 2GB file and parsing

May a clueless newbie point out that he's reading a dump of a database? Perhaps it might be better to process the data one database record at a time?

Replies are listed 'Best First'.
Re^2: Split 2GB file and parsing
by Jenda (Abbot) on Nov 01, 2007 at 19:29 UTC

    Which might mean one line at a time or virtualy anything else. In what format is the dump? Tab separated? CSV? What about newlines in the data? Or is it XML? Or? Or? "Database dump" doesn't really say much more than "file". We are shooting in the dark.