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 1vM7Te-001T0j-0Z for pgsql-hackers@arkaria.postgresql.org; Thu, 20 Nov 2025 16:25:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vM7Tc-002i7y-16 for pgsql-hackers@arkaria.postgresql.org; Thu, 20 Nov 2025 16:25:44 +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 1vM7Tb-002i7q-39 for pgsql-hackers@lists.postgresql.org; Thu, 20 Nov 2025 16:25:44 +0000 Received: from mail-il1-x135.google.com ([2607:f8b0:4864:20::135]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vM7TZ-000YOX-2T for pgsql-hackers@postgresql.org; Thu, 20 Nov 2025 16:25:43 +0000 Received: by mail-il1-x135.google.com with SMTP id e9e14a558f8ab-435a16798feso7838295ab.0 for ; Thu, 20 Nov 2025 08:25:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763655940; x=1764260740; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=FO12YUD+DsbnvQsYMkI6cqskrVN1fXBzW9ogD/Y1ChY=; b=O3uMTk7JKmI2kuyKElARb7ncAJ0YTl4jpbpMFM+12uxU8E94GQehJ/r/9+o3I6/GzT pMKDxYHlfshBaUD6JkpNzr5+WsoxBFHV8siBVX3aNeampbLrttCmZ4JNgJCC789BgERK ldbouWkWiexafLSF4B0UhqPj2Jllj3cu4Cy+jvZNAr7RCF3DHd9Zer3CleBxRfVVIpC5 j4VOiKS4o6SVCeoJeagUIapq+S57x5xshLZiUy5e0f/el+K+GzNvIcxIEuBsl3x37U3/ iS449bE/Ctsik/5+0LFn2isjL2aqTdLNa432dM5BZ3FxveXqTqd9LofPCx7taLhPICtd CvLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763655940; x=1764260740; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FO12YUD+DsbnvQsYMkI6cqskrVN1fXBzW9ogD/Y1ChY=; b=ZBm94zJfGVusC71QwA71+thGo1+uHEySojIC5YM4BJQcXcK76Zy+K8vVC5v7zusmFn kZbKzuHteIG/mnmyHxO3+9PPjKrzgzlQExz3ilyJImIB30RSHyFAkMD+Zu0hZc3VxMRm jb/3WFHnHsAhI8F8WtUMBFYy7OxARLPAJB+FBUYeXHWkDSYqqfswDeWA+76v+t5MOWE/ 3gf7abgDPvYZ/2/ZViwwOzW16euEuhoRW32qpVnJcsLGFLW+isMlPbPTexJ8EZXUwDSQ 8ch52ezYRtKyfgFoJ/U61PSFYMGCg01e7JfP6io0XGbixh0dI7u/4B5PqnkmgYr0KbB4 JQwg== X-Forwarded-Encrypted: i=1; AJvYcCWdlnGcdKDlH+IYCPlGEhBYbReWgSbzzdNQnLlXTCOI1u4GAeo2oQ/7YsJZIpdsrGcymNczbGR1G4wb13vg@postgresql.org X-Gm-Message-State: AOJu0YyyN+rRpdX/slc2IWREaNJ9RLJklBJ65gp3CuIPNOvEDpHGVtdc Wt2nMU+qM5+SX5wzOz97W7EdrRYjdP7iLkCK5UA13Mmj9krEDG2R2zkcPip4ow== X-Gm-Gg: ASbGncsZ6Ky+0VY1vHDbde4qnn2J1q3ZGlnuViN9wAYJJ1DCOUGwrZDRNO8PTicN8Kb 43sqPR7NYsLdlYgrzOO61FiCkEXhmNHxeqyLG+/I7oRSxVP+WqDWbv/NUJesnXvTjHIMSLmsmeR wOjsFupKnONZA231GHP2Eat0Tt9qNZPqszfveRju7OJo+B+++TiYiLDk05SX5MDYpY2k72nZsSA +GI8A6us+nrvzWlaWETM12D4B+Ix+6adSvK90w1RbzgcvSpr4L0Q1sQlnHVA/l6GRiW9FhUTrVA TUynglqX8lmol6WCNkoq9dr6mv3s9gyeJDrZpEbo7vADoQBQJc2tyMg32osg24YIoZeGTTIlsNo LEJoI50xaAMP0C7/sG4IHc2KnYFh0qLP2ps0Yt4cFCu3sgvfh7j2YFFncHVtxHR/XPqylfRapFV tolSa3LnvoGKj4IOv2T9Fi4MEhAadR90b8g4QDrCFoa3QbGFb1PmUPQY2ufTDIWOg6+YuRI+kdk dOg X-Google-Smtp-Source: AGHT+IGqfuiGZsa1U8OjSS/WWslgwAhUBcR3gxn/M3p+vA5j0z9GwVx8owbaA6MdSEuOuUasqZKnyA== X-Received: by 2002:a92:6f0a:0:b0:434:96ea:ff46 with SMTP id e9e14a558f8ab-435aa8ee748mr21215125ab.20.1763655940308; Thu, 20 Nov 2025 08:25:40 -0800 (PST) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-5b954b58e5bsm1101622173.59.2025.11.20.08.25.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Nov 2025 08:25:39 -0800 (PST) Date: Thu, 20 Nov 2025 10:25:37 -0600 From: Nathan Bossart To: Robert Haas Cc: Robert Treat , David Rowley , Sami Imseih , Jeremy Schneider , pgsql-hackers@postgresql.org Subject: Re: another autovacuum scheduling thread Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Nov 20, 2025 at 09:30:42AM -0500, Robert Haas wrote: > Point being: I think we need to avoid the mindset that we can't be > stupider than we are now. I don't think there's any way we would > commit something that is GENERALLY stupider than we are now, but it's > not about averages. It's about whether there are specific cases that > are common enough to worry about which end up getting regressed. I'm > honestly not sure how much of a risk that is, and, again, I'm not > trying to kill the patch. It might well be that the patch is already > good enough that such scenarios will be extremely rare. However, it's > easy to get overconfident when replacing a completely unintelligent > system with a smarter one. The risk of something backfiring can > sometimes be higher than one anticipates. That's a fair point. The possibly-entirely-theoretical case that's in my head is when your oldest and lowest-OID table is also the biggest and most active. That seems like it could be a popular pattern in the field, and it probably benefits to some degree from the sequential scan returning it earlier. I don't know how much to worry about stuff like this. -- nathan