pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Ilyeop Yi <ilyeop.yi@samsung.com>
Cc: pgsql-general@postgresql.org
Subject: Re: About "Cost-based Vacuum Delay"
Date: Wed, 27 Jun 2018 09:19:05 +0200
Message-ID: <1530083945.2417.4.camel@cybertec.at> (raw)
In-Reply-To: <20180626011846epcas1p20251b8c9d48d5a43fafb10e8b4b4f19d~7kP_zi_2N1628916289epcas1p2k@epcas1p2.samsung.com>
References: <CGME20180614232929epcas1p1c0a03f435b0504f543933d3680c048e2@epcas1p1.samsung.com>
	<20180614232929epcas1p1c0a03f435b0504f543933d3680c048e2~4KqbEAa9H3081430814epcas1p1i@epcas1p1.samsung.com>
	<1529065942.2841.2.camel@cybertec.at>
	<20180626011846epcas1p20251b8c9d48d5a43fafb10e8b4b4f19d~7kP_zi_2N1628916289epcas1p2k@epcas1p2.samsung.com>

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




view thread (5+ messages)  latest in thread

Message-ID: <1530083945.2417.4.camel@cybertec.at>
Permalink:  ../1530083945.2417.4.camel@cybertec.at/
Also on:    postgresql.org/message-id/1530083945.2417.4.camel@cybertec.at

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, ilyeop.yi@samsung.com
  Subject: Re: About "Cost-based Vacuum Delay"
  In-Reply-To: <1530083945.2417.4.camel@cybertec.at>
  References: <CGME20180614232929epcas1p1c0a03f435b0504f543933d3680c048e2@epcas1p1.samsung.com> <20180614232929epcas1p1c0a03f435b0504f543933d3680c048e2~4KqbEAa9H3081430814epcas1p1i@epcas1p1.samsung.com> <1529065942.2841.2.camel@cybertec.at> <20180626011846epcas1p20251b8c9d48d5a43fafb10e8b4b4f19d~7kP_zi_2N1628916289epcas1p2k@epcas1p2.samsung.com> <1530083945.2417.4.camel@cybertec.at>

* 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