Think about Loose Coupling | |
PerlMonks |
Re: DBI speed up needed on MySQLby CountZero (Bishop) |
on May 08, 2005 at 08:53 UTC ( [id://454989]=note: print w/replies, xml ) | Need Help?? |
print "It takes me over 30 minutes to print this!!!\n"; Are you printing 40_000 records of 200 fields each to your screen? Or are you doing something else to them? Perhaps that's where the long processing time is? Do you save all the (processed) data in some variables/arrays/hashes? That could eat up your memory very fast and then your system starts swapping to disk and performance degrades. CountZero "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
In Section
Seekers of Perl Wisdom
|
|