SAN FRANCISCO (AP) -- Felipe Alou found little to celebrate following the Giants' longest game in nearly three years.
Maybe he was too drained to remember the early innings.
"The high-fives after the win and the two home runs," the San Francisco skipper said when asked of the highlights. "But a win is a win."
The game went 3 hours, 49 minutes, the Giants' longest nine-inning contest since Aug. 30, 2002, when they played 3:58 against Arizona.
Todd Linden hit an RBI double and J.T. Snow and Moises Alou each singled in runs as San Francisco won for the 18th time in the last 22 meetings against its division foe at SBC Park. Matheny added a sacrifice fly in the sixth and Ray Durham had three hits.
Lowry (4-6), a left-hander in his first full big-league season, lost to Arizona on April 20 for his first defeat in the majors after beginning his career 7-0. But he allowed only two hits and one earned run in six innings of the 2-1 loss.
He was impressive again Monday. He gave up six hits, struck out three and walked two before giving way to Scott Munter after 5 2/3 innings. Munter allowed an RBI single to Royce Clayton in the seventh, Clayton's third base hit of the game.
"My mechanics are coming around," said Lowry, who expressed concern he threw 115 pitches. "I felt pretty good out there. Establishing the fastball was a big key for me, and it set up my other pitches. ... I'm feeling good, but I have to work to be more consistent."
Feliz hit his ninth homer in the seventh and Matheny followed with his seventh, the second time this year the Giants homered back-to-back. Snow and Alou did it in the third inning June 2 against the Phillies.
Feliz homered for the first time since May 25 when he hit two out of the park against the Dodgers.
"Pedro is starting to swing the bat," Alou said. "He's good when he's aggressive."
The Diamondbacks, swept by the Indians in a weekend series at Cleveland, lost their fifth straight and got little production from the heart of their order.
Arizona loaded the bases with none out in the seventh against Scott Eyre. After a sacrifice fly by Troy Glaus, Tony Clark
grounded into a double play. Eyre scurried off the mound with a huge fist pump.
Both clubs were back to the familiar faces of the NL West after struggling in interleague play, and they took 2½ hours to play five innings. The Giants had lost 17 of 22 and two in a row, including a 10-8, 10-inning defeat at Detroit on Sunday.
Diamondbacks starter Javier Vazquez (7-5) gave up consecutive doubles in the sixth and then walked Feliz before Greg Aquino
relieved. Vazquez was tagged for 10 hits for the fourth time this season and the third in five starts. He wasn't sharp after going a season-high eight innings and striking out 10 in a 10-4 win over the White Sox last Tuesday.
"He gave us all he had today," Diamondbacks manager Bob Melvin said. "Early on, we had three situations with the bats and we didn't get guys in. Not only does that deflate you some, but it pumps the other team up."
He faced baserunners every inning Monday and threw wild pitches to successive batters in the sixth. Vazquez had trouble with balls that he said were slippery and not properly rubbed.
"They were terrible," he said. "They were the worst I've ever pitched with. I was changing balls all night. Whoever was supposed to do it, didn't do it."
Craig Counsell extended his hitting streak to 11 games with a single in the third, but the Diamondbacks matched their season-worst losing streak. They also dropped five in a row from June 1-5.
Arizona right-hander Brandon Medders made his major-league debut in the eighth. ... Melvin watched Glaus take early batting practice before writing him into the lineup a day after the third baseman fell hard on his right wrist Sunday. ... Arizona is 5-14 in June. ... Barry Bonds is still uncertain whether he will play this season following three operations on his right knee. The slugger, upbeat and showing few signs that he's favoring the tender leg, played a long session of catch before the game. But Bonds still hasn't resumed baseball activity and he's not swinging in the cage yet. "I don't want to predict anything too soon," he said. ... Giants center fielder Marquis Grissom returned to his home in Atlanta to rehab his strained right hamstring. ... Arizona right-hander Russ Ortiz, on the DL since Saturday with a stress fracture in a right rib, traveled to Phoenix and will be shut down from baseball activity for at least two weeks.