Given that most of the companies/bosses are just not worth any loyalty it is the wise move to move on the 2 year limit. It's not only the salary increase -almost impossible to achieve by staying. To me more important is the job security by ensuring employability. As long as I can be hired elsewhere I know I'm still in the game. Another big plus is I can ignore a lot of the usual b..shit that I'd have to pay attention to if I was in for the long run.
Gosh. Lately I find it terribly difficult even to hit 1 yr mark. Companies and bosses whine about how difficult it is to find skilled people but they do whatever they can to drive them away on first chance.