ARLINGTON, Texas -- Eduardo Escobar and his Arizona teammates jumped all over Texas' pitchers en route to a record tying night.
Escobar homered twice, and the Diamondbacks' red-hot bats tied a franchise record for a nine-inning game with 21 hits while thumping the Texas Rangers 19-4.
The 19 runs were Arizona's most since setting a franchise record with 20 against the San Diego Padres last July.
Escobar's first homer sparked a seven-run first-inning ambush against right-handed starter Jesse Chavez (3-5), who got just two outs.
"(Chavez) is a down-ball pitcher," Diamondbacks manager Torey Lovullo said. "We were aware that he was going to try to crisscross the strike zone. Our guys had a good game plan. They knew what they were going to be looking for."
Neither Chavez, who has been in and out of the rotation this season, nor Texas manager Chris Woodward were panicking.
"I took a shower," Chavez said. "When you get your hands dirty like I tell my kids, rinse it off and tomorrow's another day."
Woodward said, "We're not giving up on anybody by any means. We just need to execute a little better."
Jake Lamb doubled twice and drove in two runs.
"We were aggressive on pitches in the zone," Lamb said. "You feel like you're going to get more and more pitches in the zone once you get a certain lead."
Arizona also had 21 hits in an 18-2 win over San Francisco in May. The franchise record for any game is 22, set during an 18-inning, 12-7 win over Philadelphia on Aug. 24, 2013.
Robbie Ray (8-6) and two relievers cruised through the blowout. Ray has won all three of his starts in July. Back-to-back homers by Danny Santana and Logan Forsythe provided three Texas runs in the second inning, and Santana added a solo homer against Ray in the sixth.
The teams combined to hit eight homers, five in the first two innings.
"I thought I pitched pretty well," Ray said. "A couple unfortunate home runs. You saw the way the ball was flying tonight."
By sweeping a two-game series at Texas, the Diamondbacks stayed in the thick of the crowded NL playoff race. The Rangers' fourth straight loss dropped them five games behind the AL's second wild card.
Leadoff batter Dyson had four at-bats in the first three innings, which ended with Arizona leading 14-3.
Adam Jones went into the game needing two hits to reach 1,900 for his career. He collected a double and a single in the first two innings and added singles in the third and sixth innings.
The 19 runs were the most allowed by Texas this season.
Diamondbacks: Dyson left in the sixth inning because of a right hamstring cramp. Manager Torey Lovullo said Dyson has a scheduled day off Thursday and is considered day to day. . INF Wilmer Flores (right foot contusion) could return Thursday from a rehab assignment. ... Utility man Blake Swihart (strained right oblique) began a rehab assignment Wednesday at Class A Visalia, where RHP Jon Duplantier (shoulder inflammation) is scheduled to make a rehab start Thursday.
Arizona LHP Robbie Ray has been mentioned in trade talks, but he might be staying in the desert if the Diamondbacks keep winning.
"If we can continue what we did tonight, get on a little bit of a roll, it's ours to take," Ray said. "I don't really pay much attention to (trade rumors) a whole lot. I do my job and I think everything else will fall into place.
POSITION WANTED: 3B?
The Rangers' Danny Santana took ground balls at third base before Wednesday's game. He has played six other positions this season, but only six of his 433 career games have been at third, most recently for Atlanta in 2017.
3B Asdrubal Cabrera has batted .131 (11 for 84) in his last 25 games.
"That's the only place where (Santana) hasn't really played," manager Chris Woodward said. "Against Houston (this weekend), they have a lot of right-handed hitters, so (playing Santana at third) wouldn't be the best scenario."
Diamondbacks: Return home Thursday to open a four-game series against Milwaukee. 30-year-old rookie RHP Merrill Kelly (7-9, 3.93), on a personal three-game losing streak, will oppose Brewers RHP Zach Davies (7-2, 2.89).
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP-Sports
How players are using uniform numbers to break MLB's unwritten rules
The first 0 versus 0 matchup in MLB history. Four times as many 99s this young century as in the last. Why the weird digits? It's all part of a cultural shift in the sport.
Dodgers, Yankees have a lot on the line over the next 10 weeks
Two of baseball's most iconic franchises are looking not just to win a World Series but to cap a decade of success with an elusive title.
MLB Weekend Watch: Takes on Yanks-Dodgers, Mets-Braves, favorite nicknames
Both of New York's teams face big challenges. How will they fare? Can the Nats' offense keep rolling? And what are the best Players Weekend nicknames?
MLB players breaking unwritten rules with jersey numbers
Joon Lee discusses how players like Aaron Judge choosing odd numbers are breaking the unwritten rules of the baseball.
Red Sox to face Padres in rare visit to San Diego
Two teams on the outside fringe of the wild-card races meet for three games at Petco Park in San Diego with a sweep being the only outcome that truly would help either.
Young pitchers set to battle as Cardinals host Rockies
Promising young pitchers from Southern California will duel Friday when the St. Louis Cardinals host the Colorado Rockies in their second of four games at Busch Stadium.