PHOENIX -- The San Diego Padres are staggering home with a losing record and some serious work to do.
Chad Tracy singled home Andy Green in the 10th inning to give the Arizona Diamondbacks a 4-3 victory over San Diego on Sunday, reducing the Padres' lead in the sorry NL West to four games over San Francisco.
Akinori Otsuka (2-8) took the loss for the second day in a row. He gave up an infield single to pinch-hitter Green leading off the 10th, then threw the ball away on Craig Counsell's sacrifice bunt for an error, leaving runners at second and third with none out.
Luis Gonzalez was walked intentionally before Tracy's liner into right field ended the game. Tracy also had a three-run double in Saturday night's 8-5 come-from-behind victory. He is batting .515 on an eight-game hitting streak, raising his season average to .305.
"I'm not going to lie, I feel real good right now," Tracy said. "It's something I've been working on all year and everything's starting to come together. Right now, it seems like the field is pretty big out there."
Arizona outhit the Padres 13-2. San Diego didn't have a hit after Joe Randa's three-run homer with one out in the fourth.
"We didn't swing the bats at all today," San Diego manager Bruce Bochy said. "We got the big hit there by Joe but we didn't create many opportunities, and we were dodging bullets all day."
The Padres lost their last two in Arizona to drop one game below .500 (77-78).
With San Francisco's 6-2 victory at Colorado, San Diego leads the second-place Giants by four games with seven to play.
"I don't think we feel like we have a lot of pressure on us," Randa said, "but we feel like we need to finish the job. We keep letting everybody stay in this thing and we need to go home and take care of business."
The Padres and Giants begin a four-game series in San Diego on Monday night. Arizona, 5½ back with six games left, averted elimination by winning its final home game of the season.
"It's good," Diamondbacks manager Bob Melvin said. "We've struggled all year here, especially scoring runs and getting anything going. We had some pretty good, enthusiastic crowds the last two days, and it was good to put on a good show for them."
Washington (78-78), the last-place team in the NL East, has a better record than the division-leading Padres.
Jose Valverde (3-4) pitched a perfect 10th for the victory.
Randa's homer, one of two hits allowed by Arizona's Javier Vazquez in seven innings, put San Diego up 3-2. The 337-foot fly ball barely made it into the Diamondbacks' bullpen just inside the left-field foul pole.
Arizona tied it at 3 in the seventh when Tony Clark walked, Alex Cintron singled and Royce Clayton walked to load the bases with one out. Luis Terrero, running for Clark, scored on pinch-hitter Quinton McCracken's groundout. Scott Linebrink struck out pinch-hitter Troy Glaus to end the inning.
Vazquez fanned a season-high 12 and retired 11 in a row after Randa's homer. The only other Padres hit was Brian Giles' two-out double in the first.
In the fourth, Vazquez fanned Giles for what would have been the second out, but the ball got past the catcher for a wild pitch and Giles reached first. Ryan Klesko drew Vazquez's lone walk of the afternoon, then Randa lofted his 17th home run of the season on a 1-1 pitch to make it 3-2.
Woody Williams gave up two runs and nine hits in 5 1/3 innings for the Padres.
The Diamondbacks scored single runs in the second and third to go up 2-0 on RBI singles by Vazquez and Cintron.
Vazquez might have made his last home start for Arizona. He has a clause in his contract that allows him to demand a trade in the offseason. ... Padres OF Dave Roberts, who strained his left quadriceps on Saturday night, thinks he will be able to play at some point in the Giants series. ... 1B Robert Fick hit in the leadoff spot for the first time in his major league career. He was 0-for-4. ... The Diamondbacks finished 36-45 at home, the Padres 36-45 on the road.