Re: Query slow after VACUUM ANALYZE - Mailing list pgsql-performance

From Tom Lane
Subject Re: Query slow after VACUUM ANALYZE
Date
Msg-id 14135.1125978821@sss.pgh.pa.us
Whole thread Raw
In response to Query slow after VACUUM ANALYZE  (gdh@eyjar.is)
List pgsql-performance
gdh@eyjar.is writes:
> Any ideas what I can do to make the query running in < 10 seconds?

Increase work_mem (or sort_mem in older releases).  PG is dropping
back from the hash plan because it thinks the hashtable won't fit
in work_mem.

            regards, tom lane

pgsql-performance by date:

Previous
From:
Date:
Subject: Postgresql Hardware - Recommendations
Next
From: gdh@eyjar.is
Date:
Subject: Re: Query slow after VACUUM ANALYZE