The Houston Astros have acquired Oliver Perez from the Arizona Diamondbacks for a Minor League pitcher.

Perez, a left-handed reliever, joins an Astros team that has a 1 1/2-game lead in the American League West.

"They're in a good spot right now," Perez said. "I would love to help wherever they need."

The 33-year-old is 2-1 with a 3.10 ERA in 48 appearances this season. He leaves Arizona with a 19-game scoreless streak, tied for the third-longest in Diamondbacks history.