Re: how to shrink pg_attribute table in some database

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: Artem Tomyuk <admin(at)leboutique(dot)com>
Cc: Keith <keith(at)keithf4(dot)com>, pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: how to shrink pg_attribute table in some database
Date: 2018-03-26 15:33:37
Message-ID: 20180326153337.GA8484@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Artem Tomyuk 2018-03-26 15:41:48 Re: how to shrink pg_attribute table in some database
Previous Message Artem Tomyuk 2018-03-26 15:32:25 Re: how to shrink pg_attribute table in some database