NEW YORK -- Half the innings, twice the fun.
Derek Dietrich hit a tying home run in the eighth and second baseman Daniel Murphy's 10th-inning error allowed Logan Morrison to score the go-ahead run in his first game in 11 months, boosting the Marlins to an 8-4 victory and a two-game sweep.
"I'd rather win in nine, but I guess anything less than 20 is good," Miami manager Mike Redmond said.
Morrison singled off Bobby Parnell (4-3) leading off the 10th and went to second on Justin Ruggiano's single. Adeiny Hechavarria, whose 20th-inning single was the difference Saturday, failed in two bunt attempts, then hit a potential-double play grounder to Murphy.
Preparing for a quick throw to second, Murphy allowed the ball to skip off his glove and into right field.
"I missed it," Murphy said. "Tough for me to speak about the whole team. I can speak for myself: Frustrated."
Recovered from right knee surgery, Morrison played his first big league game since July 28.
"Got goose bumps during the national anthem. Felt like my first day in the big leagues again," he said.
Morrison also contributed in the eighth, when he was running from second to third and got hit on the right ankle by Hechavarria's grounder, preventing a potential double play. Hechavarria was awarded a single, and Morrison was out.
"Dumbest smart guy in the world," Morrison said.
No need to repeat Saturday's 6-hour, 25-minute marathon, won by the Marlins 2-1. This one lasted "just" 3:35 and there were 333 pitches, bringing the two-game total to 894.
The last-place Marlins had a season-high 17 hits to six for the Mets. They rallied from a 4-1 deficit and improved their record against New York this year to 8-3. Miami is 10-41 against other teams.
"I can tell we like playing the Mets," said Dietrich, whose five home runs this year have all either tied the score or put the Marlins ahead.
It was the first time in 24 years that teams played a game of 20 innings or more, then went extras again the next day, according to STATS. The Houston Astros beat the Dodgers 5-4 in 22 innings at the Astrodome on June 3, 1989, a game that ended with Fernando Valenzuela playing first base for Los Angeles, then won 7-6 in 13 innings the following day.
And it was the first time since the Angels beat Seattle on April 13-14, 1982, that a team won consecutive games that went exactly 20 innings and then 10.
After the game, New York demoted first baseman Ike Davis, Carson and outfielder Mike Baxter to Triple-A Las Vegas. The team will call up infielder Josh Satin, outfielder Collin Cowgill and left-handed reliever Josh Edgin before Tuesday night's series opener against St. Louis.
"It's tough to sit through 30 innings and score not even a handful of runs," general manager Sandy Alderson said. "So it's been frustrating for everybody. I'm sure it was frustrating for our fans, too."
Jonathon Niese, pitching for the first time since May 27 after skipping a turn due to a sore left shoulder, allowed three runs -- two earned -- and eight hits in 6 2/3 innings. Dietrich tied the score 4-all when he homered off Scott Rice leading off the eighth.
Tom Koehler remained winless in seven career starts and 20 appearances, giving up four runs and six hits in seven innings for Miami. The 26-year-old right-hander was born in the Bronx and went to nearby New Rochelle High School and then Stony Brook University.
He was 0 for 10 at the plate before singling down the left-field line in the seventh for his first big league hit. He had about 100 family members and friends at Citi Field.
"All of a sudden, you look up and you could see them cheering you on when you're walking off the field or walking out there to stretch," Koehler said.
He leaked runs early but didn't break.
Hechavarria put Miami ahead with a run-scoring single in the second, but Murphy homered leading off the bottom half and David Wright hit a two-run double in the third, which also included Murphy's RBI grounder.
Marcell Ozuna had an RBI double off the center-field wall with two on in the sixth, and another run scored when Juan Lagares dropped the ball while transferring it from his glove to his throwing hand for an error.
While the Marlins have the worst record in the majors, they're champions against the Mets.
"We don't have a lot of wins, but we've earned every single one of them," Redmond said. "Hopefully we can build off this momentum."
Koehler has two walks in 84 at-bats against right-handed hitters. ... Miami was without OF Chris Coughlan, put on the disabled list with nerve irritation in his right calf. RF Giancarlo Stanton, who hasn't played since April 29 because of a strained right hamstring, could be activated Monday. ... Marlins 1B Casey Kotchman missed the game because of a tight oblique muscle. ... RHP Ricky Nolasco starts Miami's series opener against Milwaukee on Monday. RHP Kevin Slowey will be pushed back to Wednesday following his seven-inning relief effort Saturday, and RHP Jacob Turner will start Tuesday.