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 1pbohN-0006da-HX for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Mar 2023 20:23:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pbohM-0000jS-Ct for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Mar 2023 20:23:12 +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 1pbohM-0000jI-37 for pgsql-hackers@lists.postgresql.org; Mon, 13 Mar 2023 20:23:12 +0000 Received: from wnew3-smtp.messagingengine.com ([64.147.123.17]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pbogj-0000Az-AJ for pgsql-hackers@postgresql.org; Mon, 13 Mar 2023 20:23:10 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.west.internal (Postfix) with ESMTP id AD20B2B05E80; Mon, 13 Mar 2023 16:22:31 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 13 Mar 2023 16:22:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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= 1678738951; x=1678746151; bh=kX0gxQN5euWlbAKolqCvZWwUIARWNHl1OvM FFH87F7c=; b=uhTKzxQDmwM4NVUIWvpuHcLtPFPJOrm8tT90R9POxfY1v/thTbx oL6rzYMV9aLwZJ0u3tdrRqVuy6mBTLwa9plTE/llpJMbNxi78/XsP3Pc/K0uM3q5 NtG2N+nNcOK4SPLcePsq1OwYnRdmeQW2bGfIZpQQdlLZYsTJHzYdBn03gD+A8PV/ OvY8AYgvz32hHIAtF2Iqq9R7ijIwXZNZ2Abu0+cnJnmw4dE79qHWsDoxyI+ATWIB 4SeXoMWV0P7apWvso7mC4tRmYWmdhMuyf9ZouGJwbuDct9Bwb7q6/ls2eLDNzvN8 aEo8RIwr+aOr9x1kd/fWPPZ+WRy+TuAy8vg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvddvgedgudefgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomheprfgv thgvrhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsegvnh htvghrphhrihhsvggusgdrtghomheqnecuggftrfgrthhtvghrnhepheelffeggedujeet iefhleetuddvieffhfffvdejvdffgeejkeduleduheduieefnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhdrvghishgvnhhtrhgr uhhtsegvnhhtvghrphhrihhsvggusgdrtghomh X-ME-Proxy: Feedback-ID: i131946ab:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 13 Mar 2023 16:22:30 -0400 (EDT) Message-ID: <43a88695-5e0b-4379-94cf-0392fdea4be9@enterprisedb.com> Date: Mon, 13 Mar 2023 21:22:29 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: Transparent column encryption Content-Language: en-US To: Andres Freund Cc: pgsql-hackers References: <75f394fa-f539-1875-079c-c654deceed41@enterprisedb.com> <8bcedb49-1496-0755-bd24-1cbabf30ec84@enterprisedb.com> <1034b6f1-ccab-8a22-c843-71104ebedf01@enterprisedb.com> <40c43d0d-ae4b-fe34-2667-771b3718384e@enterprisedb.com> <47e17f03-6595-6c09-8978-7a1581cad6f2@enterprisedb.com> <7a430d89-233b-5cd7-6892-9fed06695d39@enterprisedb.com> <20230312001125.ijeu4imbwlhj5flf@awork3.anarazel.de> From: Peter Eisentraut In-Reply-To: <20230312001125.ijeu4imbwlhj5flf@awork3.anarazel.de> 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 12.03.23 01:11, Andres Freund wrote: > Have you done benchmarks of some simple workloads to verify this doesn't cause > slowdowns (when not using encryption, obviously)? printtup.c is a performance > sensitive portion for simple queries, particularly when they return multiple > columns. The additional code isn't used when column encryption is off, so there shouldn't be any impact.