Lecture W1 Introduction
Lecture W1 Introduction
System
Introduction to DBMS
Class Goals
3
What the class will look like
• Lectures
• Readings (articles and book chapters)
• Assignments
• Class Test
• Practical case study
5
Course Objective
Learning Outcomes:
– Describe the fundamental elements of relational database management
systems
– Explain the basic concepts of relational data model, entity-relationship model,
relational database design, relational algebra and SQL.
– Design ER-models to represent simple database application scenarios
– Familiar with basic database storage structures and access techniques: file and
page organizations, indexing methods including B tree, and hashing.
6
Course Evaluation
Weightage
Remarks
Distribution
Final Exam 50%
Mid-term 20%
A/A +
Intro to Advanced DBMS
Any Questions !
Database Management System (DBMS)
• Database Applications:
– Banking: all transactions
– Airlines: reservations, schedules
– Universities: registration, grades
– Sales: customers, products, purchases
– Manufacturing: production, inventory, orders, supply
chain
– Human resources: employee records, salaries, tax
deductions
• Databases touch all aspects of our lives
Purpose of Database System
Data Isolation
Let's consider an example of data isolation in a database system:
Transaction A:
– Reads the employee record for employee ID 100.
– Modifies the salary of the employee.
Transaction B:
– Reads the employee record for employee ID 100.
– Modifies the job title of the employee.
•In this scenario, data isolation ensures that Transaction A and Transaction B do
not interfere with each other and maintain the integrity of the data.
Purpose of Database Systems (Cont.)
Data Isolation
•With proper data isolation mechanisms in place, the following can occur:
a) Transaction A reads the employee record for employee ID 100 and retrieves the current salary.
b) Transaction B reads the employee record for employee ID 100 and retrieves the current job
title.
c) Transaction A modifies the salary without being affected by any changes made by Transaction
B.
d) Transaction B modifies the job title without being affected by any changes made by Transaction
A.
•Data isolation guarantees that each transaction operates independently and does not
see the modifications made by other transactions until the changes are committed.
This prevents conflicts, inconsistencies, and ensures that the data remains accurate
and reliable even in a concurrent access environment.
Components of DBMS
• Logical level
– Next-higher level of data abstraction
– Describes what data stored in the database and what relationships exist
among those data.
– Describe the entire database in terms of a small number of relatively
simple structures
– Database administrator use the logical level of abstraction to decide what
information to keep in the database.
Levels of Abstraction
• View level
– The highest level of abstraction
– Describes only part of the entire database.
– It exists to simplify the users interactions with the system
– Hide details of data types (complex data structure).
– Views can also hide information (e.g., salary) for security purposes.
– A system may provide many views for the same database
Levels of Abstraction