2013/2/2 Casey Allen Shobe <casey@xxxxxxxxxx>: > However I was unable to adjust the statistics target using that command: > > alter table opportunity.census_user set statistics 500; > ERROR: syntax error at or near "statistics" > LINE 1: alter table opportunity.census_user set statistics 500; I'm sorry for this, my bad. Try the following: ALTER TABLE census_user ALTER parent_id SET STATISTICS 500; ALTER TABLE census_user ALTER stakeholder_code SET STATISTICS 500; Do the same for all the columns in ‘hewitt_1_0_factors_precalc_new_pkey’ index, setting target at 1000. I would also updated target for columns from this filter: Filter: (((h.discount_type)::text = ANY ('{"Avg Comp",Blue}'::text[])) AND ((h.data_type)::text = 'Historical'::text) AND ((h.source)::text = 'Hewitt 1.0'::text) AND ((h.service_catg_scheme)::text = '11+3'::text)) -- Victor Y. Yegorov -- Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance