pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Perumal Raj <perucinci@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Autovacuum Transaction Wraparound
Date: Wed, 13 Mar 2019 12:23:31 -0700
Message-ID: <6616bb40-9b76-a786-7276-ff1e2a9cd03b@aklaver.com> (raw)
In-Reply-To: <CALvqh4om9nPLn9E9U57gN+z5XTVoj0C_4fbjaQzMnWpqk5PgYA@mail.gmail.com>
References: <CALvqh4pfm2yOuOJPO3hJ+42MyEMX2kEBYNk17uF4s=dVj=KB1A@mail.gmail.com>
	<1c659890-cbf7-8c6d-266c-7521ab674bbf@aklaver.com>
	<CALvqh4p1QU52G8uSa_3bpgzKMvz3qBPKVo_o3D=HYjeFBGvCSg@mail.gmail.com>
	<d4538d4c-9c76-66b8-c033-641492ce36d0@aklaver.com>
	<CALvqh4om9nPLn9E9U57gN+z5XTVoj0C_4fbjaQzMnWpqk5PgYA@mail.gmail.com>

On 3/11/19 1:24 PM, Perumal Raj wrote:
> Hi Adrian
> 
> What was the full message?
> 
>             autovacuum: VACUUM <table name >(to prevent wraparound)
> 
> Though i am running vacuum manually (nowadays) and autovacuum is running 
> perfectly once its threshold reaches.
> 
> What will happen if my DB reaches 200M transaction age again ? ( Here my 
> understanding is no dead tuples to cleanup --- I may be missing full 
> concept , Please correct me if i am wrong) .
> 
> What will be impact to DB ( Performance ) During Vacuum freeze ( My 
> Assumption is autovacuum will run "vacuum freeze" once DB age reached 
> 200M ) ?

I would read this:

https://www.postgresql.org/docs/9.2/routine-vacuuming.html#VACUUM-FOR-WRAPAROUND

I believe it will answer most of your questions.

> 
> When should i consider to increase pg_settings value with respect to 
> Autovacuum ?
> 
> Regards,
> 
> 



-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (7+ messages)  latest in thread

Message-ID: <6616bb40-9b76-a786-7276-ff1e2a9cd03b@aklaver.com>
Permalink:  ../6616bb40-9b76-a786-7276-ff1e2a9cd03b@aklaver.com/
Also on:    postgresql.org/message-id/6616bb40-9b76-a786-7276-ff1e2a9cd03b@aklaver.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, perucinci@gmail.com
  Subject: Re: Autovacuum Transaction Wraparound
  In-Reply-To: <6616bb40-9b76-a786-7276-ff1e2a9cd03b@aklaver.com>
  References: <CALvqh4pfm2yOuOJPO3hJ+42MyEMX2kEBYNk17uF4s=dVj=KB1A@mail.gmail.com> <1c659890-cbf7-8c6d-266c-7521ab674bbf@aklaver.com> <CALvqh4p1QU52G8uSa_3bpgzKMvz3qBPKVo_o3D=HYjeFBGvCSg@mail.gmail.com> <d4538d4c-9c76-66b8-c033-641492ce36d0@aklaver.com> <CALvqh4om9nPLn9E9U57gN+z5XTVoj0C_4fbjaQzMnWpqk5PgYA@mail.gmail.com> <6616bb40-9b76-a786-7276-ff1e2a9cd03b@aklaver.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