If I have a slow query, I can run explain analyze and I get a sensible output:
donapaz=> explain analyze select * from datapoints, gics_codes;