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 1vzyfe-001UyV-0D for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Mar 2026 15:06:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vzyfc-0047No-0z for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Mar 2026 15:06:52 +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 1vzyfb-0047Nf-35 for pgsql-hackers@lists.postgresql.org; Tue, 10 Mar 2026 15:06:52 +0000 Received: from mail-ot1-x329.google.com ([2607:f8b0:4864:20::329]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vzyfZ-00000001zAH-3ftQ for pgsql-hackers@postgresql.org; Tue, 10 Mar 2026 15:06:51 +0000 Received: by mail-ot1-x329.google.com with SMTP id 46e09a7af769-7d4c12ff3d5so12149339a34.2 for ; Tue, 10 Mar 2026 08:06:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773155207; x=1773760007; 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=Guqi3ZK3/ffVRNvSwOzilYMlRIDMW8z6qACa5YHvOgM=; b=Bwm2DcuIZ0I+w9Yp29pHxN7ZreeitQbbpdqRWrowimiJRKkQAnMQPZV390T49Ouzb9 lKZP1Yc5yIOUxM6Vnf3W9cgO9r6JAPrGeMuuieYhVDyb3i7NS9s3Id+m+pl2sDhyEHlP 9oHz7FTtTufXKl+6aoqZQgFe8I3VQCeG/EueUnvmHqqrMaV+7v7ExoR8BwutsVvpk3hs gRgIQmTkxWlXMEmkyblASo1IX3Jj/wY9JbLa2LPlAgq1HNlZZqd2bSojpmIxE9UtbUYL h81Hrpo/DHNdoYBvCQYjXBMOJOmszjSYUv2JwzlvZP0Ch6m7LyCPmNqsn8PdwKSFogws 9DOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773155207; x=1773760007; 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=Guqi3ZK3/ffVRNvSwOzilYMlRIDMW8z6qACa5YHvOgM=; b=BGBAuFACRenWARKzITZJlLoUo05MMm8eBgKbW/cvLeuEfcDCDkbGWPP9Q34fOxq9jB PhBruKcDCrpYPR38y7caMwwR8CwhW+IBQM2iccQUEMVnOiu6ugadNFHi3N26oCnh3Sb1 8lFmYG5ftE5uiEL+uRWwjaVeN2TlavWpIxQvN1xIe4i5vCAvZ1TeOqKChQf0sHgS9LNs 6yuH7umDpWvOf3EWBeg2Tf2zywk5+Ex5+LJujy5wRhbSbB2UYfFDYihvGKFt6PzDt9II +P+jlmuM+mQT2harTtoD5hDf8XmjzU15AFKc5sWNd8bVPcRCyqdqvJ+No+r8YIsR+PHo THxA== X-Forwarded-Encrypted: i=1; AJvYcCX8+ya+ikeNGCViahRhvLaqb4JlrI3dORB/HJBhjatI8rzi4AzyoQvygcVIbfb3m7oAambR7k6vr/bwdHgD@postgresql.org X-Gm-Message-State: AOJu0YyJ20jrTKEJEQGveWTrmV/RPMlIkg+HV26cg86TfaeBYw5cXcrh +xN3a44ei3byvPCiLTk1NEdzNSPQZCcSqO/J5IOIKQ85tkq4NbcFSWikLxNpXQ== X-Gm-Gg: ATEYQzzfQsMg0joTh+bbRM+pDxWiavgGnfzsgdYMOIVJP0zEsohqsdpOmBiRex7pbCb NW3nVpLbLpyJi5pzf7SAEe1VTvEOf475VZpPVaKmH197ZHlRpEqyk4begKrhfPskONem6cogqPV CnJCB1Irh5AgK8sUjtB1QGdYhYDOH8Dt1XrpiC64NE/7Cu8ym6keiL7ybAZleyLsJqK3BnlC02Y GiSjUEdcUBywe8ANnL82WxaKJs8K/5ZGOLFHUCY6og6TCdOP0SKmlnmAPt4h+/0OXBFYXJ0dN13 dRCBExtoy73G9jCeJjd92iIqElylU2HKI04sQeQhzPnye/exF4r1496R0t8FTdw3iRLujHDBpJG 40E4B16rDRBtxK+dKHz9KqS0hwRo0BaPhjMyKo2F0NWzsKIOK7MFq4vkHyoFhfvXXEGa87X2LHz kU8GQrzhcA8fnPavX1NwU3INyQMFP07BrDn+GlqBUSHTU7idnvGHY1uBqVSbJUE7RhPJr7NkcK2 f396OYB8By+wbWMfGnSqg== X-Received: by 2002:a05:6830:910:b0:7d7:570b:6800 with SMTP id 46e09a7af769-7d7570b70f4mr3378139a34.23.1773155206777; Tue, 10 Mar 2026 08:06:46 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7d728d2cfd8sm8794506a34.20.2026.03.10.08.06.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2026 08:06:45 -0700 (PDT) Date: Tue, 10 Mar 2026 10:06:44 -0500 From: Nathan Bossart To: Robert Haas Cc: David Rowley , Sami Imseih , Robert Treat , Jeremy Schneider , pgsql-hackers@postgresql.org Subject: Re: another autovacuum scheduling thread Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="BwU/xwtgE1CFwXAP" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --BwU/xwtgE1CFwXAP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Mar 05, 2026 at 11:03:50AM -0600, Nathan Bossart wrote: > My apologies for getting distracted from this work. It might be a v20 item > at this point. I haven't addressed any feedback since the v8 patch, but I > did some testing. Here's an updated patch with new GUCs that control how much each component contributes to the autovacuum score for a table. They default to 1.0, but can be set anywhere from 0.0 to 1.0 (inclusive). In theory, setting all of them to 0.0 should restore the original pg_class order prioritization that we have today. I haven't added corresponding reloptions for these GUCs, as I'm not convinced we need them, but I can add them if folks think they would be useful. -- nathan --BwU/xwtgE1CFwXAP Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=v9-0001-autovacuum-scheduling-improvements.patch