Add task to pull down production data to test against
Index columns used in joins and order clauses
Move all data gathering into single query
Select messages count from query when available