× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: Seeking Database Design Guide
  • From: "Kahn, David" <KAHN@xxxxxxxxxxxxxxxxxx>
  • Date: Sun, 3 Aug 1997 10:48:00 +0600

John Carr (74711.77@CompuServe.COM) wrote:

>I can't see ever designing a file in that manner.

I'm also not sure what they're hoping to achieve. It sounds like an
unnecessary complication with a shaky or half-understood theoretical
basis.

>I'm (I hope I don't start another DOU/DOW discussion)

Mea culpa, John.  :-)

>from the school of thought that every file (with very rare exceptions)
>requires a unique key(as per CODD). And if that is true, it should be
>on the physical file itself. (As for the arguements for having a non-keyed
>PF and a unique key LF,  I personally never have had either of the two
>scenerios happen (or heard of them) that justifies that)

I used always to do the opposite. The unique key would be on a logical
and no program would ever touch the physical at all, although the same
unique key could just as easily have been on the unkeyed physical. My
main reason for doing it this way was the idea that programs should not
be concerned with the physical representation of the data base, only
with their own views of it. Even if the physical and logical files had
the same definition initially, you could still make changes to the
physical and keep the logical the same. This was purely theoretical. In
practice I never found occasion to add a field or otherwise change the
physical layout without changing the main logicals also.

More recently I have thrown all that away and begun writing systems
where the unique key is defined on the physical file and the physical is
defined directly in programs. I'm happy to report that the sky has not
fallen in. Again without starting a war, I would appreciate it if
someone who is thoroughly familiar with the theoretical arguments on
both sides could summarise them for us.


Dave Kahn - TCO, Tengiz, Kazakstan
=========

e-mail:  kahn@tengizchevroil.com    (until August 5th)
         dkahn@cix.compulink.co.uk  (from  August 6th)

Note new e-mail address in Kazakstan
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the Midrange System Mailing List!  To submit a new message,   *
* send your mail to "MIDRANGE-L@midrange.com".  To unsubscribe from     *
* this list send email to MAJORDOMO@midrange.com and specify            *
* 'unsubscribe MIDRANGE-L' in the body of your message.  Questions      *
* should be directed to the list owner / operator: david@midrange.com   *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.