"It was a good bounce-back win for us after a miserable weekend," D-backs manager A.J. Hinch said.
Arizona starter Doug Davis led the way to victory with both his arm and his bat.
The left-hander won his third straight decision, and over his past four starts he has allowed six runs in 26 innings. Davis credits the good stretch to keeping the ball down and making pitches when he needs to. That was part of the recipe he used in beating the Mets for the second time this month.
Davis (7-10) allowed a pair of runs on four hits over seven innings.
With the D-backs already up, 1-0, Davis helped his own cause with a two-out, two-run double in the second inning off Mike Pelfrey. Davis broke his bat on the swing and the ball eluded a diving Angel Pagan in center.
"I hit it just soft enough to get under his glove," Davis said.
The hit not only provided important runs but also caused a lot of laughter in the Arizona dugout from Davis' teammates, who were disappointed that he didn't try for third on the play.
Part of the reason he didn't make the attempt was because he missed second base when he rounded it. But the main reason was even simpler.
"I'm slow," Davis said with a smile. "That's it."
The Mets put together a rally against Davis in the fourth when, with one out, Fernando Tatis tripled off the wall in center to score Luis Castillo and David Wright to cut the Arizona lead to 4-2.
Davis settled in and struck out Daniel Murphy swinging before getting Omir Santos to ground out to end the inning.
"That was big," Davis said of the Murphy strikeout. "I got him fishing for a curveball outside of the zone."
The biggest at-bat of the night for Davis may have come with one out and one on in the seventh. That's when New York manager Jerry Manuel sent slugger Gary Sheffield up to hit for Pelfrey.
After falling behind 0-1, Sheffield just missed getting all of a slider and hit a fly ball that left fielder Trent Oeltjen was able to pull in on the warning track.
"I thought he executed his plan and got the ball in on him enough," Hinch said of the pitch to Sheffield.
The D-backs kept adding on the runs with one in the fifth and two more in the seventh, one of which came on an Oeltjen homer.
Oeltjen, who had his contract selected from Triple-A Reno last week, has three home runs in just 20 at-bats.
"Whatever opportunity I get I'm just trying to help the team win," Oeltjen said. "I'm just having a lot of fun. It's taken a long time to get here so I'm just enjoying every moment."
With key players like Justin Upton, Conor Jackson and Eric Byrnes on the disabled list and Chris Young in Triple-A, the D-backs will need guys like Oeltjen to step up.
"Oeltjen has taken great advantage of this opportunity," Hinch said. "We got contributions from a lot of people. We're going to ask some guys to contribute that we are not accustomed to."
The extra runs would prove to be important as the Mets rallied for a pair of runs against closer Chad Qualls in the ninth.