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 1jBX05-0003IT-10 for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Mar 2020 05:00:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jBX02-00040w-GN for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Mar 2020 05:00:14 +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 1jBX02-00040d-0c for pgsql-hackers@lists.postgresql.org; Tue, 10 Mar 2020 05:00:14 +0000 Received: from mail-yw1-xc44.google.com ([2607:f8b0:4864:20::c44]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jBWzx-00040H-0h for pgsql-hackers@lists.postgresql.org; Tue, 10 Mar 2020 05:00:12 +0000 Received: by mail-yw1-xc44.google.com with SMTP id j186so12595702ywe.0 for ; Mon, 09 Mar 2020 22:00:08 -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=detG8bTJnxD23rrQ4d0atpe//HsX7pVWggPgmLcQOmg=; b=V2ZC4nFk/M+xONa9AtsSHK3gDtpGq8K/MdyjPsMAd+P7cd6FMXXLs74dFW4gT798vH 8qzxS6KqAj+U9EDutf6CjsSvteH80Jtzq38pRUYyr9CMbqdctqWzBHHvR1p8q6Rprshz hAiV/bjDy8u4Cwj4cYkkMHiI2iYIoQBqql+MgE8ti6wuA3KzKj6lmIpnOfx9Sd5xMiKp t4r07WH+6KVmu1YVJtAVqndm0AtJdTvjlgCwWwpkiO0JozCuOuKsNCMUZqfZLlAvCawF FtIN6CZAG0VmwoYhag5SzssTwN9Qe4U3ct7UkprJVlpEpz7RJHfzZJszoZdMJ2sfQTLp rGiA== 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=detG8bTJnxD23rrQ4d0atpe//HsX7pVWggPgmLcQOmg=; b=I5oW4ulQ8LVbY03TxT/ZzWWMvWrYx9Jo1jJLxMhJj38igXWNTd8bTZE43kdoiaT++u zMYCvKuLsPVadVaf17mGLikC9BDfxqe0anH/FWPO95k11A6Cdi7Jyq0+JoHVevStlgNV UL1ebJgBX69W1cVQuByTctvP/Hjv6+9xRo2FD131OXZrUtlm62SDWsx/GyAgydhtPLai qfJRkXHvZA0YfHlXtROv7tDpHfgOLQ0AiNkZGqJvL4jeXSa6uXbognz4rcyX1n5T//tv 3YGVwZbO4heO86z6emtJCQEMbhdIMdq6frG8Yms1GC4Ptx68ocEZv2ldA0UPNDb/jzE1 RvgA== X-Gm-Message-State: ANhLgQ2etZiUq89mbA9eS2zvh42TjsZxPD78h3qQdx+iQvHArvNM3Cge hao5rEDJpqTqFxtyBER6qduO0A== X-Google-Smtp-Source: ADFU+vu8tcujMjXcamk2Sg8ePnQkbLDl3P+lkhnP1lk33BXCWQDrQoSwbsusW6RKW5m4hV+lX6PLpA== X-Received: by 2002:a5b:50d:: with SMTP id o13mr19214243ybp.366.1583816408228; Mon, 09 Mar 2020 22:00:08 -0700 (PDT) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id e6sm5375771ywf.103.2020.03.09.22.00.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Mar 2020 22:00:07 -0700 (PDT) Received: by pryzbyj (Postfix, from userid 1000) id E857A800964; Tue, 10 Mar 2020 00:00:05 -0500 (CDT) Date: Tue, 10 Mar 2020 00:00:05 -0500 From: Justin Pryzby To: Laurenz Albe Cc: David Rowley , Tomas Vondra , Amit Kapila , Masahiko Sawada , Darafei =?utf-8?Q?Kom=D1=8Fpa?= Praliaskouski , Andres Freund , PostgreSQL Developers , Alvaro Herrera , Michael Banck Subject: Re: Berserk Autovacuum (let's save next Mandrill) Message-ID: <20200310050005.GA11448@telsasoft.com> References: <20200107180524.mqz456t2pmr7crpw@development> <98a1422dece118877ebbdc20cb78209f6d12866e.camel@cybertec.at> <0cd8685047ac86fdf9c5446a24ff3aed8755e290.camel@cybertec.at> <2207744f6cc70813d9000510b6bf03ce85db6675.camel@cybertec.at> <602873766faa0e9200a60dcc26dc10c636761d5d.camel@cybertec.at> <91c110aad4b8653d6433d42fd707bd16074c79a5.camel@cybertec.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <91c110aad4b8653d6433d42fd707bd16074c79a5.camel@cybertec.at> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > +++ b/src/backend/utils/misc/postgresql.conf.sample > +#autovacuum_vacuum_insert_threshold = 10000000 # min number of row inserts > + # before vacuum Similar to a previous comment [0] about reloptions or GUC: Can we say "threshold number of insertions before vacuum" ? ..or "maximum number of insertions before triggering autovacuum" -- Justin [0] https://www.postgresql.org/message-id/602873766faa0e9200a60dcc26dc10c636761d5d.camel%40cybertec.at