in reply to advice perl and mysql

Like everyone said, it's not the shoes, it's the dancer..

Please post your table and index definitions, number of rows in each table, and the queries you are trying to run.

All modern databases that have any sort of large user base -- Postgres, MySQL, Oracle, DB2, etc -- can do general "database stuff" more or less equally well (sub-selects being an exception). You just need to know what you are doing with them.

Don't drive a Porsche in first gear and complain about its speed :-)