Before a single table is built, someone has to plan it. Learn the language of models, schemas and the layers that keep users safe from change.
These terms were extracted from Database Design – 2nd Edition by Adrienne Watt, eCampusOntario (originally published by BCcampus) which is licensed under a Creative Commons Attribution 4.0 International License. Chapter text adapted from Database System Concepts by Nguyen Kim Anh, licensed under CC BY 3.0.
Download this book for free here
the logical structure of the entire database
Based on the needs of various departments, the conceptual model is the first model created.
another term for logical schema
Adding or removing entities, attributes or relationships in the conceptual schema should be possible without changing existing external schemas.
the immunity of user applications to changes made in the definition and organization of data
Data independence refers to the immunity of user applications to changes made in the definition and organization of data.
a collection of concepts or notations for describing data, data relationships, data semantics and data constraints
In the second step, the data items, the relationships and the constraints are all expressed using the concepts provided by the high-level data model.
the first step in the process of database design
Data modelling is the first step in the process of database design.
defines a database in a data model of a specific database management system
Database logical design defines a database in a data model of a specific DBMS.
defines the internal database storage structure, file organization or indexing techniques
Database physical design defines the internal database storage structure, file organization or indexing techniques.
a data model describing the database showing tables, attributes and relationships
A schema is an overall description of a database, and it is usually represented by the entity relationship diagram (ERD).
represents the user’s view of the database
Let’s look at this from the highest level, the external model.
user view
The ability to change the logical schema, without changing the external schema or user view, is called logical data independence.
a representation of the database as seen by the DBMS
Physical data independence refers to the immunity of the internal model to changes in the physical model.
the ability to change the logical schema without changing the external schema
The ability to change the logical schema, without changing the external schema or user view, is called logical data independence.
where you create all the tables, constraints, keys, rules, etc.
This is often referred to as the logical design.
a conceptual design of the database done on paper or a whiteboard, much like architectural drawings for a house
A logical schema is a conceptual design of the database done on paper or a whiteboard, much like architectural drawings for a house.
manages the physical level of the physical model
The physical level of the database is managed by the operating system (OS).
the immunity of the internal model to changes in the physical model
Physical data independence refers to the immunity of the internal model to changes in the physical model.
the physical representation of the database
The physical model is simply the way the data is stored on disk.
an overall description of a database
A schema is an overall description of a database, and it is usually represented by the entity relationship diagram (ERD).
represents data as a hierarchical tree structure
The hierarchical model represents data as a hierarchical tree structure.
a record within a table
Each record is said to be an instance of the membership table.
represents data as record types
The network model represents data as record types.
another term for table
The relational model represents data as relations, or tables.
represents data as relations or tables
The relational model represents data as relations, or tables.
a limited type of one to many relationship
This model also represents a limited type of one to many relationship called a set type, as shown in Figure 4.1.