Re: Question on Structuring Product Attributes
Date: Tue, 18 Oct 2011 19:35:12 -0700 (PDT)
Message-ID: <e0cffba2-cda3-4aa9-ba32-5ccace9f26fe_at_u9g2000vby.googlegroups.com>
>> As Joe can confirm, I often disagree with him, on many subjects. But when I first saw him post the subtype/supertype implementation model you criticise, I liked it for its robust protection against integrity violations. You are correct that the redundant columns and the extraneous keys require more disk space and hurt performance, but I always think that integrity comes first, all the rest comes later. <<
Hey, we do not disagree very often, where dis you get a silly idea like that? Sorry, I had to do a Monty Python arguer skit :)
You are of course right about data integrity. New programmers who never worked with file systems, do not know the first non-RDBMS do not know that the original intent of a database was data integrity, not performance. Removing redundancy was the first step in that goal.
I have to look at more products and I do not know of any either. The expense could be awful, like a bad TRIGGER that fires with every insert, update and delete
Wait until he sees Kuznetsov's pattern for preventing temporal gaps in event sequences or my state change constraints :) Overlapping and self-referencing uniqueness constraints are hard for an experienced SQL programmer. Received on Wed Oct 19 2011 - 04:35:12 CEST
