Professional Documents
Culture Documents
Dbms Module 1
Dbms Module 1
Sem-IV
Highest
Cogniti
CO ID. Course Outcome ve
Level
The Learner will be able to Design ER and EER diagrams for real-
L3
CSC403.2
life applications.
1. Introduction of DBMS
2. Entity-Relationship(ER) Data Model
3. Relational Model and Relational Algebra
4. Structured Query Language(SQL)
5. Relational Database Design
6. Transaction Management and Concurrency
Copyright © 2016 Ramez Elmasri and Shamkant B. Navathe Slide 1- 4
CHAPTER 1
Relatively large
time.
A modern database system is a complex software system whose task
is to manage a large, complex collection of data.
Databases touch all aspects of our lives
Copyright © 2016 Ramez Elmasri and Shamkant B. Navathe Slide 1- 7
The database management system consists of two parts. They
are:
1. Database and
2. Management System
Data: Collection of RAW Data. (e.g. 1,ABC,20 etc.)
1. The file system is a way of arranging the 1. DBMS is software for managing the
files in a storage medium within a database.
computer.
2. Redundant data can be present in a file
2. In DBMS there is no redundant data.
system.
3.Data Inconsistent occurs when the data 3.The Data Consistency is obtained by
is not updated in all the files controlling the data redundancy.
simultaneously.
4. Data is distributed in many files. So, it is 4. Due to centralized nature data sharing is
not easy to share data. easy
6. File systems provide less security in 6. DBMS has more security mechanisms
comparison to DBMS. as compared to file systems.
7. There is less data consistency in the 7. There is more data consistency because
file system. of the process of normalization
8. It is less expensive than DBMS. 8. It has a comparatively higher cost than a
Copyright © 2016 Ramez Elmasri and Shamkant B. Navathe file system.
Data Abstraction
Abstraction is an important feature of DBMS. Extracting
the important data by ignoring the renaming irrelevant
details know as Abstraction.
As we know, the DBS usually has complex data structure
as per their requirements so to make user interaction easy
with DB, internal irrelevant details can be hidden from
users.
Complexity of DB can be hiding from user by different
level of abstraction as follows:
Level of Abstraction
1. Physical Level
2. Logical Level
3. View Level
Copyright © 2016 Ramez Elmasri and Shamkant B. Navathe Slide 1- 26
1. Physical Level
It is the lowest level in abstraction.
programmer.
It can be Hard disk, Magnetic Tape etc.
2. Logical level
It is the middle level in abstraction.
the user. It means the user can directly sit on the DBMS
and uses it.
Any changes done here will directly be done on the
the client-side.
The server side is responsible to provide the functionalities
the application server. The database also has no idea about any
other user beyond the application.
The 3-Tier architecture is used in