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 1h9x6w-0005qb-U6 for pgsql-general@arkaria.postgresql.org; Fri, 29 Mar 2019 19:24:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h9x6t-0003j5-DZ for pgsql-general@arkaria.postgresql.org; Fri, 29 Mar 2019 19:24:15 +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 1h9x6r-0003fC-9O for pgsql-general@lists.postgresql.org; Fri, 29 Mar 2019 19:24:15 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h9x6i-0007wu-Ci for pgsql-general@lists.postgresql.org; Fri, 29 Mar 2019 19:24:12 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 92A7C4591; Fri, 29 Mar 2019 15:24:01 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 29 Mar 2019 15:24:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=4 4Pj69v1GJoSgmw2C2zwG++OD7Ml9C7rqChON+lEEdU=; b=Fa1mmtDu1kD2Ze4iv Iv6PRdTXp29h61s+hul2b4xETCwSgRy4Y2WBGO6SgZooH5kO+tiRRC0gbUgHIXux 5SSmN/N36TWApzotudH/AjYvjPA0kYXW7ctzDlOB4c4hJICGc1rmG0X6Xx8m64SZ KyHleBWdV1161AnjZw2n55CHtaHFpbc0jJwsXh0uobqoqpD3ZzBS3dqCy5WjrvkV jzQIvSt0QS3EXs4PMr2f7U0CgTBwFPDW4+a65G+zHlKm3Y+MI+lYu8jMvu0QQ+QI jMi/Ljk+5TNAns17HxTVyyqT6mfgr1R2j7OuO5OwXKvpGXNznwRMUOEEjeF6oHuG sbqiw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding: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=fm2; bh=44Pj69v1GJoSgmw2C2zwG++OD7Ml9C7rqChON+lEE dU=; b=FS5YUO9xAZE5+z9XP2/39lOpKTmU5EnOjMn3fu9nUcvF+r7Qhm8YdN06I VGoyJKkTdb9By2FInooas4mlUIQRXg7Y9F1qQMLQIj9GUgrGWczMhGYSBZMGhu47 HS8+rKqQPh72Ca4GXntl9eYlLGWVk6Sgx5HlEz8Mg5FxJewM+Z98Ve98X++qx6Yu jxw69AYFZO0hWQIHTfUTpacIQLXIZh9aSCP+Y23wbhUN1OD9112zXPdqml/uwKnD QTeCOw2jYXENFU+qkx4d0cndcYM0uVwP+kpmSD+zfYghmoubTQA1EUxiaFIuHbfn DS1C3IklpQ8Ur8E9U44IqOFbEF7Ow== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrkeejgdelkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeehnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecukfhppeejuddrvdduvddrudehtddrvddtvdenucfrrghrrghmpehmrghilhhfrhho mheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhenucevlhhushhtvg hrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 1A072E49E1; Fri, 29 Mar 2019 15:24:00 -0400 (EDT) Subject: Re: Key encryption and relational integrity To: Moreno Andreo , pgsql-general@lists.postgresql.org References: <094bf875-5b49-8d3c-1fa3-97c07246b890@evolu-s.it> <082fdd45-a12b-161b-8386-70ee8528361e@aklaver.com> <514fb642-bba4-7a14-b412-d953f1b8b7e7@evolu-s.it> <3f88c83d-23b0-537f-8325-5b1d19ca77f7@aklaver.com> <7eb4fb29-73c5-c069-572a-621afe121564@evolu-s.it> <20190328222945.vllasskjkliibfq2@hjp.at> <2b6ce2cd-d82c-3d22-2228-e5fc1523a689@evolu-s.it> From: Adrian Klaver Message-ID: Date: Fri, 29 Mar 2019 12:23:59 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <2b6ce2cd-d82c-3d22-2228-e5fc1523a689@evolu-s.it> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/29/19 9:01 AM, Moreno Andreo wrote: > And I tried to find a solution, and since I did not like that much what > I found (and it seems that neither you do :-) ), I came here hoping that > someone would share his experience to shed some light on the topic. From what you have posted the biggest issue you are having is less then real time search on patient names due to the need to meet pseudonymisation. To me that is always going to be a problem as there are two opposing forces at work, overhead to implement pseudonymisation vs quick lookup. Might be time to lower expectations on what can be done. > > >>          hp >> > > > > > -- Adrian Klaver adrian.klaver@aklaver.com