Against Tight players, this is optimal. Against looser players who will call without odds with two pair or set you should raise to as much as you think they'll call while giving them bad odds. You must also get away on the River if it pairs.