Add indexes for posts and users.