Re: OT: SQL



On May 4, 12:24 pm, Marshall <marshall.spi...@xxxxxxxxx> wrote:
On May 4, 7:25 am, Charlie-Boo <shymath...@xxxxxxxxx> wrote:

The idea of using preexisting files of arbitrary structure
as part of a dbms is so spectacularly bad I am speechless.

Why?

You have an application that works. It has been designed to be as
efficient as you can. Then Codd comes along and says to use his
system to process queries against its data.

He says to copy the data into flat files and pointers to them. I say
to use the original files where they are.

Which is better and why?

1. He forces you to copy the data - keep it twice. I don't.
2. His way will be slower for several reasons:
a. You have designed it based on its particular spec. He has a
general system that doesn't know anything about the peculiarities of
that data.
b. Your system design was created by people with computers. His
system design was created by the computer only - it uses only the
algorithms built into the Codd system.
c. He uses only flat files and pointers to them. You can also use
hierarchical files and files with conditions placed against the data
in them - the examples I gave earlier: a file of all employees who
earn more than their manager, or of all those who do not, or all
emplyees who have a manager.

In all cases, your programmers designed and optimized your system
based on its particular characteristics. You have the advantage of
knowing these peculiarities. Codd's system was designed independent
of your database and doesn't have that knowledge when it runs. He is
wedded to main files plus indexes. You can use anything.

If all men are created equal, then the designers of the original
system have advantahes over Codd who worked independent of your
application and its database design.

C-B

Marshall

.



Relevant Pages

  • Re: Abbreviation List Tables Design, aka OTLT
    ... of developing software, including database design, but agree that doing ... >> Simon Verona wrote: ... >>> differentiation between large and small lookup lists. ...
    (comp.databases.pick)
  • Re: problem using identity column as primary key
    ... > is still identified and a Unique constraint is ... If you don't have a natural key, you have exactly the thing that Joe ... Pro SQL Server 2000 Database Design ...
    (microsoft.public.sqlserver.programming)
  • RE: How to build a successful database for Sales
    ... You are sort of at the general starting point of a database design which is ... Then design a table structure to implement what you clarified / decided. ... Then create 2 links from the junction table record to the other 2 ...
    (microsoft.public.access.tablesdbdesign)
  • Re: census database design
    ... The database design, mean the table ... > table names and field names (age groups). ... > so if, in 2004, one county district had a count of people for each of five ... > the ironclad rule of database design is: ...
    (microsoft.public.access.tablesdbdesign)
  • Re: Database Design Problem
    ... The problem I have with putting the Product Catagory in ... > Design is a hard thing to do if you want a good design that is. ... There are lots of normalization rules ... Database Design is very difficult for me because I do ...
    (microsoft.public.sqlserver.programming)