From: suhas.basavaraj12 <suhas.b@verse.in>
To: pgsql-admin@postgresql.org
Subject: VACUUM ANALYZE AND ANALYZE ISSUE
Date: Thu, 28 Mar 2013 05:07:01 -0700 (PDT)
Message-ID: <1364472421615-5749963.post@n5.nabble.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: suhas.b@verse.in
Subject: Re: VACUUM ANALYZE AND ANALYZE ISSUE
In-Reply-To: <1364472421615-5749963.post@n5.nabble.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox