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 1w4nkS-002ZLh-0V for pgsql-hackers@arkaria.postgresql.org; Mon, 23 Mar 2026 22:27:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w4nkQ-002mjV-2A for pgsql-hackers@arkaria.postgresql.org; Mon, 23 Mar 2026 22:27:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w4nkQ-002mjN-17 for pgsql-hackers@lists.postgresql.org; Mon, 23 Mar 2026 22:27:46 +0000 Received: from mail-vk1-xa35.google.com ([2607:f8b0:4864:20::a35]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w4nkN-00000000lzg-29R8 for pgsql-hackers@postgresql.org; Mon, 23 Mar 2026 22:27:46 +0000 Received: by mail-vk1-xa35.google.com with SMTP id 71dfb90a1353d-56ce5c0a04aso156711e0c.2 for ; Mon, 23 Mar 2026 15:27:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1774304862; cv=none; d=google.com; s=arc-20240605; b=ciyv0Uu2v8B/oeO9i7DnRJuRW01lpWc4UY2WGVQc6gaC5hGBt+ddvnS2+4oCLuBYns FgZ1qIEKPypSeCG9TDiMpPl+DEUBAd67Y8fBy9N9XonAF0wJMmGznVg8ILJ0qo6j3lYn ij67p+z+R+CrOVW6xqW6r96N0NXdpo3pT/Ha3MfXdYqckfCTi0kbetC8Ign9SKKIE92F x0u0q9FRq2SRi7OY4ie5sqxoUX4dhL3wcE5UoSCIv9DNioOBXp/IeIY216btqWDGNzom BQqjk28H4PekpM4ihLyGI3m7cNnnkevLpHYMU7bxVnUDXelha0O+7yNF1kqDCa4ptH+Q BwzA== 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=RXqSLaMXRIqTSh2ah8rw2orZMkl6GA70lZHr0ob7jdg=; fh=yxDwyOcI1v4sO0c0RKwD5z3gxmVkIUiPc1EF2ZLi5lM=; b=LbWv8atLqOr3zLe1OIzADVxzs3t+c4v/mszn/Zg7y+zSTZYUCxEpJCTZo5FoZ/3HSP +wb0XbvseMoXBkFBCaYjYP27BbN+5BTc6+tIZKVeK4zUVibGnDvfb1Of2YI2C64Y59Jb D2rCcVEVwB8QEM/Qy1KpVq3b/FBSfj7ePQoqwVHG2j4dLKo9IBIFxSzlsbNfSKmXoadd /yBSpzVwkTxsnkgJ/WrPDORVsOEPom+PyzOdwoGGIxEWfMMSXAeus714rw5JCWErf1Ws zmPXsD5bFeZSuolwTtvZ66xzso5GCM4da0ATDVXjQMmhTyNgxIaW5EAQlxwGwpvdTjlC xQSg==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=upgrade.com; s=google; t=1774304862; x=1774909662; 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=RXqSLaMXRIqTSh2ah8rw2orZMkl6GA70lZHr0ob7jdg=; b=VhNjmMEi/HOTiIKIXXPpQQApBSlPtkXlLSEF6U9/JtjwTe4x4fGgHG3JNvnA0ptXQm w6SKy6SoNQTNpc9JD5jfJwiWKg4ebDe69LtoWlkz9TbBcAbNm9roltfkwNF0F6ymRIDG Vb5bujUlTXse5RKBT6f4b9IePjlif3nT4tS+l2dZZ3qO/jIHu99+o7wFqtGWlQjg2sAf nOFVP99m0/5nAZ5KSjuoWYD+T8j6ePZmlzMUm5ByskDyCinDNReASfrtY1jcGaTmE/9V xEpRRUa0FQYNSOemMtUsCm90iAUcS8vGbf/aRwnnsNWXIl6g9T3KcdDrnDtE8I0SlGo9 2ALA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774304862; x=1774909662; 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=RXqSLaMXRIqTSh2ah8rw2orZMkl6GA70lZHr0ob7jdg=; b=ArOn+MDZ/shbOWgATJuwN9BREfNhfuEABT4+ExtL7X5pM8VNjLjFK8M7j20OrhmolO ZYHCmd6sRYwHIlvLFJpdK7Gx0U0fdGKkxnUVPNQHUZhxQIEnmxq5ipalak1KdUoqnbu4 6GbA5mYB3RDd/h5eNXev34FEkM+KiJvW1TwWS4N8KUPYFNPHlTcDdFqrmj/WwjSyIOuP YKzndDAr4e6PGgfVbRkowcGyWDf4QPQ1iCeYkmbeMi7qRXL8cl45qjAAA0erhPVWs//2 uuFYWzaaw1r2/DDfglVLmFYsTheKSueNwYvP2VMObO4kxwy9ldq4QZ73qGZdFne7BgIm LKKQ== X-Forwarded-Encrypted: i=1; AJvYcCXWAW0Fen8hLgE37ePMGzNWiBWhRnhIm+I+1xbBgD0uSQSvcOZ0LBvKxc9Ulb8xaEozTggQ8/WjeF9wGGDG@postgresql.org X-Gm-Message-State: AOJu0Yw7E9ISbOknfVki5F+D1h7phOpKiDlKDZmoDCE62cYRVurkg7v3 /720ZJ+Rw+JJmLQtbdl0hNVNHtsZgtDdaS9u+y9bLz5VfVigpZOQlgM+kv4wptPjRggN62W8An6 Ns5fv+0xbzzAz9X81il0vJj+iPeQOuL5y7puma8AgUw== X-Gm-Gg: ATEYQzw9i7gGMBq2n9IkpFCJ2MPfze9chpni8XdvvdlxiehWQXmHFM3F5HJrwb8eNxV hmrVwwK4EkrxjLjEf6cioUpTyt1jKGikh2/SxNKXkQVtJGvSF+dWQsY3d77jhJFMR6orKS9o0OY TZGz5+nqoV3FkN9J+I6mTE1ltQDuGpSS0Z17QTRmJjB8tdJLUw//q8G/Z0LUjrfH6ewEtHMY8Uv 47Bdl2wXymNMrUeo+8CpkhbLmF5aJ5QEDR2gI96s2KadJmKwhZzwyXE4BgzzoWZgqw3nFYomX46 9P9xHTc= X-Received: by 2002:ac5:cd92:0:b0:56b:7252:f7e9 with SMTP id 71dfb90a1353d-56cde327a4emr2890097e0c.1.1774304862210; Mon, 23 Mar 2026 15:27:42 -0700 (PDT) MIME-Version: 1.0 References: <3ca1e398-c787-47e9-9afc-8e298b94dac0@app.fastmail.com> In-Reply-To: From: Jim Nasby Date: Mon, 23 Mar 2026 17:27:31 -0500 X-Gm-Features: AQROBzBHNhff8z9cIkNAErSPNoNonrYOxEOq00DgbhFlFgGSx4wbu5122C9sLjw Message-ID: Subject: Re: another autovacuum scheduling thread To: Nathan Bossart Cc: Sami Imseih , Bharath Rupireddy , David Rowley , Greg Burd , Robert Haas , Robert Treat , Jeremy Schneider , pgsql-hackers Content-Type: multipart/alternative; boundary="0000000000000926bb064db88bd3" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000000926bb064db88bd3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Mar 23, 2026 at 4:01=E2=80=AFPM Nathan Bossart wrote: > On Mon, Mar 23, 2026 at 02:01:22PM -0500, Sami Imseih wrote: > > Adding a system view will be nice. I am attaching a version I used in > earlier > > testing (cleaned up with docs), if we are inclined to get this in. I > > think it will be > > useful. > > Thanks. IMHO we should continue to focus on the main patch and get that > committed first. > +1 ... for one thing if we're going to add a view meant for monitoring autovac decisions I'd like to think about ways to measure how many tables are "close" to being eligible for autovac. In particular, the scenario where you've just done an MVU via some form of logical, so now the freeze ages on all your tables are extremely similar. It might be nice if we had an official means of publishing things that we'd really like users to kick the tires on, but hold a clear understanding that we promise no backwards compatibility, promise we'll keep supporting, etc. I can't see how that'd work with backend code, but could certainly be done for anything in userspace. --0000000000000926bb064db88bd3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Mar 23, 2026 at 4:01=E2=80=AFPM N= athan Bossart <nathandbossar= t@gmail.com> wrote:
On Mon, Mar 23, 202= 6 at 02:01:22PM -0500, Sami Imseih wrote:
> Adding a system view will be nice. I am attaching a version I used in = earlier
> testing (cleaned up with docs), if we are inclined to get this in. I > think it will be
> useful.

Thanks.=C2=A0 IMHO we should continue to focus on the main patch and get th= at
committed first.

+1 ... for one thing i= f we're going to add a view meant for monitoring autovac decisions I= 9;d like to think about ways to measure how many tables are "close&quo= t; to being eligible for autovac. In particular, the scenario where you'= ;ve just done an MVU via some form of logical, so now the freeze ages on al= l your tables are extremely similar.

It might be n= ice if we had an official means of publishing things that we'd=C2=A0rea= lly like users to kick the tires on, but hold a clear understanding that we= promise no backwards compatibility, promise we'll keep supporting, etc= . I can't see how that'd work with backend code, but could certainl= y be done for anything in userspace.
--0000000000000926bb064db88bd3--