Telusa Veainu and Jack Ram scored two tries apiece as Tonga saw off Namibia 35-21 in an entertaining game at Sandy Park on Tuesday.
Coming in at the last minute, Veainu got Tonga off the mark after just five minutes, with Ram following that up inside the first 15 minutes.
Johan Tromp pulled one back for Namibia but Tonga were in control at half-time leading 22-7 after a try from Latiume Fosita.
Ram's second gave them the bonus point early in the second half, before two Jacques Burger tries, either side of Veainu's second, in an exciting encounter in Exeter.
The win takes Tonga up to second in the group, although with the games to come against Argentina and New Zealand, they remain long shots to reach the quarter-finals.
Namibia, meanwhile, are still chasing their first-ever World Cup win, but will have taken heart from a second impressive display in quick succession, following Thursday's valiant loss to the All Blacks.
The game started at a frantic pace, and Tonga took full advantage with an opening try after just five minutes from Veainu. Only included the last minute due to the withdrawal of Fetu'u Vainikolo, the Rebels winger collecting Fosita's inside ball before slicing through and showing his power to race over from halfway. Vunga Lilo converted to make it 7-0.
They quickly had their second, earning a couple of penalties at scrum-time before kicking into the 22 for an attacking lineout. Spotting some weak maul defence, Ram peeled off and sprinted over despite the attentions of Renaldo Bothma.
Despite Lilo's missed conversion, it looked like a stroll in the park for Tonga, but Namibia came straight back into it, benefiting from some nonchalance from their opponents. After Fosita was charged down from the restart, Sila Puafisi then knocked the ball on just outside his own 22, with Tjiuee Uanivi collecting and delivering the scoring pass for Tromp. Theuns Kotzè added the simple conversion.
Tonga were soon over again though, with Fosita showing sensational hands to finish from close range. After a clever move off the back of a lineout, Joe Tuineau's pass rolled across the ground but Fosita collected on the run and dotted down for the try.
The second half began in similar fashion to the first, as Veainu produced a searing break, this time setting up Ram for his second try. After collecting Kotzè's deep kick, Veainu spotted a gap in the chasing defence and went straight through before finding Ram outside him for the easy finish.
With that try, the bonus point was sewn up but Namibia fought back and scored their second try through their skipper Burger, just managing to get over the line after a strong maul. Kotzè slotted the touchline conversion to make it a two-score game once more.
Still, in Veainu, Tonga had the most dangerous player on the pitch, and after some good work from Siale Piutau, Ram turned provider with a wide pass to the winger, who showed his pace to get away on the left and score his second. Lilo missed the conversion but Tonga led 32-14.
Namibia weren't done yet though, and with quarter of an hour remaining Burger added his second, again off the back of a rolling maul, with Tonga nowhere in defence on this occasion.
Kotzè's conversion made it 32-21, but Kurt Morath, off the bench, slotted a penalty with eight minutes to go to push the lead back to 14 points, becoming his country's record points scorer in the process.
Namibia had their chances to score again, but couldn't find a way through, with a couple of knock-ons at the lineout late on, and it was Tonga who held on for the win.
Man of the match: Jack Ram was outstanding, but Telusa Veainu was in a different class. Almost unstoppable when he got the ball in space, he scored two and made another for Ram in a brilliant display.
Moment of the match: There were some cracking tries, but the best of the lot was Veainu's effort that was disallowed just before half-time. With no space to work in, Veainu put in an acrobatic dive and dotted down as the rest of his body was being bundled into touch. Unfortunately he used his left hand to keep his balance and just clipped the touchline with it as the ball was placed on the try-line.
Villain of the match: No nasty business to report.
The scorers:
For Namibia:
Tries: Tromp, Burger 2
Cons: Kotze 3
For Tonga:
Tries: Veainu 2, Ram 2, Fosita
Cons: Lilo 2
Pens: Lilo, Morath
The teams:
Namibia: 15 Chrysander Botha, 14 Johan Tromp, 13 Danie Van Wyk, 12 Johan Deysel, 11 Russel Van Wyk, 10 Theuns Kotze, 9 Eneill Buitendag, 8 Renaldo Bothma, 7 Rohan Kitshoff, 6 Jacques Burger (c), 5 Tjiuee Uanivi, 4 Janco Venter, 3 Johannes Coetzee, 2 Torsten Van Jaarsveld, 1 Casper Viviers.
Replacements: 16 Louis van der Westhuizen, 17 Johnny Redelinghuys, 18 AJ De Klerk, 19 Tinus Du Plessis, 20 PJ Van Lill, 21 Damian Stevens, 22 Darryl De La Harpe, 23 David Philander.
Tonga: 15 Vungakoto Lilo, 14 David Halaifonua, 13 Siale Piutau (co-captain), 12 Sione Piukala, 11 Telusa Veainu, 10 Latiume Fosita, 9 Sonatane Takulua, 8 Viliami Ma'afu (co-captain), 7 Jack Ram, 6 Sione Kalamafoni, 5 Joseph Tuineau, 4 Hale T Pole, 3 Sila Puafisi, 2 Aleki Lutui, 1 Soane Tonga'uiha.
Replacements: 16 Paula Ngauamo, 17 Tevita Mailau, 18 Halani Aulika, 19 Tukulua Lokotui, 20 Opeti Fonua, 21 Samisoni Fisilau, 22 Kurt Morath, 23 Will Helu.
Venue: Sandy Park, Exeter
Referee: Glen Jackson (New Zealand)
Assistant referees: Chris Pollock (New Zealand), Federico Anselmi (Argentina)
TMO: Ben Skeen (New Zealand)
It took the Six Nations champions over 60 minutes to notch up their bonus point try before they ran riot late on, watched by 89,267 fans of which well over half were present wearing green.
It was a match of two halves as Vern Cotter's charges, who were well off the pace in the opening 40 minutes, found their form as they moved top of Pool B.
Gareth Davies' spectacular try for Wales with ten minutes to go flipped the contest on its head after they had trailed for over 40 minutes.
After Wales' comeback win over England, Australia continued to ease into the competition, scoring 11 tries against the pool's weakest side.
A week on from their shock loss to Japan, the Springboks knew that it was win or bust for them, and they came out with intensity from the off.
Both teams crossed for two tries but it was the boot of pivot Tommaso Allan that proved the difference as the Azzurri picked up their first victory of the pool.
Los Pumas, who lost their tournament opener to New Zealand last Sunday, outscored their opponents by seven tries to nought and their fly-half Nicolas Sanchez impressed with his goalkicking, finishing with a 15-point haul, via two penalties, three conversions and a drop goal.
In the first meeting between the two teams, there was only ever going to be one winner, and the All Blacks were thoroughly professional as they downed their overmatched opponents scoring nine tries in total.
After being thoroughly outplayed at the breakdown, France needed a ten-minute spell with an extra man to finally break Romania down in the first half, with Sofiane Guitoune and Yannick Nyanga crossing to give them a 17-6 half-time lead.
While they didn't pick up the try bonus-point like England five days ago, it was a streetwise pool start from the recent Rugby Championship winners in Cardiff.
Five tries in the second half, including two for Mark Bennett, wrapped up a convincing win at the end for the fresher Scots in their first game, with the outcome always set to hinge on how quickly Japan had recovered both mentally and physically from last Saturday's spectacular triumph over South Africa.
In front of a world record crowd, Argentina dominated for 50 minutes, taking advantage of two All Black sin-binnings as they played some scintillating rugby.
Again injuries have soured the Welsh day as full-back Williams and centre Allen both limped off with respective issues. Williams' however did not seem too serious as he fought with the medical staff to remain on the field. It's not an ideal situation though with a crunch match against England ahead next weekend.
Samoa were always ahead on the scoreboard thanks to tries from Nanai-Williams and their captain Ofisa Treviranus, along with the boot of fly-half Tusi Pisi.