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 1m6bgb-0004tu-Cr for pgsql-performance@arkaria.postgresql.org; Thu, 22 Jul 2021 16:36:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m6bg4-0007FY-KJ for pgsql-performance@arkaria.postgresql.org; Thu, 22 Jul 2021 16:36:04 +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 1m6bg4-0007FQ-CA for pgsql-performance@lists.postgresql.org; Thu, 22 Jul 2021 16:36:04 +0000 Received: from mail-il1-x135.google.com ([2607:f8b0:4864:20::135]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1m6bg0-0000xs-GS for pgsql-performance@postgresql.org; Thu, 22 Jul 2021 16:36:03 +0000 Received: by mail-il1-x135.google.com with SMTP id e13so5956028ilc.1 for ; Thu, 22 Jul 2021 09:35:59 -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=A7YWtjgiF35ozZU5WpZ4RMKK7uoXwWcy74g10giiM/s=; b=es4X9DRAWbbf76Bc7B7N495LAbZYSSZ8SZLjPF9KoHBsX+llcUkjJ0pVIvrJvGF40u v+FrXILnNG+dck/ilHwHRL5G4Fm6Ffk1VQ6UovA8q09NKKUJstKDeLP3bJX3Afz+v5js 7UEDMa1lU8ef+mxJHT3DCAs2xXCXcKlz7eKmHdL73/ONaE1oIbLHmbFWCvEHRCKFk17V 7y4xHTxRcX83c394rS1t9zPKj2qw346R3Dc1NNsBcqaDUR7yHiACgUwIUqW6BH5I4LnP 3fg+klqBZetBT0JcUUKxKvEYIvc5Mht2v+YK02sxPotlyEY/GQvYy3Kabd/W7aIv4R/O cI/A== 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=A7YWtjgiF35ozZU5WpZ4RMKK7uoXwWcy74g10giiM/s=; b=JXFG+xxBstm88KzP0gLx6CE7u2GZBm3zXcj6cYsZHIwC7NBIYlHr8Iw0YKjKljzGy6 wYQ2jmewzIj8cZv8CxNqnP0F2k3hiQv3kIJkvwV5G1mFrxXLNg5NDLOAf5i2cj/nI0E9 QV2fWX29pW8lcg6tn8HY77oDx9MMfqAhHPulXtJDOMKmBpDahgnNOQh08Rh8DTPZXCYG BHK+J9Wwn9cGyNF/gFgk/AQd5kA6dPulde7exUlwi9PxeTR09/w0us0Oo0CKglbW5yPg jycy8twcNUCopYdirlasnGinpj3jhDNMRMGxyEE8+yY/SoEzy5Klu6vSE3DiKJeluYUy OWMg== X-Gm-Message-State: AOAM531MAL5tZRvqaSu/Vcjy68/Moddzv3dh4H3RspLFP+xCMjOZ4BOP 4XCg7mJxGi2P4vlSNai98UdTnA== X-Google-Smtp-Source: ABdhPJzSB60NEZhs4rZ1Q7JFUUi5G9JgvaLF844LDtBeLc8aAuoCRn+KowdZtrMymChBJ+bg6a1v4A== X-Received: by 2002:a05:6e02:1bc1:: with SMTP id x1mr464017ilv.33.1626971758316; Thu, 22 Jul 2021 09:35:58 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id y198sm16327533iof.25.2021.07.22.09.35.57 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Jul 2021 09:35:57 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 080F2801860; Thu, 22 Jul 2021 11:35:56 -0500 (CDT) Date: Thu, 22 Jul 2021 11:35:56 -0500 From: Justin Pryzby To: ldh@laurent-hasson.com Cc: Tom Lane , David Rowley , Peter Geoghegan , pgsql-performance@postgresql.org Subject: Re: Big performance slowdown from 11.2 to 13.3 Message-ID: <20210722163556.GH19620@telsasoft.com> References: <784576.1626968702@sss.pgh.pa.us> <785218.1626969409@sss.pgh.pa.us> <20210722162254.GG19620@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Thu, Jul 22, 2021 at 04:30:00PM +0000, ldh@laurent-hasson.com wrote: > Hello Justin, > > > log_executor_stats=on; client_min_messages=debug; > > Would the results then come in EXPLAIN or would I need to pick something up from the logs? If you're running with psql, and client_min_messages=debug, then it'll show up as a debug message to the client: ts=# SET log_executor_stats=on; SET client_min_messages=debug; explain analyze SELECT 1; SET SET LOG: EXECUTOR STATISTICS DETAIL: ! system usage stats: ! 0.000011 s user, 0.000209 s system, 0.000219 s elapsed ! [0.040608 s user, 0.020304 s system total] ! 7808 kB max resident size ... It can but doesn't have to use "explain" - that just avoids showing the query output, since it's not what's interesting here. -- Justin