There are two kinds of landlords I've encountered over the years.
The first knew my name and would only raise my rent when their insurance and or property tax would increase, and would show me the bills as evidence. There was even a year when my rent got lowered because that year's assessment went down.
The second referred to my living space as a unit and spoke of my rent as below market that needed to catch up.
If you're renting, find the first landlord whenever possible, though it seems to get harder and harder to do so.