MILWAUKEE -- Danny Bautista established two career highs and made sure the effort wasn't wasted.
He homered twice and singled home the go-ahead run in the 15th inning, sending the Arizona Diamondbacks over the Milwaukee Brewers 11-9 Thursday.
Bautista set career highs with five hits and five RBIs. He extended his hitting streak to 14 games as Arizona stopped its losing streak at four.
Two years after shoulder surgery, Bautista leads Arizona with a .397 batting average.
"I've got a lot of confidence back," he said. "We know we're a very good team."
The Brewers rallied for three runs in the ninth, tying it at 9 on a two-run homer by pinch-hitter Brooks Kieschnick off Matt Mantei. The teams wound up playing five hours, 22 minutes, the longest game in the majors this season.
Arizona used eight pitchers, who limited the Brewers to eight hits while striking out 21.
Steve Sparks (1-1) pitched two scoreless innings for the win, snapping his personal 12-game losing skid dating to Aug. 16, 2002 while with Detroit.
Matt Kata hit a leadoff single in the 15th and was sacrificed to second by Brent Mayne.
Bautista singled with two outs.
"A guy like that picks up the offense and he did a great job today," Mantei said. "He's actually done that for the last 14 games.
"You go out there and blow a three-run lead and you kind of feel pretty bad at first, but we're most relieved with the win and we can have a nice flight home," he added.
Rookie Chad Tracy followed Bautista's hit with his own RBI single off Adrian Hernandez (0-2). Tracy had four hits in his first-ever start.
Lyle Overbay also had four hits, including three doubles. His three-base error at first base allowed two runs to score in the seventh, giving Arizona a 7-5 lead.
"I just look at it, if I get that ground ball, Kieschnick's home run is the game-winner," Overbay said.
Kieschnick connected for the fourth pinch-hit homer of his career. It was the first pinch-hit of any kind this season by Milwaukee after an 0-for-20 start.
Bautista hit a solo homer in the second and capped a four-run burst in the sixth with a two-run shot to tie the game at 5.
Arizona starter Brandon Webb departed after pitching five innings and allowing only one earned run on five hits.
Milwaukee starter Wes Obermueller pitched 5 1-3 innings, giving up five earned runs on eight hits.
"I got out of my rhythm and I started rushing," Obermueller said. "I was kind of in awe. My ball raised up on every pitch and they hit it pretty hard."
Arizona manager Bob Brenly used his entire bench and bullpen in the win.
"It took everybody on the roster to get it done today," Brenly said. "If we would had to play until midnight, we'd have played until midnight."
Notes: Arizona went 3-6 on its road trip to Colorado, San Diego and Miller Park. ... Tracy, called up Wednesday to replace the injured Robert Alomar on the 25-man roster, singled in the second inning for his first major league hit. He went 4-for-8. He made his debut Wednesday night, striking out as a pinch-hitter to end the game. ... Milwaukee's Scott Podsednik stole two bases, giving him 11 this season. He had 43 last year as a rookie. ... Arizona's Richie Sexson was 1-for-12 in his first series against his former team.