Re: About "Cost-based Vacuum Delay"

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Ilyeop Yi <ilyeop(dot)yi(at)samsung(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: About "Cost-based Vacuum Delay"
Date: 2018-06-27 07:19:05
Message-ID: 1530083945.2417.4.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ilyeop Yi wrote:
> Currently, I am working with a workload that is mostly insert and update, and its performance suffers from autovacuum.
>
> I've adjusted parameters such as vacuum_cost_delay and vacuum_cost_limit, but they have no significant effect.
>
> So, I would like to find a way to pause a running vacuum during bursty insert/update period and resume the vacuum after that period.
>
> Is there such a way?

Please keep the list copied.

You can do

ALTER TABLE mytab SET (autovacuum_enabled = off);

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Joseph Krogh 2018-06-27 07:58:21 Sv: Re: CTE optimization fence
Previous Message Rob Sargent 2018-06-27 06:27:13 Re: CTE optimization fence