DBMS Unit-1
DBMS Unit-1
CO 3 Identify and solve the redundancy problem in database tables using normalization. K2, K3
Understand the concepts of transactions, their processing so they will familiar with broad range K2, K4
CO 4
of database management issues including data integrity, security and recovery.
CO 5 Design, develop and implement a small database project using database tools. K3, K6
DETAILED SYLLABUS 3-1-0
Unit Topic Proposed
Lecture
Introduction: Overview, Database System vs File System, Database System Concept and
Architecture, Data Model Schema and Instances, Data Independence and Database Language and
Interfaces, Data Definitions Language, DML, Overall Database Structure. Data Modeling Using the
I 08
Entity Relationship Model: ER Model Concepts, Notation for ER Diagram, Mapping Constraints,
Keys, Concepts of Super Key, Candidate Key, Primary Key, Generalization, Aggregation,
Reduction of an ER Diagrams to Tables, Extended ER Model, Relationship of Higher Degree.
Relational data Model and Language: Relational Data Model Concepts, Integrity Constraints,
Entity Integrity, Referential Integrity, Keys Constraints, Domain Constraints, Relational Algebra,
Relational Calculus, Tuple and Domain Calculus. Introduction on SQL: Characteristics of SQL,
II Advantage of SQL. SQl Data Type and Literals. Types of SQL Commands. SQL Operators and Their 08
Procedure. Tables, Views and Indexes. Queries and Sub Queries. Aggregate Functions. Insert,
Update and Delete Operations, Joins, Unions, Intersection, Minus, Cursors, Triggers,
Procedures in SQL/PL SQL
Data Base Design & Normalization: Functional dependencies, normal forms, first, second, 8 third
III normal forms, BCNF, inclusion dependence, loss less join decompositions, normalization using 08
FD, MVD, and JDs, alternative approaches to database design
Transaction Processing Concept: Transaction System, Testing of Serializability, Serializability of
Schedules, Conflict & View Serializable Schedule, Recoverability, Recovery from Transaction
IV 08
Failures, Log Based Recovery, Checkpoints, Deadlock Handling. Distributed Database: Distributed
Data Storage, Concurrency Control, Directory System.
Concurrency Control Techniques: Concurrency Control, Locking Techniques for Concurrency
V Control, Time Stamping Protocols for Concurrency Control, Validation Based Protocol, Multiple 08
Granularity, Multi Version Schemes, Recovery with Concurrent Transaction, Case Study of Oracle.
Text books:
1. Korth, Silbertz, Sudarshan,” Database Concepts”, McGraw Hill
2. Date C J, “An Introduction to Database Systems”, Addision Wesley
3. Elmasri, Navathe, “ Fundamentals of Database Systems”, Addision Wesley
4. O’Neil, Databases, Elsevier Pub.
5. RAMAKRISHNAN"Database Management Systems",McGraw Hill
6. Leon & Leon,”Database Management Systems”, Vikas Publishing House
7. Bipin C. Desai, “ An Introduction to Database Systems”, Gagotia Publications
8. Majumdar & Bhattacharya, “Database Management System”, TMH
Insert on
Data base DBMS
OPerrahions Updaiom
RDBMS)
SaL Server
Stucted Unstucturtd
IRCTC Orade (9,I), 12e ete resima
(MyDaa
SERVAR
duback
LKB data
Easy stachin?
Mulhpe acessing frm dittent perple atsa
tme.
arailable th l Syst,it mean means if ml Hple people
7he at Same tmme , then dara inconsisteney ocud.
Butfor DeMS potoest ests i
Studen
Process
Buinessler
AppltaSm
Seye
Database Serve
Data
2Ties ArhGtetane iz Consiss of Source
to layers ) Ui nt Applteatn
Dabbase Sees ientMaehine
Course
Cid buraton
Ly Jhe overal
desig ofa datba ge is cale d sehem
+A daabase shema î th Skeleon shuctur
otte databage. t p Semts
es ofte entire database
Ht A Shema Contains shen obts Giue table, piy vey, fontigm
dab tpes et.
tabie zm Cotumn
dahtye s)
Create table Studemt Roll no. int 1°), Name varhr (20),
/ Addess Varchr
Marne ofthe
table
Sher 1eel
STUPEHT
9Am BRANCH| EAR
Ccotemop
Sehema CSE 4
lerel
2
Sehena 3
PPP ECE
Jerl
Reor)
Rol\ tð,
Suppose you ant
DaBa befinitm (amade (DD)
bata be niti on
Osed to de Hne +he schea or stucture of daBaba se
DDL are set of Cornmands aie R3 used to Crate, Update
amd selete struct o bB.
\hese Conmand% ae mot me ant fos end uses bat
rther used DBA
baaba se
begnr
Create table enplyee
Atsbute
Tnsert
Updatt database tableA
Delete
the
Relaio
Atrs bte
Popesty of n ensty
Types of Attri bues Studen hane sinte Resishraim Ho
but mttiple mob.mo or Addess
rMany
One
Compose
Atdbuts
me to One
eelipse fMusral«ed
AHibutes
dotted Deived
eipse Atibues
Diamond Rdaisnshp
Shepe
Links
( ink volth fatsty to fahty
énsy to Reonnip
MAPPIN G CONSTRINTS
L’ To mantain
(asdinahcs
of ensses och hare ehin oith notner ensk.
Sho easonship stats betuseen tnt hek of GnBty Se's.
-bs
Poatscipabo Constnnts
eniy sot depends set for its
eis tence enby
paakn Constraints a
0 Tota! b
ba
Total
Partial
L AI| the enistseg of
one
Loon
TCustomert
Adiess -Total
PaHal
Pasticipasm
double line
Ktys
(oncepts fn DBMS
A key j a vae whch (an alys be used to
sject instam ee.
Key ís used to
ot data
fom the table.
sden t relamsNp be
between
I is also used to esta blis h and
esta blish and
tables.
Types of keys
(sndrdate Conpasste Fo
Super ey key key
in the set.
S2
S-Rollme, S-Bramh
S3 S- Rotlno, S-\ear
Ss ~ S. Rolne, S- None, S-Brneh
Ss S Rollmo, S.Brnh, S.Yea
STUPEHT TABLE
SATYAm
2003
MAMR EE 2002
KAMAL
he minimm o Super ke
Casdidate kay Com be def e a
that idemtifes the ecord amiqy
" Tt must Contain nique value
(andidate
table must have at least a
ith attsbte.
for t In stu dent table
S-Brnh, S-Yea )
(S-Rot1 to, S-tene
C ’ S, Rollto.
Camdidate kay C ’ S- Roll to S_4ame
at a ime
Thy
feritn ey he (otumn o4 the table used to pint
to the
pomykey of angter tatbie.
Studen Tabie 2
StudetTle 1
Roll to
Kalash 12 34
key 56 Lwen
2 Kame
EE
Act as
Seeond Table
Frst Table