Thread: VACUUM ANALYZE AND ANALYZE ISSUE

VACUUM ANALYZE AND ANALYZE ISSUE

From
"suhas.basavaraj12"
Date:
Hi,

I was running vacuum analyze on one of heavily bloated table.
After the vacuum analyze completed . I did explain on  a query .
It was going for hash join and sequential scan.

Then i issues ANALYZE BLOATED_TABLE;


Then when ran explain query , surprisingly it was going for index scan .

This was observed in postgres 9.0.1.
Ideally VACUUM ANALYSE must have done VACCUM + ANALYZE. But ANALYZE part was
pending. Which was completed  when i ran analyze  on that table .

Can any one explain this?  Did i miss anything.

Rgrds
Suhas



--
View this message in context: http://postgresql.1045698.n5.nabble.com/VACUUM-ANALYZE-AND-ANALYZE-ISSUE-tp5749963.html
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.