Re: About "Cost-based Vacuum Delay" - Mailing list pgsql-general

From Laurenz Albe
Subject Re: About "Cost-based Vacuum Delay"
Date
Msg-id 1530083945.2417.4.camel@cybertec.at
Whole thread Raw
In response to About "Cost-based Vacuum Delay"  ("Ilyeop Yi" <ilyeop.yi@samsung.com>)
Responses Re: About "Cost-based Vacuum Delay"  (Jeff Janes <jeff.janes@gmail.com>)
List 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
afterthat 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


pgsql-general by date:

Previous
From: Rob Sargent
Date:
Subject: Re: CTE optimization fence
Next
From: Andreas Joseph Krogh
Date:
Subject: Sv: Re: CTE optimization fence