in reply to Speed up DBD::MySQL Queries

Skeeve is absolutely correct. Some further items:
  1. Add indices to the tables. Indexing isn't always easy and you should read MySQL's manual or ask your DBA to help you.
  2. ANALYZE and OPTIMIZE your tables. This will provide anywhere from 0% to 10%.
  3. Improve your DBI usage. Use bind params and fetch() instead of fetchrow_array(). That can give you 0% to 40%, or more.

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?