Red Bull dominated the second practice session at the Belgian Grand Prix with both drivers nearly a second clear of the rest of the field.
Sebastian Vettel beat Mark Webber by 0.059 seconds, with Lotus's Romain Grosjean third, 0.8secs behind.
Vettel suffered an alarming moment when his right rear tyre failed. It was not initially clear what caused the problem.
Hamilton appeared to be struggling with a lack of grip, saying at one point the car was "all over the place".
McLaren's Jenson Button, who won in Belgium last year, also had problems, complaining of an unstable rear end while braking.
Ferrari's Felipe Massa was fourth from Toro Rosso's Jean-Eric Vergne, Lotus's Kimi Raikkonen and Alonso.
Alonso also suffered a right-rear puncture on his penultimate lap of the session, which Ferrari spotted as he went past the pits into his final lap. He managed to get back to the pits.
Technical director Pat Fry said it happened "somewhere between the exit of Turn 13 and the start of Turn 14", which appeared to be where Vettel's also failed.
McLaren's Sergio Perez was eighth ahead of Hamilton's team-mate Nico Rosberg and the Force Indias of Paul Di Resta and Adrian Sutil.
"We don't know what happened yet," said Vettel. "I lost the rear right very suddenly. We need to have a look. At the moment we are trying to understand. Other than that it was a positive day.
"Rain is very likely on Saturday and Sunday, the question is when, how much and where. We had a look at the car. But both of us seemed pretty happy with what we had."
The two Red Bull drivers were very closely matched - Vettel was just 0.059secs quicker than Webber - but they achieved them in different ways.
The team were assessing different levels of downforce on their cars.
Vettel was running with lower downforce, which gives faster straight-line speed in the first and final sectors of the lap but costs speed in the middle sector, which is a series of quick corners.
Webber ran a higher downforce set-up, which produces the opposite effect.
Vettel was about 0.4secs quicker than Webber in both the first and third sectors, while the Australian was 0.8secs quicker than the German in the middle sector. That combined to put Vettel just 0.059secs ahead.
Red Bull have traditionally run their car with a higher downforce set-up, optimised for ultimate lap time, but this philosophy has been based on their ability to qualify consistently at the front.
The qualifying pace of the Mercedes cars, which have been on pole for six of the last seven races, and the long straights at Spa which facilitate overtaking have forced them to reconsider that approach.
Ferrari also took a split approach, converting Alonso's car away from the low-downforce set-up used by Massa after the first runs of the session.
He then moved up to seventh from out of the top 10, but did not do a race-simulation run late in the session.
Red Bull, meanwhile, looked as impressive over a series of laps on high fuel levels as they did on their one-off laps.
But the tyre problem will give them pause for thought. A new tyre construction was introduced by supplier Pirelli for the last race following the multiple failures at the British Grand Prix.
BBC 5 live analyst and former F1 driver Allan McNish said: "Red Bull are very fast straight out of the block. The circuit is also favouring Lotus.
"Ferrari are struggling a little and they need to up their pace if they are to challenge and I'm not sure we have seen everything out of Mercedes."