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 1pKxl7-0006uf-RL for pgsql-hackers@arkaria.postgresql.org; Thu, 26 Jan 2023 08:37:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pKxl5-0005x0-Sp for pgsql-hackers@arkaria.postgresql.org; Thu, 26 Jan 2023 08:37:23 +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 1pKxl4-0005vs-Pk for pgsql-hackers@lists.postgresql.org; Thu, 26 Jan 2023 08:37:23 +0000 Received: from wnew4-smtp.messagingengine.com ([64.147.123.18]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pKxl1-0003im-LE for pgsql-hackers@lists.postgresql.org; Thu, 26 Jan 2023 08:37:21 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.west.internal (Postfix) with ESMTP id 159592B06DF3; Thu, 26 Jan 2023 03:37:17 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 26 Jan 2023 03:37:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :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=fm3; t=1674722236; x= 1674729436; bh=8CrI1G9GyQ8lX4+BBXpR3GLSwy70EljL6BxBylEBesU=; b=G NjYdXNRUkQTBg/zhMnK2RHtiywg0dTHMrEcarSs+S/nFhJ/vfJ7fizB94YQv2VAk cMNUNZ8B5e/mts2vPI2EulPWL+rtaU7lPrWfVkpmgP4NENr1XpR6KRnj/EztmEcJ f8Vdag6Uuv4xrkTMvKNF8Bm0sNWKrq1m4/WMxLCZEDnXgKw8h6PaxjJImd2UcKl1 xB+ef/yF/xFNhgD2SvglXSz4Q1cq5HYxSrOmKWdWR2itEEr9AsH3j/GnrZ0KerW0 bK3UdvGaDV5eshr1NE5UwUSUJ0wpQ0q88J3owOp1FrWG+5vApXCyMe6oIxawASaN jcHY4aHNaHQOyWcGYcTAg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedruddvfedguddvudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomheprfgv thgvrhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsegvnh htvghrphhrihhsvggusgdrtghomheqnecuggftrfgrthhtvghrnhepheelffeggedujeet iefhleetuddvieffhfffvdejvdffgeejkeduleduheduieefnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhdrvghishgvnhhtrhgr uhhtsegvnhhtvghrphhrihhsvggusgdrtghomh X-ME-Proxy: Feedback-ID: i131946ab:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 26 Jan 2023 03:37:15 -0500 (EST) Message-ID: <9695f035-0f2b-92b9-deed-0b7e5bb7e4e0@enterprisedb.com> Date: Thu, 26 Jan 2023 09:37:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: Generating code for query jumbling through gen_node_support.pl Content-Language: en-US To: Michael Paquier Cc: Postgres hackers , "Drouvot, Bertrand" References: <50b571dc-e0c0-22be-9803-4a3480d2e792@enterprisedb.com> From: Peter Eisentraut In-Reply-To: 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 24.01.23 07:57, Michael Paquier wrote: >> For the 0004 patch, it should be documented why one would want one behavior >> or the other. That's totally unclear right now. > I am not 100% sure whether we should have this part at the end, but as > an exit path in case somebody complains about the extra load with the > automated jumbling compared to the hash of the query strings, that can > be used as a backup. Anyway, attached is what would be a > clarification. Ok, the documentation make sense now. I wonder what the performance impact is. Probably, nobody cares about microoptimizing CREATE TABLE statements. But BEGIN/COMMIT could matter. However, whatever you do in between the BEGIN and COMMIT will already be jumbled, so you're already paying the overhead. Hopefully, jumbling such simple commands will have no noticeable overhead. In other words, we should test this and hopefully get rid of the 'string' method.