Introduction - Basic Models of Database Systems Purpose of Database Systems
Introduction - Basic Models of Database Systems Purpose of Database Systems
In the early days, database applications were built directly on top of file
systems
Levels of Abstraction
1. Physical level: describes how a record (e.g., customer) is stored.
2. Logical level: describes data stored in database, and the relationships
among the data.
type customer = record
customer_id : string;
customer_name : string;
customer_street : string;
customer_city : integer;
end;
3. View level: application programs hide details of data types. Views can also
Hide information (such as an employee’s salary) for security purposes.
Data Models
- Is a collection of tools for describing Data, Data relationships,
Data semantics and Data constraints.
- Provide description of DB design in physical, logical and
view model.
Relational model
- Record based model.
Entity- Relationship data model
- Perception of real world object used for DB design.
Object- based data models
- Object-oriented
- Object-relational
Semi structured data model
- XML ( Individual data of same type can have different set of
attributes )
Other older models:
- Network model
- Hierarchical model
**********************