Data mining the trajectories of molecular dynamics simulations leads to a better understanding of oxygen diffusion in perovskites.