Course No(s)
SESAP ZC 323
Credit Units
Course Instructor
P RAJA VADHANA
Course Description
Course Objectives
No
Course Objective
CO1
CO2
Provide knowledge about the internals of Database Management Systems likeStorage, Indexing, Transaction processing etc.
CO3
Text Book(s)
T1
R1
R2
Date C.J., An Introduction to Database Systems, Addison Wesley, 8th Ed., 2006.
R3
R4
Learning Outcomes
No
Learning Outcomes
LO1
Students acquired ability to model and design effective database systems, leading to
development of elegant Information System.
LO2
Students have gained sufficient knowledge and understanding about the features and
use of SQL and PL/SQL.
LO3
Students are equipped with knowledge on advanced database concepts like- Querying,
Transactions, Indexing, Recovery etc.
Legend
M = Module, CS = Contact Session, LE = Lab Exercises, SS = Self Study, HW = Home Work
Problems
Course Content: Modular Structure
No
M
1
M
2
Topics
Introduction to Database Management Systems
Advantages of using DBMS
Three-schema architecture and Data independence
Database Users
Database Design Process
ER Modelling concepts
o
Entity, Attribute,
Relationship, Cardinality
o
Weak entity, Multi-valued
attribute, Relationship attribute, Total
participation
o
Ternary relationship, Unary
relationship
EER Concepts
o
Specialization
o
subset
Generalization &
Disjoint subset, Overlapping
Relational model
o Relational model concepts
o Relational data model constraints
M
3
M
4
M
5
Introduction to SQL
Queries in SQL
Join
Nested queries
Grouping & Aggregation
Insert / Delete / Update
Views in SQL
Problems due to data redundancy
Detecting & removing redundancy using Normal forms
Functional dependencies
Normal forms and their conditions
Lossless Decomposition & Dependency preserving
decomposition
Secondary storage devices
Files, records, blocks on disks
Ordered files and Unordered files
Static Hashing & Dynamic hashing
Transaction Management
and Concurrency Control
M
6
M
7
Database Recovery
Topic
Lab Objective
Basics of SQL
Data Definition
Language (DDL)
DDL
Data Manipulation
Language(DML)
DML
DML
Assignments
1. Think of a web-based software application (with a central database), that you think will be useful to
many people (1 week)
2. Write a brief description of the application (2 weeks)
Who will be the users?
What are the benefits of this application?
List of functions & features of the application
How many users will use it simultaneously, etc?
3. Draw ER diagram for the application(2 weeks)
4. Convert ER model to relational model (2 weeks)
5. Write SQL queries to fulfil the end user needs (2 weeks)
6. Design indices to enhance the performance of queries and justify your choice of indices
Topic
Description
Conceptual model
Logical database
model
Physical design
Database
administration
Talk to your DBA and find out what their challenges are.
Think of ways to address these challenges and discuss
your suggestions with them. What is the outcome of
these discussions?
Security
Detailed Structure:
M1: Introduction and Overview of Database Systems
Type
CS 1.1
SS 1.1
SS 1.2
HW
1.1
HW
1.2
LE
Description/Plan/Reference
Introduction to Database Management Systems; Characteristics of database approach;
Database users; Advantages of using DBMS
Data models; Three-schema architecture and Data independence; Database system
environment; DBMS Architecture; Database Users
T1: Sec 1.6, 1.7,
T1: Sec 2.5, 2.6
T1: Exercise Problems 1.11, 1.15, 1.16
T1: Exercise Problems 2.17, 2.18
Nil
M2: Conceptual Database Design, ER/EER Modelling, Relational Model and Mapping from
ER/EER-Relational Schemas
Type
CS 2.1
CS2.2
CS 2.3
CS2.4
SS 2.1
SS 2.2
SS 2.3
HW
2.1
Description/Plan/Reference
ER and EER Modelling concepts, and notations
T1: Sec 3.3, 3.4, 4.1, 4.2, 4.3 (Problem Solving related to ER/EER)
Relational Data Model concepts and integrity constraints
Mapping from ER/EER to Relational Schemas
T1: Sec 7.1, 7.2, (Problem Solving related to Data model mapping)
T1: Sec 3.7,
T1: Sec 4.5
T1: Sec 7.2.1, 7.2.2
T1: Exercise Problems 3.23
HW
2.2
HW
2.3
LE
Description/Plan/Reference
Relational Algebra and Relational Calculus
Problem Solving related to Relational Algebra
SQL
Problem Solving related to SQL
SQL (Advanced features)
T1: Sec 6.6
T1: Sec 8.1
T1: Sec 8.8, 8.9
T1: Exercise Problems 6.19
T1: Exercise Problems 8.30
T1: Exercise Problems 8.33
Practice on SQL DDL and DML Commands on Oracle or MySQL
Practice on SQL advanced features on Oracle or MySQL
PL SQL
Description/Plan/Reference
Guidelines for database design; Functional dependencies; Inference rules
Normalization; Normal forms and their conditions; Lossless join decomposition;
Dependency preserving decomposition
Problem Solving related to Functional dependencies and Normal Forms
T1: Sec 10.2, 10.5
T1: Sec 11.1
T1: Exercise Problems 10.21, 10.23
T1: Exercise Problems 10.30, 10.23, 11.33
Nil
Description/Plan/Reference
Secondary storage devices; Buffering; Files, records, blocks on disks; Operations on
files; Ordered and unordered files
Hashing schemes, Internal and external; Static and Dynamic Hashing schemes
Problem Solving related to T1: Sec 13.8.3 (Dynamic Hashing), & Sec 14.1.1, 14.3.2
CS 5.3
SS 5.1
SS 5.2
SS 5.3
HW
5.1
HW
5.2
HW
5.3
LE
(Indexing)
Indexing schemes, Primary, secondary,
Multilevel indexing; B+ Trees indexing
T1: Sec 13.2
T1: Sec 13.8.2, 13.10
T1: Sec 14.1.2, 14.3
T1: Exercise Problems 13.27, 13.28
T1: Exercise Problems 13.31, 13.32, 13.33
T1: Exercise Problems 14.2, 14.21
Nil
CS 6.2
CS 6.3
SS 6.1
SS 6.2
HW
5.1
HW
5.2
LE 6.1
Description/Plan/Reference
Introduction to transactions; States of a transaction; Desirable properties of a
transaction; Schedules;
Concurrent transactions; Serializability; Testing serializability; Transaction support in
SQL
Need for Concurrency Control in database systems; Lock-based protocols; Two-phase
locking techniques for concurrency control; Deadlock situation; Timestamp-based
protocols
Problem Solving related to T1: Sec 17.5.2 (Serializability) ,18.1.3 (Deadlocks)
T1: Sec 17.5, 17.6
T1: Sec 18.1, 18.2
T1: Exercise Problems 17.29, 17.30,
T1: Exercise Problems 17.31, 18.3
Working on Transaction Management commands in SQL; T1: Sec 17.6
Description/Plan/Reference
Recovery concepts; Introduction to log-based recovery techniques; Database recovery
techniques based on deferred updates; Database recovery techniques based on
immediate updates; Database recovery based on Shadow paging
Problem Solving related to T1: Sec 19.2, 19.3
T1: Sec 19.5, 19.6
T1: Exercise Problems 19.30, 19.31
Nil
Contact Session
CS 1.1
CS 2.1
CS 2.2
CS 2.3
Self-study
SS 1.1
Home-work
HW 1.1
Lab Exercise
No Session
SS 1.2
SS 2.1
HW 1.2
HW 2.1
No Session
No Session
CS 2.4
CS 3.1
CS 3.2
CS 3.2
CS 3.3
CS 3.4
CS 3.5
CS 4.1
SS 2.2
SS 2.3
HW 2.2
HW 2.3
No Session
No Session
SS 3.1
HW 3.1
No Session
SS 3.2
HW 3.2
LE 3.1
SS 3.3
HW 3.3
LE 3.1
Syllabus for Mid-Semester Test: Topics covered in the first eight weeks
Week No.
Contact Session
Self-study
Home Work
Lab Exercise
9
CS 4.2
SS 4.1
HW 4.1
LE 3.2
10
CS 5.1
SS 4.2
HW 4.2
LE 3.2
11
12
13
CS 5.2
CS 5.3
CS 6.1
CS 6.2
14
15
16
CS 6.2
CS 6.3
CS 7.1
CS 7.2
SS 5.1
SS 5.2
SS 5.3
HW 5.1
HW 5.2
HW 5.3
LE 3.3
LE 3.3
No Session
SS 6.1
HW 6.1
LE 6.1
SS 6.2
SS 7.1
HW 6.2
HW 7.1
No Session
No Session
Syllabus for Comprehensive Exam (Open Book) All topics given in Plan
Evaluation Scheme:
EC Component & Nature
Duration Weightage
Date & Time
No
1
Quiz
10%
2
Mid-Semester Test
1.5 hrs
30%
3
4
(Closed Book)
Lab / Assignment/ Work
Integrated Activities
Comprehensive. Exam
(Open Book)
--
10%
3 hrs
50%
TBA
* TBA = To be announced
Instructor-in-charge