Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Improving Memory Efficiency with Storable and Hashes of Scalars (code) no help at all here

by baku (Scribe)
on Jun 01, 2001 at 09:28 UTC ( #84857=note: print w/ replies, xml ) Need Help??


in reply to Improving Memory Efficiency with Storable and Hashes of Scalars (code)

It sounds like a "sequential write" is exactly what you need here...

Why not loop over each source file and append them to your output?

If that's not plausible for some reason, something like Berkeley DB could very well be a solution, but given the sizes you're talking about (600M of plain text, plus presumably some amount of metadata, eg. filenames, plus the overhead and index of the DB file itself), you might be running into the maximum filesize of the DB format (IIRC, DB_File's can only be 2G) in the very near future.

I assume there's a driving reason this isn't being dumped into binary records in Oracle?

Um, good luck regardless!


Comment on Re: Improving Memory Efficiency with Storable and Hashes of Scalars (code) no help at all here

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://84857]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (14)
As of 2014-09-02 11:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (22 votes), past polls