I.M. 1 3 Normalization
I.M. 1 3 Normalization
Translating Business Rules into Data Model Components The Hierarchical Model
• The hierarchical model was developed in the 1960s to manage large
amounts of data for manufacturing projects The Relational Model
• Basic logical structure is represented by an upside-down “tree” • Developed by E.F. Codd (IBM) in 1970
• Hierarchical structure contains levels or segments • Table (relations)
– Segment analogous to a record type – Matrix consisting of row/column intersections
– Set of one-to-many relationships between segments – Each row in a relation is called a tuple
• Relational models were considered impractical in 1970
The Network Model • Model was conceptually simple at expense of computer overhead
• The network model was created to represent complex data relationships • Relational data management system (RDBMS)
more effectively than the hierarchical model • Performs same functions provided by hierarchical model
– Improves database performance • Hides complexity from the user
– Imposes a database standard • Relational diagram
• Resembles hierarchical model • Representation of entities, attributes, and relationships
– However, record may have more than one parent • Relational table stores collection of related entities
• Collection of records in 1:M relationships
• Set composed of two record types:
• Owner
• Equivalent to the hierarchical model’s parent
• Member
• Equivalent to the hierarchical model’s child
• Concepts still used today:
• Schema
• Conceptual organization of entire database as
viewed by the database administrator
• Subschema
• Database portion “seen” by the application
programs
• Concepts still used today: (cont’d.)
• Data management language (DML)
• Defines the environment in which data can be
managed
• Data definition language (DDL)
• Enables the administrator to define the schema
components
• Disadvantages of the network model:
• Cumbersome
• Lack of ad hoc query capability placed burden on programmers to generate
code for reports
• Structural change in the database could produce havoc in all application
programs
• Crow’s Foot notation used as design standard in this book