SAN FRANCISCO -- Zack Greinke smiled wider each time he looked at the scoreboard at AT&T Park.
Four runs of support in the first inning, four more in the second and another four-spot in the sixth -- highlighted by Greinke's first home run of the season.
Greinke (15-8) pitched six scoreless innings and hit his fourth career home run, and the Los Angeles Dodgers romped past the San Francisco Giants 17-0 on Saturday night to build on their lead in the NL West.
"Their lineup's been about as good as it gets in the past couple of months," Greinke said of the Giants. "Usually if I get four or five you get a little comfortable with it, but the way they've been playing, each extra run was appreciated."
One day after being held to three hits in a 9-0 loss, the Dodgers doubled that output in the first inning against Giants starter Tim Hudson then coasted behind Greinke.
More important, the Dodgers extended their division lead to two games over the Giants and are guaranteed of leaving this series between the top two teams in the NL West in first place.
"That was a little different game, huh?" Los Angeles manager Don Mattingly said. "It was good to get those runs early. It's one of those games where everything seemed to go our way and then Zack kind of slams the door."
Greinke combined with three relievers on the shutout and improved to 4-0 in six career starts against the Giants. The right-hander gave up hits to two of the first three batters he faced then retired 16 of the next 18. He struck out five.
Juan Uribe and Scott Van Slyke homered, Hanley Ramirez went 4-for-5 and Matt Kemp had three hits and three RBIs for the Dodgers. Every position player had at least one hit by the second inning, and the team set a major league high for hits (24) this season.
Greinke doubled in the fourth then homered off reliever Mike Kickham in the sixth, a two-run drive that put Los Angeles up 13-0.
The Dodgers scored in six of the first seven innings and knocked Hudson out of the game in the second.
Hudson (9-11) allowed six runs and eight hits in the shortest outing of his 16-year career.
It was almost a complete reversal from a night earlier when San Francisco jumped on Los Angeles left-hander Hyun-Jin Ryu for four runs in the first inning.
The loss ended the Giants' 10-game winning streak at AT&T Park, their longest at home since 2003.
"They punched back," San Francisco manager Bruce Bochy said. "We got knocked out early. We couldn't get a ball hit at somebody in the first inning and I think that took something out of Huddy."
LINCECUM NO-NO MEMORIALIZED
The Giants celebrated pitcher Tim Lincecum's no-hitter on June 25 in a pregame ceremony Saturday and unveiled a plaque along the team's history walk beyond the right-field fence. The two-time Cy Young Award winner also has a plaque for his Game 1 win over Atlanta in the 2010 NLDS when he pitched a one-hitter with 14 strikeouts.
Crew chief Jim Joyce will miss the remainder of the series because of an illness. D.J. Reyburn replaced Joyce and worked second base, while Doug Eddings assumed the crew chief duties.
Dodgers: Ryu will leave the team and fly to Los Angeles on Monday to have an MRI on his left shoulder. The 14-game winner will likely skip his next scheduled start. ... LHP Paco Rodriguez was activated from the 15-day DL.
Giants: Michael Morse (left oblique strain) could take batting practice Monday. ... 1B Brandon Belt (concussion) has been cleared to resume baseball activities and is likely to be activated off the disabled list next week.
Dodgers: LHP Clayton Kershaw (18-3) pitches the series finale and has a 1.40 career ERA in 23 starts against San Francisco.
Giants: RHP Yusmeiro Petit (5-3) is winless in four career starts against Los Angeles.