VACUUM VERBOSE ANALYZE taking long time to process.

From: anil7385 <anilnk7385(at)gmail(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: VACUUM VERBOSE ANALYZE taking long time to process.
Date: 2015-09-09 10:43:01
Message-ID: 1441795381877-5865303.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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.

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Bruce Momjian 2015-09-09 21:51:33 Re: pg_stat_all_indexes understand
Previous Message Merlin Moncure 2015-09-08 21:24:24 Re: query with pg_trgm sometimes very slow