Re: Autovacuum after bulk data insert(millions!)

From: Thomas Markus <t(dot)markus(at)proventis(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Autovacuum after bulk data insert(millions!)
Date: 2017-10-17 11:48:21
Message-ID: f8698162-8ca7-0cf8-8738-d44726223af7@proventis.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

Am 17.10.17 um 13:37 schrieb Günce Kaya:
> Hello Fabrízio,
>
> Thank you for your advice but I'm not asking for only a specific table
> and not looking for temporary solution. Previous post may not clear to
> much and I'd explain again.
>
> So autovacuum process takes long time for that database. I don't know
> how can I estimate timing for a vacuum after insert millions of bulk
> data to a table. So there are many table inserting bulk data daily.
> This solution not for only a table. I'm looking a solution for a
> database. Data volume of this database is around 2GB so many
> transactions in a day.
>
> This is only suggestion and I'm really curious because can not
> estimate what do you think about that, what if disable autovacuum and
> vacuum all tables in every month?
>
> Regards,
> Gunce
works same for a database, so it depends on your usecase

* disable autovacuum for instance
* run 'vacuumdb -a -z' manually/in cron

Regards
Thomas

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message MichaelDBA 2017-10-17 12:24:01 Re: Autovacuum after bulk data insert(millions!)
Previous Message Günce Kaya 2017-10-17 11:37:24 Re: Autovacuum after bulk data insert(millions!)