Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jIx9X-0006Cu-3R for pgsql-hackers@arkaria.postgresql.org; Mon, 30 Mar 2020 16:20:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jIx9V-0002UK-Ks for pgsql-hackers@arkaria.postgresql.org; Mon, 30 Mar 2020 16:20:41 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jIx9V-0002UD-AU for pgsql-hackers@lists.postgresql.org; Mon, 30 Mar 2020 16:20:41 +0000 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jIx9R-0007G3-RB for pgsql-hackers@postgresql.org; Mon, 30 Mar 2020 16:20:40 +0000 Received: by mail-pg1-x543.google.com with SMTP id d17so8899633pgo.0 for ; Mon, 30 Mar 2020 09:20:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=5HPWgs9pU3S6muU8m0HoDxKo+/K0mBVj1oo2I7n2j84=; b=qSfYKFu/iS/nkNNMojFe36iXTQBxX7teHrCGeJu/SV/Ihm+B3DLIPCLMZ+MO2pHJ+1 tAvTJmzsJkCU/uQ3xs0W7288a0Fk5JAhbrtQSVsG3HgaCnd3tqmAHJXin38b+c9F71WZ zrCYl+ckIQr8k5Gn4DRvJUucFu2/i8cnzdOOxhgnVCBukkM34y5T8VIu8nkQXFOFlrmU tF/K956i6Nz7V/ZoXw06vdZNoJxGsWJ0ro874s9lFAVgONwreMl/7tZyMDH58orTrlws FzZX/2uIOIBg8B3lq4ulGOHYf8mV47IGsrJJoXti916CxQT0EWG66Ut3fTObEPlS+Zo8 T4vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=5HPWgs9pU3S6muU8m0HoDxKo+/K0mBVj1oo2I7n2j84=; b=iswhB/Tw2Scl8iVuI/fCs31Kh/WGJNV6iYahhjFPBbmrFULunBHP9qvKrZkRmq9RNc nPnLZFry0HzSbSDht4ZdBPo3ygRQ3cCKT3gS3d6keF7nXKfncbaJmiJmT/mcL8T0qgCB 3FX5HbXJXZCRsWE0DI/dhRTlsUcHwXPpUiA9C7FTIor7gMeSyU/WaNR9TqAbHbqcgswQ xFTAU4NUt/Bs1RWG/MBsPGcps/xHDc/aXa8agj2El9UEXISHICBd4+T3KvZIlXj1BfVA 47fmij5UAtTl4hB5H4zSxay9eqvcTzz7OmsgGx9w0oOo9d/GlqGPSlAx7hEZ/VW0a67o 5g/A== X-Gm-Message-State: ANhLgQ3qQ2yWd0Zn8vz2a4uGB6v+Il3JFry57Ah1LQgXb88ll2z1xKkG mcVHT4RSxLEJvpYz6y9gBbWs9E4YFei+oSRxl6Iw5v+/HSzpZRiHZ8CSTDznv/gwwzQidV1i8jk 0PSXfYrSYn1Eot49llkdV6H9QofMUkqJVi/6Kr0YrSskflkOK4LK6uvKky+i4JXUB/5Iu0gP1p/ LFXd9FhZpoE/H/FmrJDlrK1Qgv1JqwSA== X-Google-Smtp-Source: ADFU+vvkAhlv1OBdeU13veI8g4BsKK/5+8Oncyw+yBHWh2ggBPmcAzNUh2MYh+rSPp/hYmdu8Fnjzw== X-Received: by 2002:a62:4ed1:: with SMTP id c200mr13445545pfb.207.1585585216797; Mon, 30 Mar 2020 09:20:16 -0700 (PDT) Received: from [192.168.0.29] (24-113-193-150.wavecable.com. [24.113.193.150]) by smtp.gmail.com with ESMTPSA id 144sm9962586pgd.29.2020.03.30.09.20.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Mar 2020 09:20:16 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: Make autovacuum sort tables in descending order of xid_age From: Mark Dilger In-Reply-To: <2e45935a-d492-2b19-a2c4-991e1efe0895@pgmasters.net> Date: Mon, 30 Mar 2020 09:20:15 -0700 Cc: Robert Haas , Mark Dilger , David Fetter , PostgreSQL Development , Christophe Pettus Content-Transfer-Encoding: quoted-printable Message-Id: <019573E6-B914-4FD4-A46B-AD727CF500AF@enterprisedb.com> References: <20191129180138.GD8731@fetter.org> <20191129222152.GE8731@fetter.org> <2488acea-328b-1328-d437-8c156bc8f7a4@gmail.com> <20191130222314.GF8731@fetter.org> <877ac074-e95d-bdee-09e7-c51f0ee0fde2@gmail.com> <20191212192631.GA29201@fetter.org> <20200111175335.GB32763@fetter.org> <2e45935a-d492-2b19-a2c4-991e1efe0895@pgmasters.net> To: David Steele X-Mailer: Apple Mail (2.3608.80.23.2.2) X-CLOUD-SEC-AV-Info: edb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Mar 30, 2020, at 7:09 AM, David Steele wrote: >=20 > On 1/11/20 12:53 PM, David Fetter wrote: >> I agree that it's a complex situation, and that many different >> approaches will eventually need to be brought to bear. >> What concerns me about introducing a big lump of complexity here is >> disentangling the effects of each part and of their interaction = terms. >> We're not, to put it mildly, set up to do ANOVA >> (https://en.wikipedia.org/wiki/Analysis_of_variance ) , ANCOVA ( >> https://en.wikipedia.org/wiki/Analysis_of_covariance ), etc. on >> changes. >> Given the above, I'd like to make the case for changing just this one >> thing at first and seeing whether the difference it makes is = generally >> positive. >=20 > Mark, Robert, thoughts on this? I have not been working on this issue lately, but as I recall, my = concern was that changing the behavior of autovacuum could introduce = regressions for some users, so we should be careful to get it right = before we rush to release anything. It didn't seem like the proposed = changes took enough into account. But that's clearly a judgement call, = having to do with how cautious any particular person thinks we should = be. I don't feel strongly enough to stand in the way if the general = concensus is that this is a good enough implementation. =E2=80=94 Mark Dilger EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company