From: anil7385 <anilnk7385@gmail.com>
To: pgsql-performance@postgresql.org
Subject: VACUUM VERBOSE ANALYZE taking long time to process.
Date: Wed, 9 Sep 2015 03:43:01 -0700 (MST)
Message-ID: <1441795381877-5865303.post@n5.nabble.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>
Hi,
We have a table which consists of 3 millions of records and when we try to
delete them and run VACUUM VERBOSE ANALYZE on it in production environment ,
it takes 6/7 hours to process.
our understanding is that ,there are other processes running in the prod
environment which may acquire lock on this table and due to this vacuum
keeps waiting continuously for getting lock and due to this it takes long
time to finish .
can any body suggest me a solution by which we can reduce the time to 1 to 2
hours ?
please reply me on this with your suggestions .
--
View this message in context: http://postgresql.nabble.com/VACUUM-VERBOSE-ANALYZE-taking-long-time-to-process-tp5865303.html
Sent from the PostgreSQL - performance mailing list archive at Nabble.com.
--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
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-performance@postgresql.org
Cc: anilnk7385@gmail.com
Subject: Re: VACUUM VERBOSE ANALYZE taking long time to process.
In-Reply-To: <1441795381877-5865303.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