|
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Joe Pluta
Sent: Monday, September 17, 2007 9:05 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Need ideas for SQL join select to replace logical view
From: Wilt, Charlesplaces, and
Not sure I agree with this.
There's a difference between storing the same data in two
storing two separate pieces of data that happen to have thesame value.
Sure, Charles, but these two pieces don't "happen" to have
the same value.
The determining factor is whether one piece can be derived
from another.
And in this case, the start of one event can most certainly
be derived from the end of the previous one.
Actually, given that BETWEEN is inclusive as you pointed out, I'dmatch the next
considering setting this up so that the end time didn't
start time. Instead, the start time would be 1 mircosecond greater
than the last end time.
And would still be derived from the previous end time, and
thus would break the normalization rules. This stuff really
isn't subject to interpretation.
You either are or aren't normalized, and putting the same
piece of data (or a derived piece) in another row breaks
normalization, plain and simple.
And note that I'm not saying that "strategic denormalization"
is necessarily bad; as always, it's a business decision.
But in this case, ISAM works on the original data, without
the extra field and without the extra writes. I think that
blaming the database design when SQL needs more data and more
I/O is simply denying the facts, which in this case are
clearly that ISAM is better than SQL for this problem.
Is this horse dead yet?
Joe
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.