Another reason postgres could be running very slow, is that it may be spooling the intermediate result to a temp file on hard disk.
Do you see a performance increase when using SSD Drives?
4 karma · joined January 27, 2014
Do you see a performance increase when using SSD Drives?