Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k0GT5-0002cD-18 for pgsql-admin@arkaria.postgresql.org; Tue, 28 Jul 2020 03:39:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k0GT4-0005dn-0I for pgsql-admin@arkaria.postgresql.org; Tue, 28 Jul 2020 03:39:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k0GT3-0005d1-MY for pgsql-admin@lists.postgresql.org; Tue, 28 Jul 2020 03:39:53 +0000 Received: from mail-oi1-x234.google.com ([2607:f8b0:4864:20::234]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k0GT1-0004LM-D2 for pgsql-admin@lists.postgresql.org; Tue, 28 Jul 2020 03:39:53 +0000 Received: by mail-oi1-x234.google.com with SMTP id t4so16259263oij.9 for ; Mon, 27 Jul 2020 20:39:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=p5Bcg4fUEg2M+wWLlyn9BKH9hFTsldMD0QqSRtidtlk=; b=ma8nukPqc7ndm+or6qSiVNEQPb12qhmEBW+Pt/sJ8pzSvYE81VHCRF/qytET1cEyDD r6hMVBAPgOxAA0RtnckYR/ar9wgElPHCWZ5n0oAfYVQ2TLp4NouXS411W3ijLsh/r3xE C8UDa1/GK6I8uZlJDrT0wTbQPve7CUGVS/qmOBZKIlKUfi4+wI04ukUV/hqHW475+shM fdXy/3rP4V+50Deyao453RkZ2rIAMilpL8bgaAzfrpZGBl0kxSXYxIf00i1muTsUjToI c9oXUU4QfsbMUzL8OwBn8/H2hvnVtfXRpuYT8g/IPtIE6WJfrIlA0gWlHsxeoGRAQ1Fa B4Og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=p5Bcg4fUEg2M+wWLlyn9BKH9hFTsldMD0QqSRtidtlk=; b=Q9TmefUMyAtu4vj+ZuC5SwL8D/iG0fpZxdYN9TPuhTVWgP+y6BT5kgFZMuCeQNl80V E6EctWuy1S9MVGdnKig0pMKiQyOyyJKobsoWxgXYCUjBzyo3sxTKseMqWn02w0Bf9TT6 YwH50Bp52L5d4WDCjq/kGEKMF+HTn3L6q+Ne04XmD6OZp9lvV3VY1d0/omPWXFdUOUvz 2tHkWPBZ6XM5HenR/9//SGnYa6UWNxaFhZxBkPTiecq/daqgrJJaMBWxApeY8MzzW00d jF+N0YkCcjTR3D+wtZebghPkvl2eKIeBAXNPmizJHvtjszaYZ7/Ui1MWrhrXJnlFu6mi TkIw== X-Gm-Message-State: AOAM530YE/OnmoJUVihrT+saenXfzLHwNPHW5wB2PjISKV2I6T4EG96r YBHYnr1jVWmEkSK4UDdPOevkb9021gw= X-Google-Smtp-Source: ABdhPJzZOw4r8ug0gB5kk2+YT1aLJqW4KPG5YJWKxXZG51Sj7ZKomdJwlWD3JA2KdBoLTEq2cvx0HA== X-Received: by 2002:a05:6808:43:: with SMTP id v3mr2056640oic.34.1595907589031; Mon, 27 Jul 2020 20:39:49 -0700 (PDT) Received: from [192.168.1.10] (ip70-186-126-197.no.no.cox.net. [70.186.126.197]) by smtp.googlemail.com with ESMTPSA id q62sm11576ooa.12.2020.07.27.20.39.47 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Jul 2020 20:39:48 -0700 (PDT) Subject: Re: How can i be certain autovacuum is causing reuse if table still grows To: pgsql-admin@lists.postgresql.org References: From: Ron Message-ID: <20d2fb88-89f8-34b9-0e23-81a8b1d8c7a2@gmail.com> Date: Mon, 27 Jul 2020 22:39:47 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 7/27/20 5:19 PM, Keith Fiske wrote: [snip] > Also, I would not recommend partitioning simply to improve vacuuming. > Especially if extensive tuning hasn't been tried first. Most times you can > get per-table tuning working well enough to get autovacuum running > properly. Especially on 9.6 and even more-so on PG11, where autovacuum has > itself been improved. SIMPLY to improve vacuum performance?  No.  But there are reasons that partitioning was "invented", and minimizing the work needed to be done on the whole of a Very Large and Rapidly Growing table is one of them. -- Angular momentum makes the world go 'round.