Jesse Long wrote: > I did ALTER COLUMN SET STATISTICS 10000 for each column involved after > that (is that what you meant?). But it did not make much difference, but > I have read the manual regarding this setting and think I understand it. > > Would it be a bad idea to ALTER COLUMN SET STATISTICS 100000? Would that > have a very negative impact on disk usage or performace? No, in the light of what Tom wrote, I was on the wrong track entirely and your best bet is probably to rewrite the query. Yours, Laurenz Albe -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general