Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vq0Ap-002ZB1-34 for pgsql-general@arkaria.postgresql.org; Wed, 11 Feb 2026 02:41:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vq0Ao-001y1g-2f for pgsql-general@arkaria.postgresql.org; Wed, 11 Feb 2026 02:41:51 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vq0Ao-001y1Y-18 for pgsql-general@lists.postgresql.org; Wed, 11 Feb 2026 02:41:51 +0000 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vq0Am-000000003fZ-2bw9 for pgsql-general@postgresql.org; Wed, 11 Feb 2026 02:41:50 +0000 Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-65a11e565a9so1339346a12.3 for ; Tue, 10 Feb 2026 18:41:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1770777708; cv=none; d=google.com; s=arc-20240605; b=DK6OjXcpvqNrWWB2tbtEOPmZ+CB9/UuNRehHx5eHbIKCP3smZhGFaSegznEkTeEdzF Sh1t1g4qQp6dvcCjCCHmCtF5Z3X9HQ0dtor/UPsWT+PYzn4KyQiDnITSxBLHcDtQ9XNO PITUSmKmowlpYUpioBeNDuAawQ0GosE0AYZ/ah/QoiCin7jE5oLPDKxth71GsZYgpFYh IJcSeEN6PzOrgSsrAb0NlsQfnaF4Nf/KPSgFKVhM/uXfMzcGNoXGaLHOX7yEity6tbIA qRmNNBsMBvwnfV37gHY5nF91aDFpDTatdYxcv0ce04inu7mH1/0kSI3Pe11nL6HAFnp8 R3pQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=c8XGHJgDeW3rKklYajqwzwIs1nQtJdfirwlwzVILIxc=; fh=BGtaNkFX+CAg8opV/ETKClEhWmB/ki5aLubb21weN00=; b=F76oDvUkGYaYM1f0ue3jQlhd5lsdTomGD3KgmF7I3QC9IAwUIQ48slpjf7qr322QiN +1pcyT3s8uOTodB3wt5UCZBHknyCs0O8U9r2dEAublsuod45rS9ASDLIxRv3RMPBzdGH tO4NLBLzGsH6R3enjzKpH1Rlgf6Gs8hzy5vigWJsaenC1ivH4fvFrH3alNc9ejVpXUyS zEkIm3F7fy9j5dIOuhWyId16IWv5yneLnSrOPjFpTJHn9yYrJW5X+h/JFSBEriezv8dB /dE39KrJHU8mc3PgXlaFHHBMc6xuEMWFM81L0KG1vRPCYQUf8vWfYKWzFe/Cz0i2pGWj 9/PA==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770777708; x=1771382508; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=c8XGHJgDeW3rKklYajqwzwIs1nQtJdfirwlwzVILIxc=; b=P43I9dGhPcdASZmNRVH1XnJtxjWsBPMF9RqJ+fYrFsZ7svll+YVnf08wR3suUlwj4A 00RtyBLQ/PEFo24NlbgXbuFICqv3vRF4UkkQodWihL7pT368U2yUZVT0EfU9zXZMIZL6 zjSWXdMlg3Y6gW+AGOJ1jyfjVMiZrsDV12zl1WdS8h7Uqz5nDvmak7owj3aN3Fdykv4B 27lMmNd9T/LrGRHTTczihuHiHA2VW+RCDJ1mcsErrgAg+mSlNHxxYv/tjh8SUE1o+qPe RuY934ay9X1OmOisBLyzos5QsNPMQa0NUNu5LQEv4mKLxnpD8n6rqGyvmaSjpy60+0Ha HCHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770777708; x=1771382508; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=c8XGHJgDeW3rKklYajqwzwIs1nQtJdfirwlwzVILIxc=; b=d0iWpmc2476FZBmJktflbsnG5GV/kxg6iFdMASFs0lfqZfjYAzadeomsKPDwz1e/Ro WR+YnmTNRBoc1qAG62bTwIv/mtfPsSxnU9bJzsLjj4kQvZmPLlm1u4n+MhLksNOzikFJ m/56yDfN+k31OcZ/seUivB1V0127a+tdhQRz6Ihp85uzUQnbdf/VQrSIr+hpty54ISlV x83D2j8pSVau/M98hdGwkjP9YxPJOy3Lfyir7XgYcOcDWv8G0jvrPIV0f9jopZlAS4n8 JHpKNGmy+oN6q39YoubYenf3jsWZCMSSbYSHZ5R0kzaKPIlpQk+esOB86mrTIdeoTEqH Uoxw== X-Forwarded-Encrypted: i=1; AJvYcCU/KZqT8mhI/qvsCHWmaGVHdGzpMtkxzUtZ4Wy1xpTXFBJRcOd54Yf8bItfvNKOPPugfHJ0XA0feutMgBfJ@postgresql.org X-Gm-Message-State: AOJu0YxXiL3JBS1CEGbiScvhKhPy4rmtnTdR9GxBkbrH0aVzZeoh064w LbWG0IcgdwkDxtBYiZRPkCVqT828Kf127EJk45V1ty+Xm3F9oHBpGUqXGYVQdXt+ZZ8UUpjrenr kfojwwCXuiMK0g8+deAeI6+q4DO5XGtU= X-Gm-Gg: AZuq6aIkBxWM+0jZ8Jttcu0w3FoDyXFyOg1NGxaEqm0cFNcJeA2IygWcGqKosNxKteV H8z9MSSYOTvYEzPxB5b2GZWihtsC+wrB17of2t4BWQw3d5//ly7GpswmZHt0FybzWRoYgcrheN3 4LLGQfokVXfSdxGSVtaYWOeFn71IJXPy3bQ/G0GLghEdLMal13mYEQyanDjVUkcRYfyfNusPWHn mJ6RTqySM0Ilev1WpaWqQ6v2iazp3FwjLLPe5ukVJXXBD3Ki8MeuaXfKyFnhmPDWqiYU+ylWkIK Wl3Bn4+A+ZRNzDkcibc2uTOW1pDcRImjkFxyfgc= X-Received: by 2002:a17:907:849:b0:b87:720c:f182 with SMTP id a640c23a62f3a-b8edf173b94mr925252166b.9.1770777707489; Tue, 10 Feb 2026 18:41:47 -0800 (PST) MIME-Version: 1.0 References: <879d7275-836b-430d-bdd0-bbb8b92d3320@aklaver.com> In-Reply-To: <879d7275-836b-430d-bdd0-bbb8b92d3320@aklaver.com> From: Durgamahesh Manne Date: Wed, 11 Feb 2026 08:11:36 +0530 X-Gm-Features: AZwV_Qj9RTRUIYPUakVBL6K9cQJXPjWqRbuexGWsfpe3RSwWuipshSlwZd0RhFo Message-ID: Subject: Re: Table bloat threshold limit to trigger repack To: Adrian Klaver Cc: Ron Johnson , pgsql-general Content-Type: multipart/alternative; boundary="0000000000003b2e32064a8350e0" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000003b2e32064a8350e0 Content-Type: text/plain; charset="UTF-8" On Mon, 9 Feb, 2026, 02:16 Adrian Klaver, wrote: > On 2/8/26 10:05, Durgamahesh Manne wrote: > > > > > Any recommendations are welcome > > Please find attached ss > > > > FYI, you can copy and paste from a terminal session in Windows. > > Just select the text with the mouse and hit Enter, then Ctl+V to paste > it somewhere else. > > Text in an email is easier to work with if someone wants to set up a > test case on their machine. > > > -- > Adrian Klaver > adrian.klaver@aklaver.com Hi @Adrian Klaver In this case autovacuum triggers for every 1hour on toast table Access method: heap Options: fillfactor=80, autovacuum_vacuum_cost_limit=2000, autovacuum_vacuum_cost_delay=10, autovacuum_enabled=true, autovacuum_vacuum_scale_factor=0.1, autovacuum_vacuum_threshold=100000, autovacuum_analyze_threshold=20000, toast.autovacuum_enabled=true, toast.autovacuum_vacuum_scale_factor=0.1, toast.autovacuum_vacuum_cost_limit=3000, toast.autovacuum_vacuum_threshold=400000 Please let me know if any recommendations And need to increase speed of autovacuum execution time which takes 5min to complete Ram 128gb Cpu 32 Autovacuum work mem 6gb assigned Buffer usage limit? Regards Durga Mahesh --0000000000003b2e32064a8350e0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Mon, 9 Feb, 2026, 02:16 Adria= n Klaver, <adrian.klaver@ak= laver.com> wrote:
On 2/8/2= 6 10:05, Durgamahesh Manne wrote:
>

> Any recommendations are welcome
> Please find attached ss
>

FYI, you can copy and paste from a terminal session in Windows.

Just select the text with the mouse and hit Enter, then Ctl+V to paste
it somewhere else.

Text in an email is easier to work with if someone wants to set up a
test case on their machine.


--
Adrian Klaver
adrian.klaver@aklaver.com


In= this case autovacuum triggers for every 1hour on toast table=C2=A0<= /div>

Acces= s method: heap Options: fillfactor=3D80, autovacuum_vacuum_cost_limit=3D200= 0, autovacuum_vacuum_cost_delay=3D10, autovacuum_enabled=3Dtrue, autovacuum= _vacuum_scale_factor=3D0.1, autovacuum_vacuum_threshold=3D100000, autovacuu= m_analyze_threshold=3D20000, toast.autovacuum_enabled=3Dtrue, toast.autovac= uum_vacuum_scale_factor=3D0.1, toast.autovacuum_vacuum_cost_limit=3D3000, t= oast.autovacuum_vacuum_threshold=3D400000


Please let me know if any recommendations
And need to increase speed of autovacuum execution time which takes = 5min to complete=C2=A0
Ram 128gb
Cpu 32

Autovacuum wo= rk mem 6gb assigned=C2=A0
Buffer usage limit?
<= div dir=3D"auto">Regards
Durga Ma= hesh
--0000000000003b2e32064a8350e0--