Standard software advice (including the famous Netflix document) is to interview every couple years.
It also give you data points on your market worth, which is highly valuable even if you don't switch jobs.
It also give you data points on your market worth, which is highly valuable even if you don't switch jobs.