(Updates to close)
By Aditya Soni
Dec 20 (Reuters) - Australian shares ended slightly up to finish near a 10-year high for a second straight day on Wednesday, with gains in materials outweighing losses in healthcare and telecom stocks.
The S&P/ASX 200 index .AXJO rose 3.8 points to 6,075.600 at the close of trade, reversing from slight losses earlier in the session. The benchmark added 0.5 percent on Tuesday.
Materials accounted for most of the gains on Wednesday, with the metals and mining index .AXMM climbing 0.6 percent to its highest close since Nov. 7, recording eight consecutive gaining sessions.
Rio Tinto (LON:RIO) Ltd RIO.AX rose 0.9 percent, while South32 Ltd S32.AX climbed 1.2 percent.
Iron ore prices gained 0.8 percent during the past two days before pausing on Wednesday, while copper prices CMCU3 were up slightly. IRONORE MET/L
Commonwealth Bank of Australia CBA.AX rose 0.3 percent, accounting for most of the gains on the benchmark.
Energy stocks also traded in positive territory, tracking oil prices. Woodside Petroleum Ltd WPL.AX rose 0.7 percent to its highest close since Nov. 10. O/R
Telco Telstra Corporation Ltd TLS.AX and healthcare heavyweight CSL Ltd CSL.AX were the biggest drags on the benchmark, falling 1.1 percent and 0.6 percent respectively.
Across the Tasman Sea, New Zealand's benchmark S&P/NZX 50 index .NZ50 retreated from a record high earlier in the session to finish Wednesday's session 0.2 percent or 17.64 points lower at 8,383.56.
New Zealand reported a slightly larger-than-expected current account deficit in the third quarter domestic companies foreign earnings were lower than foreign firms' earnings from their New Zealand operations, official data showed. a2 Milk Company Ltd ATM.NZ declined 2.6 percent, pulling the index down, while Z Energy Ltd ZEL.NZ dipped 2.3 percent.