Perspective Table Performance Issue for Large Dataset

You might want to check out this post for ideas: