Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1jCuOZ-0006iw-Ta for pgsql-hackers@arkaria.postgresql.org; Sat, 14 Mar 2020 00:11:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jCuNY-0005wk-TI for pgsql-hackers@arkaria.postgresql.org; Sat, 14 Mar 2020 00:10:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jCuNY-0005wd-9r for pgsql-hackers@lists.postgresql.org; Sat, 14 Mar 2020 00:10:12 +0000 Received: from mail-qv1-xf42.google.com ([2607:f8b0:4864:20::f42]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jCuNQ-00060C-O5 for pgsql-hackers@lists.postgresql.org; Sat, 14 Mar 2020 00:10:10 +0000 Received: by mail-qv1-xf42.google.com with SMTP id p60so5673857qva.5 for ; Fri, 13 Mar 2020 17:10:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=//4zJvh74/oogRNDa2bD6VdqWStRmeIeRxezYMwq9sM=; b=LTJMkJU6N2yR+rNzcIlT8YCZur2lI6oX2DTj3p0gWYicpJZ0ZVyoiVYQlJKN8z6fs0 06KeHQaTz5uUKl9wwdiUuoAY0j6QyI+FyjfQS31UZnkrl+0ymtos6nE8HpeaFFKyWsE1 3oK4Jb9LSZjbv+NslJ2jUKCWrFE9jaWxXjBjNA7g/OOWPyV0U80u1wETvz+teBX393wb QbQRyvsCmPjrWtb9HQh/f/62rT+DCbWGo51T+uj6pTvRq9EI9thDlRuLhh7LOi9cHI/G eoR9l+OoRWN+f589CRUtDN7nIp5x6wvEQCuL4AZRr5XrePZA8WPiI3nWOW1sS4qoeEuO m1Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=//4zJvh74/oogRNDa2bD6VdqWStRmeIeRxezYMwq9sM=; b=GrgBXs9DdOf+2zdZENOQjP316WGz8eamm4O79PLHnQwIH3f81sCee7fWcvCLc+EN6j GVbEpqhd3MwPxdDDiAnbhzqrtNIpBtVrySCdDXSwdKGVC64YzRnE5zcwMer2RCT0TlZ+ vPhxRWcSQv+ASXINfzKTfnsvxXT/dHpL4axNHbC7WcdEwpHOEZT5K07TYM+r7PAKKvdX bB7iiE2SccqNuxkvW2LPaZRGoS5gWi9YMMUOL9PoH7UXnDoqfPq8c7WG9+aaCqg3C1s9 pgQxsZLOYrcu4oSManX9Xo/sSTW03rZwzwxWpDi1J3BG6ezBztEF20EWYxV2NHXu6X+M v5XA== X-Gm-Message-State: ANhLgQ0vFrrkbO9yPVpUiQRoKtvCjZLGONfteLSx57vmO+tDj7VzolCR ZQoG65sLip1FeiSmA9egqSQQzQ== X-Google-Smtp-Source: ADFU+vuZ/eeRaF0OpKcexBhsdWv+CZtShHJ7MOT/zBTSYlViZmOpr/I8GIw4ryzgOFnS3HA5kogNWg== X-Received: by 2002:ad4:556e:: with SMTP id w14mr15429522qvy.144.1584144603294; Fri, 13 Mar 2020 17:10:03 -0700 (PDT) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id v19sm15337987qtb.67.2020.03.13.17.10.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Mar 2020 17:10:02 -0700 (PDT) Received: by pryzbyj (Postfix, from userid 1000) id AD5C4800C55; Fri, 13 Mar 2020 19:10:00 -0500 (CDT) Date: Fri, 13 Mar 2020 19:10:00 -0500 From: Justin Pryzby To: Andres Freund Cc: David Rowley , Laurenz Albe , Tomas Vondra , Amit Kapila , Masahiko Sawada , Darafei =?utf-8?Q?Kom=D1=8Fpa?= Praliaskouski , pgsql-hackers@lists.postgresql.org, Alvaro Herrera , Michael Banck Subject: Re: Berserk Autovacuum (let's save next Mandrill) Message-ID: <20200314001000.GT29065@telsasoft.com> References: <0cd8685047ac86fdf9c5446a24ff3aed8755e290.camel@cybertec.at> <2207744f6cc70813d9000510b6bf03ce85db6675.camel@cybertec.at> <602873766faa0e9200a60dcc26dc10c636761d5d.camel@cybertec.at> <91c110aad4b8653d6433d42fd707bd16074c79a5.camel@cybertec.at> <20200313184442.GS29065@telsasoft.com> <20200313213851.ejrk5gptnmp65uoo@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200313213851.ejrk5gptnmp65uoo@alap3.anarazel.de> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Fri, Mar 13, 2020 at 02:38:51PM -0700, Andres Freund wrote: > > |One disadvantage of decreasing vacuum_freeze_min_age is that it might cause > > |VACUUM to do useless work: freezing a row version is a waste of time if the row > > |is modified soon thereafter (causing it to acquire a new XID). So the setting > > |should be large enough that rows are not frozen until they are unlikely to > > |change any more. > > I think the overhead here might be a bit overstated. Once a page is Could you clarify if you mean the language in docs in general or specifically in the context of this patch ? -- Justin