http://www.perlmonks.org?node_id=485189


in reply to Re^2: How to improve MYSQL search performance of perl?
in thread How to improve MYSQL search performance of perl?

One improvement you can make is to only open your database handle once at the beginning of the script, and reuse that handle instead of recreating it for each query.