pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Manual Vacuum Analyze Take More Time
Date: Wed, 28 Nov 2018 08:55:17 -0600
Message-ID: <c9f10dbc-4333-380b-586a-90bb26829af8@gmail.com> (raw)
In-Reply-To: <5387ACC6-52FD-42B3-A404-0FB63329CEE1@hotmail.com>
References: <5387ACC6-52FD-42B3-A404-0FB63329CEE1@hotmail.com>

On 11/28/2018 08:22 AM, Moin Akther wrote:
> Dear All,
>
> While running Manual “VACUUM ANALYZE” on table size of 1.2TB, its running 
> more than 1 Hour and generated almost 15K WAL files and due to this we 
> have faced huge replication lag on our standby db.
>
> I have maitenance_work_mem of 6GB and RAM Size of 128GB.
>
> /There is no lock and blocking queries at that time and CPU and 
> memory utilization also normal./
> /
> /
> How we can fix this issue ?

Not an answer to your question, but you should really think about 
partitioning that table.

-- 
Angular momentum makes the world go 'round.

view thread (7+ messages)  latest in thread

Message-ID: <c9f10dbc-4333-380b-586a-90bb26829af8@gmail.com>
Permalink:  ../c9f10dbc-4333-380b-586a-90bb26829af8@gmail.com/
Also on:    postgresql.org/message-id/c9f10dbc-4333-380b-586a-90bb26829af8@gmail.com

 · 

reply

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: ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Manual Vacuum Analyze Take More Time
  In-Reply-To: <c9f10dbc-4333-380b-586a-90bb26829af8@gmail.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