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 1h7zRb-00024o-Nu for pgsql-general@arkaria.postgresql.org; Sun, 24 Mar 2019 09:29:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h7zRa-0004ob-E1 for pgsql-general@arkaria.postgresql.org; Sun, 24 Mar 2019 09:29:30 +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 1h7zRa-0004o0-5Z for pgsql-general@lists.postgresql.org; Sun, 24 Mar 2019 09:29:30 +0000 Received: from securemail-pl-omx6.synaq.com ([196.35.198.56]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h7zRX-0001SR-Sr for pgsql-general@lists.postgresql.org; Sun, 24 Mar 2019 09:29:29 +0000 Received: from [197.90.32.26] (helo=[192.168.0.8]) by securemail-pl-omx6.synaq.com with esmtpa (Exim 4.90_1) (envelope-from ) id 1h7zRR-0001hG-51 for pgsql-general@lists.postgresql.org; Sun, 24 Mar 2019 11:29:21 +0200 Subject: Re: When to store data that could be derived To: pgsql-general@lists.postgresql.org References: From: Frank Message-ID: <16168610-0b87-252d-bd6c-cf1e6429bccb@chagford.com> Date: Sun, 24 Mar 2019 11:29:14 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-SYNAQ-Pinpoint-Information: Please contact SYNAQ for more information X-SYNAQ-Pinpoint-ID: 1h7zRR-0001hG-51 X-SYNAQ-Pinpoint: Found to be clean X-SYNAQ-Pinpoint-SpamCheck: not spam, SpamAssassin (not cached, score=-1.8, required 9, autolearn=disabled, ALL_TRUSTED -1.00, DCC_REPUT_00_12 -0.80) X-Pinpoint-From: frank@chagford.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-03-24 11:11 AM, Tony Shelver wrote: > Not the answer you are looking for, but... > > I'd suggest trying to create a non-trivial set of dummy data to test your > assumptions before deciding on a route. > It's saved my (professional) life a few times over the years when dealing > with untested designs and new (to us) technology. > > Some years ago we were implementing an identity management system for a > large US bank, with SQL Server as the store, with a planned integration to > the id / access / permissions of some 300+ systems, targeting 30k plus > users. > > Requirements kept changing as we added new systems to the initial mix, > which the Id management package couldn't handle out the box, so we had to > implement a custom design. We had to choose between 2 database designs, > one being fully 'normalized' (considering that everything was an object') > and one where we made some assumptions and fixed some table structures in > the interest of performance. > > Eventually we spent a few days adding non-trivial amounts of test data to > the proposed designs and it became quickly became very apparent that option > 1 was unworkable once we got beyond 10 systems or so. > Good advice - much appreciated. Frank