VACUUM ANALYZE AND ANALYZE ISSUE

From: "suhas(dot)basavaraj12" <suhas(dot)b(at)verse(dot)in>
To: pgsql-admin(at)postgresql(dot)org
Subject: VACUUM ANALYZE AND ANALYZE ISSUE
Date: 2013-03-28 12:07:01
Message-ID: 1364472421615-5749963.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Keith Ouellette 2013-03-28 15:29:53 Re: Dump only functions
Previous Message Vasilis Ventirozos 2013-03-28 07:12:23 Re: Reduce the size of the archived-log directory