There's more than one way to do things | |
PerlMonks |
Re: Re: MySQL DBI Helpby jlongino (Parson) |
on Sep 23, 2001 at 01:14 UTC ( [id://114094]=note: print w/replies, xml ) | Need Help?? |
I agree with CubicSpine and Ovid that you might want to
re-evaluate the decision to use mysql. The only advantage
to using mysql in these circumstances would be to enhance
your perl/database skills. If this were the only
consideration then by all means, continue doing so. But,
OTOH, if the following are true:
I work with a file that has 48,193 94-byte records. On our ancient Sun Sparc 10, it takes 3 whole seconds to load the entire file and store it in an array. On our Sun Enterprise 350, it takes less than a second. In my case, however, I have to break each record into 10 fields, be able to sort across multiple non-contiguous fields, perform merges and complex selects. So I should consider using a database implementation even though the file is used only by me and is never updated (except when I replace the entire file weekly). "Make everything as simple as possible, but not simpler." -- Albert Einstein
In Section
Seekers of Perl Wisdom
|
|