Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Limit to Hash Keys

by jwest (Friar)
on Jan 11, 2002 at 21:36 UTC ( #138063=note: print w/ replies, xml ) Need Help??


in reply to Limit to Hash Keys

I've done this several times, to my dismay, working with several hundreds of thousands of entries with little problem- save for an enormous amount of RAM taken.

A cleaner way to do this, if you're intrested, might be to craft a Tie::Hash object that will interface with your database for you, letting you access it without loading it all at once.

Depending on the format of your database, you might have better options as well, including using a DBI driver such as DBD::csv.

--jwest

-><- -><- -><- -><- -><-
All things are Perfect
    To every last Flaw
    And bound in accord
         With Eris's Law
 - HBT; The Book of Advice, 1:7


Comment on Re: Limit to Hash Keys

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2014-12-27 14:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls