npai has asked for the wisdom of the Perl Monks concerning the following question:
I would greatly appreciate some help with DBM deep complex hashes.
I have one dbm deep object errorsdb that has a hash which looks like
Errorsdb -> Branch Name ->Errortype-> count(scalar) Errorsdb -> Branch Name ->Errortype-> url(array of urls)
This basically parses through the entire website and documents the errors. I have about 30 Branchnames, 15 errortypes and url arrays could go upto 1000.
This is essentially a very huge dbm deep datafile. By the time it has finished parsing about 3 Branch Names, the process almost stops.
Can anyone throw any light on the situation and suggest some changes if needed to make the process run through completely without breaking??
I moved the in memory hash to DBM Deep object for the same problem that I could not run more than 4 branches at a time due to memory becoming full.
Thanks in advance. Namitha
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBM Deep Hash of Hash of Hash of array
by dragonchild (Archbishop) on Apr 16, 2008 at 16:28 UTC | |
by npai (Initiate) on Apr 16, 2008 at 17:08 UTC | |
by dragonchild (Archbishop) on Apr 16, 2008 at 17:22 UTC | |
by pc88mxer (Vicar) on Apr 16, 2008 at 17:43 UTC | |
by dragonchild (Archbishop) on Apr 16, 2008 at 17:55 UTC | |
|
Re: DBM Deep Hash of Hash of Hash of array
by pc88mxer (Vicar) on Apr 16, 2008 at 16:21 UTC | |
by dragonchild (Archbishop) on Apr 16, 2008 at 16:59 UTC |