Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Speed up file write taking weeks

by holli (Abbot)
on Jun 29, 2019 at 14:48 UTC ( [id://11102119]=note: print w/replies, xml ) Need Help??


in reply to Speed up file write taking weeks

By the way, to manage the huge disk resources needed, we close the file every 100 million records, compress it & delete the "until-then" file created.
I think that is taking quite some of the time. Did you consider writing directly into a zip-archive? Some of the available modules do have low level methods that let you add data in chunks, IO::Compress::Zip for instance. They don't have to work on files on disk.

Also, there is of course the easy option of throwing money at the problem, here in form of a faster HDD.


holli

You can lead your users to water, but alas, you cannot drown them.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-23 15:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found