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 1mnUCB-000865-DK for pgsql-performance@arkaria.postgresql.org; Wed, 17 Nov 2021 23:18:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mnUCA-0002sU-1F for pgsql-performance@arkaria.postgresql.org; Wed, 17 Nov 2021 23:18:26 +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 1mnUC9-0002sL-JV for pgsql-performance@lists.postgresql.org; Wed, 17 Nov 2021 23:18:25 +0000 Received: from mail-il1-x12e.google.com ([2607:f8b0:4864:20::12e]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mnUC2-0007nt-8q for pgsql-performance@lists.postgresql.org; Wed, 17 Nov 2021 23:18:24 +0000 Received: by mail-il1-x12e.google.com with SMTP id h23so4515069ila.4 for ; Wed, 17 Nov 2021 15:18:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=UYDs2gQHFO2Kr0jrGClsV++HfrM66Jf1zHpczHefGqI=; b=a9Zim9vCXaCJUcntotLmwEfMxRKPStZugUYGasSsnEVhLMaSlXPd4YhsFc+IsDuC25 t3ETw0ILrcqKTVJrYTGdGlGGLQp6II/A7EtOQ/BMaCazBLsfXR88K2QnFe/6rjF9FGuh arL6w+X3FCS7gUFHOqT++A40Nl1F0Fbh8IO8Rs8/vdHfk+7IFoKRYJg2jndndQN9dBOE slFhJBtMB//OpZdiHj4T2ddaLdB0yX4A3VnMR1hF4bUoFel2PdYO5ETUUkPrpNxbiIg5 l02WKjxwfmJInSCVZowi5p/yvLbgi2DoPX1fwSZ8P33T7ac4NolbrTL6RxMjaY3Ik08K P90Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=UYDs2gQHFO2Kr0jrGClsV++HfrM66Jf1zHpczHefGqI=; b=XryRslKS9dyTkXZ2/k2eA0OjpAZ/B+2pPYFzF+WLVVHVDlzkirseITZOZOilY4b6DP DXvaZsXyFoZgTy2an0UpNIaGy2G1HxQn/XeMqBFENxpxYqBDMsWq8N9spxBpxobx3cdE SLweTTScR1EusZbj54x60++YieR6+Ay450Yeihpye+AYKs+z9w/yAoZZKPdT949HDYAk x944t7mqLonBDI8ZY4KBEBhb3kWKgT8OcZmlQp3ig3qTIRVlzDNRbW14efBVuMDcr7fp e6SiyQ2vKV4y0RWk8XgKypXodVtmZ0pUfcuDqpQ72uEtMTxCigwQCOJoI429s6QAcoAN z5lA== X-Gm-Message-State: AOAM530ZBAG70FNwof/ditA3bEDPad7TaYZfndXxzwIxqgPdWut8FOXj A7WjbmfiReV4n4o+4I0dHnxeKw== X-Google-Smtp-Source: ABdhPJw7dDkyIcZUiOdjAy0gTRYS6z4jKHcvaxQnZSWqgRYa4pQfMoWRBNGWla/0RWmiziQWKreawQ== X-Received: by 2002:a92:c88e:: with SMTP id w14mr917555ilo.24.1637191097062; Wed, 17 Nov 2021 15:18:17 -0800 (PST) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id w12sm1047043ilu.45.2021.11.17.15.18.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Nov 2021 15:18:16 -0800 (PST) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id D7E59800CCF; Wed, 17 Nov 2021 17:18:15 -0600 (CST) Date: Wed, 17 Nov 2021 17:18:15 -0600 From: Justin Pryzby To: Robert Creager Cc: Thomas Munro , Tom Lane , pgsql-performance@lists.postgresql.org Subject: Re: Need help identifying a periodic performance issue. Message-ID: <20211117231815.GF17618@telsasoft.com> References: <3A76761B-3DDD-4A3C-B791-E73107AFC9A2@spectralogic.com> <0C3B1B2B-6571-477D-A89C-6FA7B6259840@spectralogic.com> <20211117190038.GB17618@telsasoft.com> <2736634.1637177330@sss.pgh.pa.us> <5BAA534E-AECC-4533-951A-0B6D88A070F3@spectralogic.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5BAA534E-AECC-4533-951A-0B6D88A070F3@spectralogic.com> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Nov 17, 2021 at 09:54:14PM +0000, Robert Creager wrote: > We are able to move up to Postgres 13.5, in our ports tree, if that would help. We used pg_upgrade to get from 9.6 to 13.3, so that should work fine going instead to 13.5. We’re almost branching/releasing our code, so it’s not a good time, but if it may help with this problem, we’ll deal with it. To be clear, I have no specfic reason to believe it would help. But it would be silly to chase down a problem that someone already fixed 10 months ago (the source of this problem, or something else that comes up). In fact I suspect it won't help, and there's an issue with your schema, or autovacuum, or postgres. Note that since v10, the version scheme uses only two components, and 13.3 to 13.5 is a minor release, similar to 9.6.3 to 9.6.5. So you don't need to use pg_upgrade - just update the binaries. https://www.postgresql.org/docs/13/release-13-5.html -- Justin