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.94.2) (envelope-from ) id 1vCQDu-00DrG0-UD for pgsql-hackers@arkaria.postgresql.org; Fri, 24 Oct 2025 22:25:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1vCQDt-001BYq-0z for pgsql-hackers@arkaria.postgresql.org; Fri, 24 Oct 2025 22:25:24 +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.94.2) (envelope-from ) id 1vCQDs-001BYh-Le for pgsql-hackers@lists.postgresql.org; Fri, 24 Oct 2025 22:25:23 +0000 Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vCQDp-003bmV-2S for pgsql-hackers@postgresql.org; Fri, 24 Oct 2025 22:25:22 +0000 Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-375eff817a3so28233101fa.1 for ; Fri, 24 Oct 2025 15:25:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761344715; x=1761949515; darn=postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=529iwe9HFtNobnT5lJIH+9LL9O9YpPTRfGw1jK06GNw=; b=MqRCv3CbQhtGEsBGZLtRuI47Fbi+rrAJfnInlIqwu43LcpVdw/Gz9xCvu5Y/7atBwh cU9DR/Qkqnyvhh8Z4rQGQ3Q0R0gC3d33jnm/cQYTMv6P/qLEDvFU0czRTxhSSow9BSmT e0jYCtwuhpFZMR7tGgOjrrQk9QSMEPIKIsK8QcviPm8pKDSY3EIMJ40o+rgo5aL9QNls YKsrfZM/h09QbG2HCyMDQo9d3nR+bxZqEHFZxOwJYMSW0wq83b15CJLv6i1+wYEip6RY P+JNX9/pobmWSdPQYmyM7B2/8vwHkPaikP3XmT63uEpdQjAtaKEBhF0fx1DpIt7Ms3Kv bfyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761344715; x=1761949515; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=529iwe9HFtNobnT5lJIH+9LL9O9YpPTRfGw1jK06GNw=; b=PwyXfdEa1aNCRiRCbm4tsXujpLWwLHf39gdeHXfU4WqtpoxiwHuRn7wlBrFPHbmvR0 x2H+4b22aoq6N6xt1bqZSAQZ8N/F1QpAOHKOanrWp5PUv8ItWNrn1lYMbx/9X16Fnuwh 11MZRO6I8z7kmmNJDmHBFvvx9emABLcmOEUmDPoM+9QfognNt/NPa5gM8BQogqt3rdCl pcJS5TY6Xuigh/XoXl9MfajDsTX0oAj5nohB30n2unPB0pnaOjxfMTLu8KRuZo/Y2sLJ HFx9+kUiely5wHg1tx4VpZKo3VTDkT6vTiUV1BX6h/Wnw5qxlO2uu2n6CcG49vfouPJ8 hmKw== X-Forwarded-Encrypted: i=1; AJvYcCXcedEHOcHyNVBC3bvsQgM6oYCgPwxy8cY27fWjTzmPe1OfRh8V4dVj68bwda5mF+5lkpuNhVNmY2XJ8Zw/@postgresql.org X-Gm-Message-State: AOJu0YwbXn2rKo7rc63pgcqUpBOFI1mLvhn6P8bbRNstkAhqoqgVlOUm 0aWmbxlSG5SBVwOhG+4oq6qI5TfJdu6ekUi8Qcq8gk3QVO6TcMRrl3uJUAG6QBB4Ewu2DUggCWq PIGVnD3Hl+IeKMDcbZUmxofEsRRHYvbI= X-Gm-Gg: ASbGncsXn+7gyzEV9Z+nNLyFSMujQiQiFxHLf7nD3hrAPKLOTow1EoQGtnXhzxbN3qv 56ExUS3kvhf1L1xfZmhufEjVuTv6xGSkoDqvKeTkpGZCvB3g1jauGwzACBGc3Gc96+6tMHtKVq/ kVtvwhR/enkGTO/S/P3McbING+SnadPpl2e3p5dzEDeC9iYOrl2cAtGJ5kfdeo92PCocguHgdY1 BpTxhCRoyikAwTNa2oEll5nJ5PWI6ZnkuiE56j5EFgNKvhero+ABMmz3C5MfDGWkfTlWO0GhQQh A80UukH7pLwArho161eCugivBWPr+jjQKeKwgB9A2ewfG52wc7M= X-Google-Smtp-Source: AGHT+IESi5mEpq7sn3yTD31w+NUarmGz3YPW9M/C4qDUIFz4PBSxX8S69ifAFAvd9yBBqw2uBYdegJgT2rRwjrb0jqY= X-Received: by 2002:a2e:be0e:0:b0:376:35c6:aa26 with SMTP id 38308e7fff4ca-377978354e4mr94274161fa.6.1761344714821; Fri, 24 Oct 2025 15:25:14 -0700 (PDT) MIME-Version: 1.0 References: <20251008182520.6e05a8b8@ardentperf.com> <20251008184740.328d45de@ardentperf.com> In-Reply-To: From: David Rowley Date: Sat, 25 Oct 2025 11:25:02 +1300 X-Gm-Features: AWmQ_bkJwV1BAykLnx6Lfeiq40RtiYHtyiH1-2WlGJusTVgTW_-d6e23ZcMuikk Message-ID: Subject: Re: another autovacuum scheduling thread To: Peter Geoghegan Cc: Nathan Bossart , Robert Haas , Jeremy Schneider , Sami Imseih , pgsql-hackers@postgresql.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sat, 25 Oct 2025 at 10:14, Peter Geoghegan wrote: > > On Wed, Oct 22, 2025 at 3:35=E2=80=AFPM David Rowley wrote: > > If we had the varying sleep time as I mentioned above, the > > failsafe code could even be removed as the > > "autovacuum_vacuum_cost_delay / " calculation would > > effectively zero the sleep time with any table > failsafe age. > > I'm not sure what you mean by "the failsafe could be removed". > Importantly, the failsafe will abandon all further index vacuuming. > That's why it's presented as something that you as a user are not > supposed to rely on. I didn't realise it did that too. I thought it just dropped the delay to zero. In that case, I revoke the statement. David