Postgresql Distinct Vs Distinct On Long Data