We experimentally study a new type of resonator, namely, a barrel-shaped dielectric resonator with whispering-gallery modes which is formed by the cutting dielectric hemisphere. Compared with a hemispherical dielectric resonator, the E type oscillation spectrum of such a resonator is rarefied with respect to the azimuthal index. Comparative analysis of the electromagnetic characteristics of the barrel-shaped dielectric resonator and half-disk dielectric resonators shows that the radiation losses of the mode energy from the spherical surface are smaller than those from the cylindrical surface. This fact stimulates the high values of the internal Q-factor of modes of the barrel-shaped dielectric resonator.