My anecdote is that I sold a somewhat technical book through one of the big publishers, then got a second edition, earned out my advances but basically earned beer money. I'm guessing that's not unusual. (Was still great as a career move but made very little direct money.)