Let's not forget that Ottavino didn't just get 9 million, he got 9 million times 3 = 27 million.
That said, Ottavino looks like a great signing for the Yanks at the moment. Probably the best of the larger contracts given out to relievers this offseason, I guess.