I have done the Shinkansen from Tokyo to Nagaoka Station (it is where you get off for Niigata) many times and I have never really paid attention to the time it takes. I think it is 2 - 2 1/2 hours. There is not a lot to see as about half of the trip is in a tunnel.