Re: Index Scans become Seq Scans after VACUUM ANALYSE
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Louis-David Mitterrand <vindex@apartia.org>
Cc: pgsql-hackers@postgresql.org
Date: 2002-04-16T14:41:57Z
Lists: pgsql-hackers
Louis-David Mitterrand <vindex@apartia.org> writes: > While trying to optimise a query I found that running VACUUM ANALYSE > changed all the Index Scans to Seq Scans and that the only way to revert > to Index Scans was the add "enable_seqscan = 0" in postgresql.conf. EXPLAIN ANALYZE output would be more interesting than just EXPLAIN. Also, what does the pg_stats view show for these tables? regards, tom lane