How do the stay in Mina on the eighth and the standing on the ninth differ?

Book of Hajj: Sa’y between Safa and Marwa and the Day of Tarwiyah