結果 : distinct vs group by performance postgresql