DH was at a small firm for over
8 years. In the beginning (first 2-3 years), he got raises of about 4-5% and an annual bonus of one week's salary.
Business started slowing down. The bonuses went away. Then the salaries were frozen with no raises. DH stuck with them for the next few years out of loyalty.
Very nice people. He really liked his boss. The last year he was there, the company actually had to
CUT salaries for everyone (even the boss)10%!!!

He was making close to what he was making starting out at the company 8 years ago!!!!
DH works in a very specialized field. He didn't feel comfortable jumping ship to one of their competitors. The straw that broke the camel's back was when the boss turned down his request for vacation time.
The boss later changed his mind. But by then DH had sent his resume to another company and had gotten an interview and then a job offer.
In order to not directly compete with his old company, DH switched to a company that specialized in residential work instead of his previous commercail work specialty.
Resigning from his last job was the hardest thing he ever did. He said his boss looked like he was going to cry when he told him. There was no way the company could afford to match the new salary.
It was also the best thing he ever did. He loves his new job. He enjoys his co-workers and he feels appreciated there. Of course, he is putting in many more hours and has a lot more projects to handle but he likes the challenges.
In the last 15 months since he's been there, he's gotten an 8.6% raise, a 7.6% Christmas bonus, and is due for another review this month.