You should be preparing your "updating" statement with placeholders, and then executing within your foreach loop. That's (1) more secure, and (2) faster.
That's just one "off the top of my head" area where you can improve.
Dave
In reply to Re: How to Speed up MySQL w/ Perl
by davido
in thread How to Speed up MySQL w/ Perl
by rsiedl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |