We studied vortex dynamics in a YBa 2 Cu 3 O 7−δ thin film with two different sources of pinning: intrinsic random defects and an artificial square array of defects created by masked ion irradiation. We study commensurability effects between the vortex lattice and the pinning array as a function of the vortex velocity v and the temperature. We find that at low temperatures the commensurability effects (magneto-resistance drop at the matching fields) are stronger at low velocities, in contrast with the behavior previously observed in low-critical-temperature superconductors.