martial.bizel@xxxxxxx writes: > Yes, I've launched ANALYZE command before sending request. > I precise that's postgres version is 7.3.4 Can't possibly be 7.3.4, that version didn't have HashAggregate. How many distinct values of "query" actually exist in the table? regards, tom lane