SAN FRANCISCO -- Wil Myers capped a huge inning for the San Diego Padres with the best shot he could muster.
Myers hit a three-run homer during San Diego's eight-run sixth and the Padres rallied to beat the San Francisco Giants 12-4 on Saturday night.
Myers' shot landed in the back of the left field bleachers, traveling 433 feet according to Statcast.
"That's all I got, that's my best bullet right there," Myers said. "I watched it, and I saw where it went. When you hit one like that, you'd like to see where it ends up. That's legitimately everything I got, so I'm happy to be able to say I got everything of it."
Myers singled off Chris Stratton (0-1) to start the big inning and had three hits for the game. San Diego scored 11 runs against the Giants' bullpen following five effective innings from starter Matt Cain.
Allen Cordoba added a three-run homer off Neil Ramirez in the seventh.
San Diego entered the game tied for seventh in the majors with 31 homers. Myers is tied for the team-lead with six homers along with Austin Hedges and Ryan Schimpf, and Hunter Renfroe is close by with five.
"We've got five or six guys in the middle of the order that can hit the ball out of the ballpark at any given time," Padres manager Andy Green said.
The Padres combined for six hits and two walks off Stratton and Ramirez in the sixth. It took the duo 46 pitches to end the inning.
Jhoulys Chacin (3-3) struck out six and gave up three runs, five hits and two walks in five innings.
Stratton was charged with five runs and four hits in 1/3 of an inning and Ramirez allowed six runs, three hits and two walks over 1 2/3 innings. Their collapse followed a solid effort from Cain, who has been dogged by injuries and hasn't pitched a full season since winning 16 games in 2012. He struck out seven and allowed a run and six hits without a walk to drop his ERA to 2.30.
Cain left with a 3-1 lead after Brandon Belt's two-run single highlighted San Francisco's three-run fifth.
"It's been a while," Cain said when asked the last time he felt this well. "I might have been saying that but also I was trying to find it as well. The results weren't showing it. I'd have glimpses of it here and there. I just wanted to keep being able to put stretches together, and that's what I still want to do."
The Padres have won 11 of 15 games against the Giants dating to last season.
San Francisco (9-16) fell behind San Diego (10-16) for the NL's worst record. The Giants are 39-58 since going into last year's All-Star break 24 games over .500 with the best record in the majors.
Cordoba's home run underscores the power potential the Padres see in the Rule 5 draft pick. The 21-year-old came to the majors out of rookie ball.
"He's an extremely talented player, he's got the size, he's got the build, he's got the athleticism," Myers said. "It's going to be exciting to see what he can do in the future."
San Francisco 49ers receiver Dwight Clark attended Saturday's game and got a standing ovation during a tribute that included a video clip of his leaping catch in the back of the end zone in the last minute of the 1982 NFC championship game known simply as "The Catch." Clark, whose No. 87 has been retired by the 49ers, announced last month he has Lou Gehrig's disease, which attacks cells that control muscles.
Padres: RHP Jarred Cosart threw his second bullpen Saturday since going on the disabled list with a hamstring injury. He'll likely go on a rehab assignment in the minors before the Padres reactivate him, manager Andy Green said.
Giants: SS Brandon Crawford was placed on the 10-day disabled list with a groin injury retroactive to April 26 after an MRI on Friday revealed a mild strain, Giants manager Bruce Bochy said.
Padres LHP Clayton Richard (2-3, 4.45 ERA) is coming off his worst start, giving up six runs in 3 2/3 innings against Arizona on Tuesday. Giants LHP Ty Blach (0-1, 4.22) will make his second start since taking injured LHP Madison Bumgarner's turn in the rotation. Blach gave up two runs and four hits in five innings against the Dodgers on Tuesday.