Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lV2lf-0006DK-2Y for pgsql-admin@arkaria.postgresql.org; Sat, 10 Apr 2021 01:50:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lV2ld-0005vl-Ob for pgsql-admin@arkaria.postgresql.org; Sat, 10 Apr 2021 01:50:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lV2lc-0005uD-Sm for pgsql-admin@lists.postgresql.org; Sat, 10 Apr 2021 01:50:33 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lV2lZ-0006z8-J9 for pgsql-admin@lists.postgresql.org; Sat, 10 Apr 2021 01:50:31 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id B050A5C00E1; Fri, 9 Apr 2021 21:50:27 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 09 Apr 2021 21:50:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=PUbRV6MiDWC7rAPmakZpIITY/0GrzF+i8tTj1DWI6kQ=; b=o5OhbWkM tD6zYejQbw7iT4pF5YhQoNmnYeS1WBtkvAozxs3ZzfT9FcwbmA5639s0cohvhBbA kjsnGDOSKoaXLW31r6hcloFD35O0DCCXy94XuOz3NEl05hDivHaQBNR5GS8PagPw JKb9TdIyboFbUdFm3kC8IGZiBxqYJ1eIicyjIEUY0FcNl7ezytAqd04kEW5PA/1o scRo5eoVSIitV5J1I39Y84qFGB4gx9uK67HAMekjel3JzTYrZJIKQAhtuD+t5OTy /vQhgv6/RLteqq9g5TizSM+bqVAbG7AFRRRuOG9G6WqURkPH6DvfvSf2CLu+TNF7 0hMFwPlD+O5fXg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudekvddggeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggugfgjfgesthekredttderudenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepueffhfejieeuueffgedvudekgeeltdeviedvieeufeei ieevgfetheeufeethedvnecukfhppeduledtrdelhedrudelrdelheenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghl vhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Received: from perhan.alvh.no-ip.org (unknown [190.95.19.95]) by mail.messagingengine.com (Postfix) with ESMTPA id 770E4240069; Fri, 9 Apr 2021 21:50:26 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id E0C852A092C; Fri, 9 Apr 2021 21:50:23 -0400 (-04) Date: Fri, 9 Apr 2021 21:50:23 -0400 From: Alvaro Herrera To: Laurenz Albe Cc: Henry Francisco Garcia Cortez , pgsql-admin@lists.postgresql.org, david.g.johnston@gmail.com Subject: Re: autovacuum_vacuum_cost_limit Message-ID: <20210410015023.GA13248@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <464b3f924e940410da74fdc254c3aba275fc5880.camel@cybertec.at> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Apr-10, Laurenz Albe wrote: > On Fri, 2021-04-09 at 14:19 -0600, Henry Francisco Garcia Cortez wrote: > > Hi community I have a question about autovacuum_vacuum_cost_limit > > I want to increase this parameter I have read on internet that value > > It could have as maximum 10,000 but I want to know, what will it be the troubles if I did that change > > That will keep PostgreSQL from functioning properly. > > I would never increase the setting beyond the 20ms that were the > default before v12. I think you're confusing it with autovacuum_vacuum_cost_delay. He is asking about the cost_limit. Increasing that setting will mean that the 20ms sleeps will occur much less frequently. -- Álvaro Herrera Valdivia, Chile