Thousands leaving Melbourne, data shows