X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id ACE26D1F09B for ; Tue, 4 May 2004 13:21:33 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 35849-04 for ; Tue, 4 May 2004 13:21:13 -0300 (ADT) Received: from wolff.to (wolff.to [66.93.249.74]) by svr1.postgresql.org (Postfix) with SMTP id 93E75D1F077 for ; Tue, 4 May 2004 13:21:12 -0300 (ADT) Received: (qmail 10886 invoked by uid 500); 4 May 2004 16:25:39 -0000 Date: Tue, 4 May 2004 11:25:39 -0500 From: Bruno Wolff III To: Svenne Krap Cc: Alain Reymond , pgsql-sql@postgresql.org Subject: Re: Database structure Message-ID: <20040504162539.GA10698@wolff.to> Mail-Followup-To: Svenne Krap , Alain Reymond , pgsql-sql@postgresql.org References: <4092877B.2470.1E894F5@localhost> <4097C065.7050004@krap.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4097C065.7050004@krap.dk> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200405/41 X-Sequence-Number: 17755 On Tue, May 04, 2004 at 18:10:13 +0200, Svenne Krap wrote: > > In the long run, being correct is usually better than being fast (at the > point of the implementation), as new hardware easily solves bottlenecks > for problems not scaling exponentially. And it isn't even clear that denormalizing the schema will result in an increase in speed. If at some point the tests in various assessments can overlap you may not want an assessment for each table. I also noticed that the schema isn't enforcing consistancy between the tests done and the assessment type being done. This may not really be a business rule as much as something that might be flagged by the application for attention as I can see cases where in reality the wrong test is done and recording its results might be better than throwing the data away.