A few million a year?
Actually, a lot less than that. A friend of mine is an astronaut. Nothing in her contract say she CAN'T ski. But it's "suggested" they don't ski within 12 months of scheduled flight. So she doesn't. The job is worth it for her. Probably would be for me too, if I'm so lucky to be scheduled to fly into space!
Her husband, of course, disagrees. So he takes the kid skiing while she waits in the lodge. But he doesn't complain when, upon her successful completion of mission, the whole family got invited to the White House and dine with whoever it was the president. Not once, not twice, three times so far.
Since Astronaut's career is often longer than that of pro athlets, the sacrefies is for longer.