Amity School of Engineering & Technology: B. Tech. (MAE), V Semester Rdbms Sunil Vyas
Amity School of Engineering & Technology: B. Tech. (MAE), V Semester Rdbms Sunil Vyas
Module 1: Introduction
Security problems
Levels of Abstraction
Physical level describes how a record (e.g., customer) is stored. Logical level: describes data stored in database, and the relationships among the data. type customer = record name : string; street : string; city : string; end; View level: application programs hide details of data types. Views can also hide information (e.g., salary) for security purposes.
View of Data
Physical Data Independence the ability to modify the physical schema without changing the logical schema
Applications depend on the logical schema In general, the interfaces between the various levels and components should be well defined so that changes in some parts do not seriously influence others.
Data Models
A collection of tools for describing
data data relationships data semantics data constraints
Entity-Relationship Model
Example of schema in the entityrelationship model
Relational Model
id name Johnson Smith Johnson Jones Smith
Attributes
Palo Alto
Harrison Rye
321-12-3123
019-28-3746