We have a Users table (MySQL) with 120,000 rows
List<User> users = session.createQuery("from User").list();
This hibernate query takes about 6 to 9 seconds to execute. How can we optimize this? Is MySQL the bottleneck? Or is .list() usually this slow?