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

Re^7: Best way to match a hash with large CSV file

by Marshall (Canon)
on Nov 06, 2011 at 13:58 UTC ( [id://936288]=note: print w/replies, xml ) Need Help??


in reply to Re^6: Best way to match a hash with large CSV file
in thread Best way to match a hash with large CSV file

opps..this is not an "apples vs oranges" comparison.

Talking about 100 seconds is a mistake.
I don't think that anybody said anything about X seconds.

The OP asked: The problem with this approach is that the CSV file (40MB) is loaded to DBI engine 5,000 times and takes hours to process.

Answer is NO!: The answer that the OP wants can be had very fast and it is related to to the indexing of the database.

  • Comment on Re^7: Best way to match a hash with large CSV file

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-19 12:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found