As far as I can remeber from a previous (joomla)project, we created indexes in the database to improve performance...
for example the ticket_history table
2 user_id -> create an index
3 ticket_id -> create an index
6 created at
But maybe its something for traq 4.x