It is qualitatively understood that the condensation energy density in oxide superconductors,which is one of the essential parameters for determining their pinning strength,becomes large with increasing dimensionality of the superconductor. However, thecondensation energy density has not yet been evaluated quantitatively. Its value canbe estimated from the elementary pinning force of a known defect. Columnardefects created by heavy ion irradiation are candidates for being such defects. Thatis, the size and number density of columnar defects can be given. In addition,it is known that two-dimensional vortices like those in Bi-2212 are forced intothree-dimensional states by these defects in a magnetic field parallel to the defects. Thus,the condensation energy density can be estimated from the pinning propertyof the columnar defects even for two-dimensional superconductors. A similaranalysis was performed also for three-dimensional Y-123. A discussion is given ofthe relationship between the condensation energy density and the anisotropyparameter estimated from measurements of anisotropic resistivity and peak field.