pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hubert depesz lubaczewski <depesz@depesz.com>
To: Artem Tomyuk <admin@leboutique.com>
Cc: Keith <keith@keithf4.com>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: how to shrink pg_attribute table in some database
Date: Mon, 26 Mar 2018 17:33:37 +0200
Message-ID: <20180326153337.GA8484@depesz.com> (raw)
In-Reply-To: <CANYYVqJn8pxN-YU4C7Y=u1nxrqzmWwwz4bXLFs6_JbQwpiTggA@mail.gmail.com>
References: <CANYYVqKwgR8TK6ar54vbXLc01KH-_ppM=qh6GLQ6edmmexX-EQ@mail.gmail.com>
	<CAHw75vuFvy_Tn9ZT0zANugeJOLhrfcmxv4r+XeJV0NszVNmn5Q@mail.gmail.com>
	<CANYYVqLSEdHVzXiUUHp+mPM+X5tbbP_oOfHh5-RJGoTkReGsmA@mail.gmail.com>
	<20180326141756.GB708@depesz.com>
	<CANYYVq+5Og_e=d4h4uvuh3s-e1PfdR5t1QeStPKoR24q_DdZfw@mail.gmail.com>
	<20180326152425.GA23643@depesz.com>
	<CANYYVqJn8pxN-YU4C7Y=u1nxrqzmWwwz4bXLFs6_JbQwpiTggA@mail.gmail.com>

On Mon, Mar 26, 2018 at 06:32:25PM +0300, Artem Tomyuk wrote:
> Thanks,
> 
> as we understand there is a lack of autovacuum max workers in
> postgresql.conf.

that is a contributing factor. but the sheer size of this table means
that something is doing something very bad in your application.

> 
> One question more, what impact would be on streaming replication? Will full
> vacuum create extra wal files during full vacuum?

Yes it will - in the size of new table.

Best regards,

depesz





view thread (12+ messages)  latest in thread

Message-ID: <20180326153337.GA8484@depesz.com>
Permalink:  ../20180326153337.GA8484@depesz.com/
Also on:    postgresql.org/message-id/20180326153337.GA8484@depesz.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: depesz@depesz.com, admin@leboutique.com, keith@keithf4.com
  Subject: Re: how to shrink pg_attribute table in some database
  In-Reply-To: <20180326153337.GA8484@depesz.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