More caps in MySQL
Add indexes to database tables
Tidy up sql table generation