Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^5: Reduce CPU utilization time in reading file using perl

by BrowserUk (Pope)
on Sep 30, 2013 at 08:42 UTC ( #1056310=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Reduce CPU utilization time in reading file using perl
in thread Reduce CPU utilization time in reading file using perl

It would be ood if you can suggest something other than loading the file content into database and fetching it.

Probably, but not based on the information you've provided so far. Why do you seem reluctant to provide information?

Please provide:

  • The size in bytes of both files.
  • The number of records in both files.
  • The number of fields in the lines of both files.
  • A couple of sample records from both files.

    If the data is proprietary, then take a couple of sample records and change the identifying words, numbers etc., but try to ensure that they remain realistic.

  • And idea of how often you will need to do this and how often the file(s) change.

    Ie. "The bigger file remains constant and the smaller changes one a week";

    Or: "This is a one-off problem never to be repeated".

    Or: "The two files never change, but the (combination of) fields used for comparison changes every day".

    Or: ...

With that information, we here have a realistic chance of understanding the scale of the problem and possible solutions.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.


Comment on Re^5: Reduce CPU utilization time in reading file using perl

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (13)
As of 2014-07-10 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (207 votes), past polls