suhas.basavaraj12
2013-03-28 12:07:01 UTC
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.
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.
--
Sent via pgsql-admin mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Sent via pgsql-admin mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin