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.89) (envelope-from ) id 1iiUoR-0007Sn-0i for pgsql-hackers@arkaria.postgresql.org; Sat, 21 Dec 2019 02:48:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iiUoP-0008Cq-OT for pgsql-hackers@arkaria.postgresql.org; Sat, 21 Dec 2019 02:48:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iiUoP-00089g-Ec for pgsql-hackers@lists.postgresql.org; Sat, 21 Dec 2019 02:48:13 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iiUoI-0007DN-BO for pgsql-hackers@lists.postgresql.org; Sat, 21 Dec 2019 02:48:12 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 0F7855E8; Fri, 20 Dec 2019 21:48:04 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 20 Dec 2019 21:48:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=sb3ddJ9nJoKAFrUGEASN72oAoFb LratYpJ7l2CKLrdk=; b=Hl+LgLlD5hXTEtej7zgEm5cVX8pU7hr7G7Z7S1lRrR2 BRigJBU03rqwjliSz2CmNaaOYGoyejqDsn92SNdUqq2vQpS3eWHn9mDVoqb23NRk Yjp2Tq3bijQ7mFGPzE8B8xQp7MNDn50UuuFUJ0yCjiVM7CpicNljsNUJ1hvaSX2e NTZsUI0o8buOrjV+QiDtnfenYivHqCDfUF08sYAs2+CavDLbz9LSKutsXhfPFpi6 Ffsvmi+9H2Np2WUK8MbBdmwYDgT16AhPgOjQVNao57VYB12yWHVbFstS2Cu3yCnX GP1eym6awv48LwtaqJaAR3VSpDfR7ae4IM0LJmNcFjg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=sb3ddJ 9nJoKAFrUGEASN72oAoFbLratYpJ7l2CKLrdk=; b=j122PfSDseN8AnrofE6+09 GlRZTfkeVlS6Mj3Y4UWBoZKBhT9sVnNBI0j472QrnUrXKKxjcYQIG7Zye7+X7CN/ tJF7aepf7hWJNBNqxV/VZN3zDmnerSCQ/8W4QDos1oZcY7D8xjwYiuWlMYpHu4bz PNUPBwl0v7qQO3TbtugTWTqT/sXXD2foMY9JUx7gIMfnkK1aNfdttLjuUAOJiNX1 3YQ7+UEyQNwccKabmvaW50IUJjWGTnmpkLjuR9+yGeNMGDbfi2cP/Junq7h6dneb 18NtpAFz4Jl/V5Cjac2N069hATYjzpx4lxJln3939+vnm6x66M/db9iRQUDNN6yg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvddugedggeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucfkphepuddukedrvdeguddrvdegkedrudeftdenucfrrghr rghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiienucevlh hushhtvghrufhiiigvpedt X-ME-Proxy: Received: from paquier.xyz (mp76f1f882.ap.nuro.jp [118.241.248.130]) by mail.messagingengine.com (Postfix) with ESMTPA id 9B7F080063; Fri, 20 Dec 2019 21:48:00 -0500 (EST) Date: Sat, 21 Dec 2019 11:47:57 +0900 From: Michael Paquier To: Bruce Momjian Cc: Alexey Kondratov , Robert Haas , Tom Lane , v.makarov@postgrespro.ru, PostgreSQL Hackers Subject: Re: [PATCH] Increase the maximum value track_activity_query_size Message-ID: <20191221024757.GF15758@paquier.xyz> References: <7b5ecc5a9991045e2f13c84e3047541d@postgrespro.ru> <20191219154110.GL30116@momjian.us> <556.1576771167@sss.pgh.pa.us> <7a4ecea0-949e-efa7-865f-0ef2ddce52c3@postgrespro.ru> <20191220135704.GC29807@momjian.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="E7i4zwmWs5DOuDSH" Content-Disposition: inline In-Reply-To: <20191220135704.GC29807@momjian.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --E7i4zwmWs5DOuDSH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Dec 20, 2019 at 08:57:04AM -0500, Bruce Momjian wrote: > I can imagine using larger pgstat_track_activity_query_size values for > data warehouse queries, where they are long and there are only a few of > them. Why are those queries that long anyway? A too long IN clause with an insane amount of parameters which could be replaced by an ANY clause with an array? -- Michael --E7i4zwmWs5DOuDSH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl39h90ACgkQnvQgOdby QH3gtg//XvWJPe738CftwL5NQkspsXFvZrx0BJbtGKRewGRy3D3qu3rDHOQotFj8 mDlOjoWoVfRVNlmGrBUd7ceoAy9QM+fM4TzSwYPNcOYZDgLEPWD0b/ZX9Nfqb1+z o/NqlZhu/3AUeDelYjmTnfNY+MQXWo/6KOF4eVlgbHTlcBPapSWuyx5qgk3RqIG7 QWfUMSInZPTDo7jfquGBzySbrkiI4LhhbKpk0ZZ5d1Eyhpqbspw4fOHldDuSqgx/ SesQIqAtRCU/6Dbm62+bHCCt1SX8vvTQC6LR49ZQzaqdPXAzSIyR1/XQNJCFCAEV C6Lpg1H1hlsnU0BH/uQxuHh/Y5V0s/pGP5C8e/7Hq7HBlYMIVB7Ec/VeQ5/Hdfvu AvBbcChIPWbMIcc3GqTEcw6SRHM7X9k/4wFR30RHH1HznMiWucM6L0OUxCOs6vPp x3Gy/x8ghDOXOrfzuCiRa2sflhmESVis7bJlfocEWwhlruEkas56aOSAxTXv5z4n 6NWLJDj2Q8jHSaaGAIkFesGnGjuYHcy0//xW551kbDLlVfwsSuZ0st8068hJ8yjx 9wId/u/PC5e4StVK7EKJEJ7qyutdV3qyyK55ioLZnltTU9blT6mhw8O2tKe1i50s euC00iFKE6uCLB/E6a+zaoLbbrasYKwtteJ/qd7bPUhjFoL9l88= =5Tw7 -----END PGP SIGNATURE----- --E7i4zwmWs5DOuDSH--