Dependence of the energy confinement in ELMy H-mode tokamak on the beta has been investigated for a long time, but a common conclusion has not been obtained so far. Recent non-dimensional transport experiments in JT-60U demonstrated clearly the beta degradation. A database for JT-60U ELMy H-mode confinement was assembled. Analysis of this database is carried out, and the strong beta degradation consistent with the above experiments is confirmed. Two subsets of ASDEX Upgrade and JET data in the ITPA H-mode confinement database are analysed to find the origin of the various beta dependences. The shaping of the plasma cross section, as well as the fuelling condition, affects the confinement performance. The beta dependence is not identical for different devices and conditions. The shaping effect, as well as the fuelling effect, is a possible candidate for causing the variation of beta dependence.