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 1qHmrU-0004pZ-74 for pgsql-general@arkaria.postgresql.org; Fri, 07 Jul 2023 14:55:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1qHmrT-00042q-1E for pgsql-general@arkaria.postgresql.org; Fri, 07 Jul 2023 14:55:07 +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 1qHmrS-00042h-N2 for pgsql-general@lists.postgresql.org; Fri, 07 Jul 2023 14:55:06 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qHmrP-002YLb-P0 for pgsql-general@lists.postgresql.org; Fri, 07 Jul 2023 14:55:05 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id D70285C0195; Fri, 7 Jul 2023 10:55:01 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 07 Jul 2023 10:55:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1688741701; x=1688828101; bh=Hp15KsNzQnMpylQQrtU962huR+M/uNMT/2u ayOVVgJY=; b=ceVsaHfZV2Ro+U9Q8tP1a1kBe1BqabniKXNINzTein1hxwfffJt rQE6+vrX4ucOycj39o7/Ozg79cEIGbsq5+MdiVAezxX2LJSA7TPPnN7iWlB+Ddtz TtjwDMX2rjO5gybdwlHv6Wob9j32SXW3Xs7iL+uoZMB1gFXxUOezEnnLt3mzYqac FX78mMknISimCq9JYtXOjZLJT4fKOE664N6UMo8Q+rUNIYHcRK7KZbYX5AQNh+mj zOODc9TWLoEpCFL93ErqjCnufQwGWZtr6xpQwT459FvU21j52L7Tqze8vYuRU1Up 6kUssJkaL5m1q5LNcLuhzTEAG6SaRIp2ewg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1688741701; x= 1688828101; bh=Hp15KsNzQnMpylQQrtU962huR+M/uNMT/2uayOVVgJY=; b=H qoHEsns+IEejjaRgcXlF1Q1L6og2S47ANWHobokHxNEl+hl/uuXtOl1e9ymk7zd+ 6/xNi3Cbgo2JRGkmsMMh7Hq8OqOtcCK6rtvyX0bAMpSo7XDkAXOtKARPSTM0EC9U l9jtfRHWwDclQA/EdcvzdENppP4kAtP7wDFwfp3O61lrL8W67gsRk+vO2vVKM22S 8TuQtoa/lg+O6SiCF4DUXDRK8g75mDd3FMl0jI0hdXVcQW7BEMq6VSO9cRrIXnXM Ps99MtKzi6BiInYyqWTclFMj41iQ9JyJPHpVQ7xw0kPkZii9GW7TKaHoDiGBjdGN v2hgnjMwUqMD41gjGbrqw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrvddugdekudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffhvfhfjggtgfesthejre dttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeeitdejveegue fffeduledulefhteegvedtveehkeehffegudefuddtvdeludefteenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvg hrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 7 Jul 2023 10:55:01 -0400 (EDT) Message-ID: <1cf118ea-91da-d9bf-2ed9-c079e2653964@aklaver.com> Date: Fri, 7 Jul 2023 07:55:00 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: track_activity_query_size max practical size? Content-Language: en-US From: Adrian Klaver To: Ron , pgsql-general@lists.postgresql.org References: <0d08dd4d-3860-e85d-984d-0ed676dbdf1e@gmail.com> <1a7063f7-1d7d-dbf4-a919-a55f733560f2@aklaver.com> In-Reply-To: <1a7063f7-1d7d-dbf4-a919-a55f733560f2@aklaver.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 7/7/23 07:51, Adrian Klaver wrote: > On 7/7/23 07:42, Ron wrote: >> We've got some Very Large Queries that take a long time. > > An EXPLAIN(ANALYZE BUFFERS) would go a long way here. > >> Even setting taqs to 10KB isn't adequate, so I want to significantly >> bump it, but am > > It is before coffee here, so you will need to spell out what taqs is? Did I mention lack of coffee? I see track_activity_query_size in the subject. So the issue is what with the current setting? > >> concerned about side effects of setting it to 48KB or even 64KB. >> > -- Adrian Klaver adrian.klaver@aklaver.com