Академический Документы
Профессиональный Документы
Культура Документы
University of Guyana
The Three-Schema Architecture
Data Models – What is?
Flat File Data Model
Hierarchical Data Model
Network Data Model
Relational Data Model
Object-oriented Data Model
Object-relational Data Model
Question
References
The overall database description can be
defined at three levels
Source: http://dba.stackexchange.com/questions/59780/what-is-the-difference-between-logical-schema-and-physical-
schema
Physical Schema (aka. Internal Schema)
describes storage details specific to the DBMS
(MySQL, Oracle, etc.)
◦ files, indices, etc. on the random access storage
system
◦ describes the record layout of files and type of files
(hash, b-tree, flat)
Source: http://jcsites.juniata.edu/faculty/rhodes/dbms/dbarch.htm
External schema is how the data is presented
>>>>Data Independence
Data Independence
◦ Allows independent implementation
Each level can be implemented in a modular fashion
◦ Allows the client/server architecture
Scalability
Security (at all levels – software, physical etc.)
Data independence is one of the main
advantages of a DBMS
Physical data independence
◦ The ability to modify the physical scheme without
causing application programs to be rewritten.
◦ Modifications at this level are usually to improve
performance.
Logical data independence
◦ The ability to modify the conceptual scheme
without causing application programs to be
rewritten.
◦ Usually done when logical structure of database is
altered.
Data Models – What is?
◦ A database model is data description
constructs that determines the manner that
data is stored, organized, and manipulated
in the database system
Data Models are fundamental entities to
introduce abstraction in a DBMS.
Data models define how data is connected to
each other and how they are processed and
stored inside the system.
Departments
Employees
Equipment Tasks
Departments Dept. Num Name
005 Sales
002 HR
003 Purchases