MILWAUKEE -- Prince Fielder and backup catcher Mike Rivera each hit two home runs, and the struggling Milwaukee Brewers built a big lead before hanging on to beat the San Diego Padres 12-9 Thursday.
Fielder hit a 465-foot shot off the Miller Park scoreboard and Ryan Braun also homered as the Brewers connected a season-high five times. Manny Parra won his fifth straight decision despite allowing 13 hits in 5 2/3 innings.
Milwaukee almost squandered a 9-0 lead and needed Trevor Hoffman to earn his 26th save. The Brewers, who limped through the last six weeks after entering July with a two-game lead in the NL Central, won a day after sending former All-Star shortstop J.J. Hardy to the minors, designating third baseman Bill Hall for assignment and firing pitching coach Bill Castro.
Parra (8-8) won his fifth straight decision. He took a nine-run lead into the fifth inning, but allowed three runs on five straight singles and a sacrifice fly.
Oscar Salazar led off the Padres sixth with a pinch-hit home run and Adrian Gonzalez hit a two-run shot, his 30th this year, that made it 11-6.
San Diego rallied for three more runs off reliever David Weathers and a gaffe by second baseman Felipe Lopez in the eighth that made it 12-9.
Kevin Kouzmanoff singled in the first run for his career-high fifth hit and Lopez dropped what would've been the third out to allow another run to score. Everth Cabrera followed with an RBI single, but Mitch Stetter got out of the jam and Hoffman pitched a perfect ninth.
Fielder homered in the second and fifth innings, giving him 29 this season with 102 RBIs. The Brewers rattled Padres starter Cesar Carrillo (0-1), who allowed every man he put on to score in his short major league debut.
Fielder's towering shot -- tied for the third-longest in the park's nine-year history -- thudded loudly off the scoreboard to the right of the pitch speed indicator, which read 93 mph.
Carrillo fell apart after that, plunking Mike Cameron and walking Jody Gerut before Rivera homered into the Brewers bullpen to make it 4-0.
The Brewers scored five more runs in the third.
Carrillo hit Craig Counsell and Braun followed with a homer into the left-field bleachers. Gerut's RBI double made it 7-0, chasing the shaken right-hander, and reliever Luis Perdomo allowed Rivera's two-run shot to make it 9-0.
Fielder's second homer came in the fifth and Parra added an RBI single later in the inning that gave the Brewers an 11-3 lead.
Rivera hit his first two homers of the season. ... Brewers RHP Jeff Suppan (oblique) is scheduled to make a rehab start at Single-A Wisconsin and Brewers RHP Dave Bush (triceps) is scheduled to throw a simulated game on Saturday.
Copyright 2015 Associated Press. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed.