DBMS
-
Upload
priya-kakkar -
Category
Documents
-
view
374 -
download
29
Transcript of DBMS
Lovely Professional University, Punjab
Course Code Course Title Course Planner Lectures Tutorials Practicals Credits
INT306 DATABASE MANAGEMENT SYSTEMS 14858::Monica Sood 3.0 0.0 0.0 3.0
Course Category Courses with conceptual focus
TextBooks
Sr No Title Author Edition Year Publisher Name
T-1 Database Principles Carlos Coronel,Steven Morris and Peter Rob
9th 2012 Cengage Learning
Reference Books
Sr No Title Author Edition Year Publisher Name
R-1 Database Systems Shio Kumar Singh 2nd 2011 Pearson Education Inc and Dorling Kindersley Publishing Inc.
R-2 Database Systems concepts H.F Korth and Sudarshana 5th 2012 Tata McGraw Hill
R-3 The programming language of oracle Ivan Byross 4th BPB
R-4 Simplified approach to DBMS Prateek Bhatia and Gurvinder singh
4th 2010 Kalyani publishers
R-5 Database Management System Dalwinder Singh Salaria 2nd 2012 Salaria Publishing House
Relevant Websites
Sr No (Web address) (only if relevant to the course) Salient Features
RW-1 http://www.ucl.ac.uk/archaeology/cisp/database/manual/node1.html introduction to database
RW-2 http://ptucse.loremate.com/dbms/node/2 Database management important terms
RW-3 http://unixspace.com/context/databases.html data models
RW-4 http://people.cs.pitt.edu/~chang/156/19oodb.html object oriented database
RW-5 http://wofford-ecs.org/dataandvisualization/ermodel/material.htm ER Model
RW-6 http://www.cs.sfu.ca/CourseCentral/354/zaiane/material/notes/Chapter2/node1.html ER extended features
RW-7 http://mivuletech.wordpress.com/2011/03/22/an-overview-of-relational-algebra-operators-and-their-sql-translations/
relational algebra operations
RW-8 http://www.cse.ohio-state.edu/~gurari/course/cse670/html/cse670Ch15.html relational calculus
RW-9 http://www.plsql-tutorial.com/ PL/SQL
RW-10 http://en.wikipedia.org/wiki/Database_security database security
RW-11 http://wiki.answers.com/Q/Difference_between_primary_index_and_secondary_index primary and secondary index
RW-12 http://docs.jboss.org/hibernate/orm/3.3/reference/en/html/transactions.html transaction and concurrency control
RW-13 http://en.wikipedia.org/wiki/Deadlock Deadlock
RW-14 http://www.aliencoders.com/content/basics-normalization-examples functional dependenc and normalization
Audio Visual Aids
Sr No (AV aids) (only if relevant to the course) Salient Features
AV-1 http://nptel.iitm.ac.in/video.php?subjectId=106106093 audio lectures of DBMS
Virtual Labs
Sr No (VL) (only if relevant to the course) Salient Features
VL-1 http://sage.virtual-labs.ac.in/home/pub/27/ Video lectures of DBMS
VL-2 http://freevideolectures.com/Course/2668/Database-Management-System/4 video lectures of DBMS topics-relational model,normalisation,er model etc.
Week Number
Lecture Number
Broad Topic(Sub Topic) Chapters/Sections of Text/reference books
Other Readings,Relevant Websites, Audio Visual Aids, software and Virtual Labs
Lecture Description Learning Outcomes Pedagogical ToolDemonstration/ Case Study / Images / animation / ppt etc. Planned
Week 1 Lecture 1 Database introduction and Database architecture(Basic concepts and defination,data dictionary)
T-1:chapter-1 section 1.1 and 1.2 and 1.3
and chapter-3 section 3.5
R-4:chapter-1 section 1.12
RW-1 databases,introducing databases,data dictionaries
learning basic introduction of database,its basic terms and data dictionary
slideshow by teacher
Lecture 2 Database introduction and Database architecture(Database and database systems,Data Administrator,Database Administrator)
T-1:chapter-1 section 1.7 and chapter-15
section 15.8 and 15.9R-5:chapter-1 section
1.11
RW-2 Database administrator roles and database system environment and its functions and also how to manage database systems
learning the role of database administrator in database and knowing about various types of users
slideshow by teacher
Detailed Plan For Lectures
LTP week distribution: (LTP Weeks)
Weeks before MTE 7
Weeks After MTE 6
Spill Over 2
Week 1 Lecture 3 Database introduction and Database architecture(File oriented system versus Database and Historical perspective of database systems, Database Languages and transaction management.Structure,components and functions of DBMS)
T-1:chapter-1 section-1.5 and 1.6
R-5:chapter-1 section-1.8 and 1.6
RW-2 evolution of file system data processing and various problems associated with file system,learning DDL,DML and DCL langauges and transactions management
learning traditional file based approach and its disadvantages
slideshow by teacher
Week 2 Lecture 4 Database introduction and Database architecture(Data models-record based,object based,physical,hierarchical, Introduction,schemas,subschemas, and instances)
T-1:chapter-2 section 2.1 to 2.6
RW-3 basic data models introduction,business rules and evolution of various data models, and degrees of data abstraction , schemas and instances
learning data models like record based and object based data models
slideshow by teacher
Lecture 5 Database introduction and Database architecture(Three level ANSI Sparc Database Architecture, Data Independence and Mappings, Data models)
R-1:chapter-2 having section 2.3
R-5:chapter-1 section 1.10
RW-2 three schema database architecture, data independence like logical and physical and relational model
learning three schema architecture and data independence approach in database
slideshow by teacher
Lecture 6 Different types of databases(Introduction to Object Oriented Databases and object relational Databases)
R-1:chapter-15 section 15.1 to 15.4
and chapter-16 section 16.1 and 16.1
and 16.4
RW-4 objects,object oriented data model,basic concepts of object oriented database and object relational database design
learning various types of databases like object oriented and object relational database
slideshow by teacher
Week 3 Lecture 7 Different types of databases(Introduction to Object Oriented Databases and object relational Databases)
R-1:chapter-15 section 15.1 to 15.4
and chapter-16 section 16.1 and 16.1
and 16.4
RW-4 objects,object oriented data model,basic concepts of object oriented database and object relational database design
learning various types of databases like object oriented and object relational database
slideshow by teacher
Lecture 8 Different types of databases(Introduction to Distributed Databases Architecture and Design)
T-1:chapter-12 section 12.1 and 12.2 and 12.5 and 12.11
and 12.12
evolution of DDBMS and its advantages and disadvantages,characteristics,components,and distributed database design
learning distributed type of database and its decign like in fragmentation and replication and mixed approach
slideshow by teacher
Lecture 9 Different types of databases(Introduction to Distributed Databases Architecture and Design)
T-1:chapter-12 section 12.1 and 12.2 and 12.5 and 12.11
and 12.12
evolution of DDBMS and its advantages and disadvantages,characteristics,components,and distributed database design
learning distributed type of database and its decign like in fragmentation and replication and mixed approach
slideshow by teacher
Different types of databases(Intro to Parallel databases-architecture and key elements of parallel database processing and query parallelism)
R-1:chapter-17 section 17.1 to 17.2
and 17.5
introduction to parallel databases and query parallelism
learning parallel database and its design like inter query and intra query parallelism
slideshow by teacher
Week 4 Lecture 10 ER Model(Introduction, basic ER Concepts, Conversion of E-R model into relations)
T-1:chapter-4 section 4.1 to 4.3
RW-5 entity relationship model and developing ER Diagram
learning ER model to represent the problem
slideshow by teacher
Lecture 11 ER Model(Introduction to enhanced E-R model,subclasses, and its entity types and super classes, Specialization and generalization, Categorization)
R-1:chapter-7 section 7.1 to 7.5
RW-6 extended features of ER Model like implementing top down and bottom up approach generalization,specialization and categorization
learning different approaches in ER Model like generalization,specialization and aggregation etc
slideshow by teacher
Lecture 12 ER Model(Problems on E-R models, Categorisation examples)
T-1:chapter-5 review questions
RW-5RW-6
problems on ER Models problem solving session will be taken up in class regarding er model
Week 5 Lecture 13 Relational algebra and calculus(Introduction, historical perspective of relational model)
T-1:chapter-3 section 3.1 and 3.2 and 3.4
and 3.6R-1:chapter-4 section
4.1 and 4.2
logical view of data,keys,integrity rules and historical view of relational model
learning relational model concepts like tuple,attribute,keys,relation etc
slideshow by teacher
Lecture 14 Relational algebra and calculus(Structure of relational databases, relational algebra, Relational algebra operations)
R-1:chapter-4 section 4.3 and 4.4
RW-7 relational set operators,data dictionary,and system catalog,relationships within the relational database and learning operations like traditional like union,intersection,difference,cartesian product and special operators like selection,projection,join,division etc
learning relational algebra problems and its operations
slideshow by teacher
Lecture 15 Relational algebra and calculus(Relational calculus that is tuple relational calculus and Domain relational calculus)
R-2:chapter-4 section 4.5
RW-8 tuple relational calculus and domain relational calculus
learning relational calculus language like tuple and domain calculus
slideshow by teacher
Relational algebra and calculus(Problems on relational algebra and relational calculus)
R-2:chapter-5 exercises
RW-7RW-8
problems on relational algebra operations and relational calculus
problems on relational algebra and relational calculus
problem solving session will be taken up in class regarding relational algebra and relational calculus
Week 6 Lecture 16 Quiz 1
Week 6 Lecture 17 SQL,PL/SQL(Set Operations, Basic Structure, Aggregate functions, DDL, DML, DCL)
T-1:chapter-7 section 7.1 to 7.6
introduction to SQL and data definition commands, data manipulation commands,SELECT queries and additional DDL and SELECT query keywords like ordering aggregate fuctions
learning Database languages like DDL ,DML,DCL commands
slideshow by teacher
Lecture 18 SQL,PL/SQL(Views,Nested Queries, Joins, Complex Queries)
T-1:chapter-7 section 7.7 and 7.8 and
chapter-8 section 8.1 and 8.2 and 8.3
virtual tables like views and joining databases tables like JOINS and complex queries or nested queries
learning set operations, joins,views and nested queries in SQL
slideshow by teacher
Week 7 Lecture 19 SQL,PL/SQL(Language elements, Subprograms)
R-2:chapter-4 sec 4.6 and chapter-5 sec
5.3
RW-9 basic structure of language elements like BEGIN,DECLARE,EXCEPTION,END phases and how to make functions and procedures in subprograms
learning named and unnamed block in PL SQL
slideshow by teacher
Lecture 20 SQL,PL/SQL(Packages, Cursors, Triggers)
R-2:chapter-4 sec 4.6 and chapter-8 sec
8.1
RW-9 functions and procedures in packages,memory area cursors, and auto generates triggers
learning named blocks like packages,triggers,cursors etc
slideshow by teacher
Lecture 21 Integrity(Constraints, Integrity rules)
T-1:chapter-3 section 3.3
contraints and integrity rules like entity integrity and referential integrity
learning entity integrity and referential integrity rules
slideshow by teacher
MID-TERMWeek 8 Lecture 22 Database security(Introduction,
Goals of Database Security)T-1:chapter-15
section 15.6RW-10 database security like its
policies, security vulnerabilities
leanrning goals of database security
slideshow by teacher
Lecture 23 Database security(Discretionary access control, Mandatory access control, Firewalls)
T-1:chapter-15 section 15.1 to 15.5
RW-10 data as a corporate set,need and role of a database in organisation,evolution of database environment human component,database admisnitration tools and discretionary access like granting and revoking privileges and mandatory access control also learning firewalls
learning control access on database
slideshow by teacher
Lecture 24 Database security(Statistical Database security, Data encryption,Authorization and Authentication)
R-1:chapter-14 section 14.3 and 14.4
and 14.6
data encryption like simple substitution method,poly alphabetic substitution method and statistical databases
learning how to apply privileges to users
slideshow by teacher
Week 9 Lecture 25 Indexing and Hashing(Introduction,types of indexing)
R-2:chapter-12 section 12.1 to 12.8
RW-11 indexes and types of indexes like primary ,secondary indexes, ordered and unordered index
learning index structure in database like primary and secondary index
slideshow by teacher
Lecture 26 Indexing and Hashing(Hashing) R-2:chapter-12 section 12.1 to 12.8
hash based like bucket based approach
learning hashing slideshow by teacher
Lecture 27 Functional Dependency(Introduction, Functional dependency, Decomposition)
T-1:chapter-3 section 3.2
R-1:chapter-9 section 9.3
RW-14 functional dependency and full functional dependency,trivial functional dependency,multi value dependency,join dependency etc
learning anomalies and various types of functional dependency
slideshow by teacher
Week 10 Lecture 28 Relational Database Design(Normalization- 1NF, 2NF)
T-1:chapter-6 section 6.1 to 6.3
RW-14 1NF through flattening the table and by decomposition, and 2NF
learning how to detect functional dependency and how to remove by applying normal forms
slideshow by teacher
Lecture 29 Relational Database Design(Normalization- 1NF, 2NF)
T-1:chapter-6 section 6.1 to 6.3
RW-14 1NF through flattening the table and by decomposition, and 2NF
learning how to detect functional dependency and how to remove by applying normal forms
slideshow by teacher
Lecture 30 Relational Database Design(3NF, BCNF)
T-1:chapter-6 section 6.3 to 6.4
RW-14 3 NF by finding transitive dependency and BCNF which is more improved form of 3NF
learning to remove transitive dependency and applying 3NF and BCNF
slideshow by teacher
Week 11 Lecture 31 Relational Database Design(3NF, BCNF)
T-1:chapter-6 section 6.3 to 6.4
RW-14 3 NF by finding transitive dependency and BCNF which is more improved form of 3NF
learning to remove transitive dependency and applying 3NF and BCNF
slideshow by teacher
Relational Database Design(4NF, 5NF)
T-1:chapter-6 section 6.5 to 6.8
RW-14 Applying 4NF by finding multivalue dependency and 5 NF by finding projection join dependency
learning to remove multivalue dependency and projection join dependency
slideshow by teacher
Lecture 32 Quiz 2
Lecture 33 Transaction processing and concurrency control and deadlock and recovery(Transaction concept and State, Atomicity and durability, Serializability)
T-1:chapter-10 section 10.1
RW-12 transactions and its ACID properties and stabilizability and transaction log
learning transaction management
slideshow by teacher
Week 12 Lecture 34 Transaction processing and concurrency control and deadlock and recovery(Transaction concept and State, Atomicity and durability, Serializability)
T-1:chapter-10 section 10.1
RW-12 transactions and its ACID properties and stabilizability and transaction log
learning transaction management
slideshow by teacher
Week 12 Lecture 35 Transaction processing and concurrency control and deadlock and recovery(Concurrency Control with Lock Based, Time stamp based, Validation based Protocols, Multiple granularity)
T-1:chapter-10 section 10.2 to 10.6
RW-12 concurrency control and its locking methods,its timestamping methods and its optimistic methods
learning concurrency control in transaction management
slideshow by teacher
Lecture 36 Transaction processing and concurrency control and deadlock and recovery(Concurrency Control with Lock Based, Time stamp based, Validation based Protocols, Multiple granularity)
T-1:chapter-10 section 10.2 to 10.6
RW-12 concurrency control and its locking methods,its timestamping methods and its optimistic methods
learning concurrency control in transaction management
slideshow by teacher
Week 13 Lecture 37 Quiz 3
Lecture 38 Transaction processing and concurrency control and deadlock and recovery(Introduction, deadlock detection, Deadlock prevention and avoidence,Recovery concepts, types of database failures,Types of database recovery, Recovery techniques,buffer management)
T-1:chapter-10 section 10.6
R-1:chapter 13 section 13.1 to 13.6R-2:chapter-15 sec
15.2
RW-13 database recovery management,immediate update and deferred update,shadow paging,check pointing recovery methods,and buffer management, types of database recovery like UNDO and REDO
learning of detecting deadlock and how to prevent of avoid and how to recover the database from deadlock loss
slideshow by teacher
Lecture 39 Transaction processing and concurrency control and deadlock and recovery(Introduction, deadlock detection, Deadlock prevention and avoidence,Recovery concepts, types of database failures,Types of database recovery, Recovery techniques,buffer management)
T-1:chapter-10 section 10.6
R-1:chapter 13 section 13.1 to 13.6R-2:chapter-15 sec
15.2
RW-13 database recovery management,immediate update and deferred update,shadow paging,check pointing recovery methods,and buffer management, types of database recovery like UNDO and REDO
learning of detecting deadlock and how to prevent of avoid and how to recover the database from deadlock loss
slideshow by teacher
SPILL OVERWeek 14 Lecture 40 R-1:chapter-22 oracle case study
Lecture 41 R-2:chapter-30 SQL case study
Scheme for CA:Component Frequency Out Of Each Marks Total Marks
Quiz 2 3 10 20
Total :- 10 20
Details of Academic Task(s)
AT No. Objective Topic of the Academic Task Nature of Academic Task(group/individuals/field
work
Evaluation Mode Allottment / submission Week
Quiz 1 to evaluate understanding of topics relevant to subject
Syllabus is from lecture no. 1 to lecture no.15 Individual Multiple Choice Questions
2 / 6
Quiz 2 to evaluate understanding of topics relevant to subject
Syllabus is from lecture 22 to lecture 31 Individual Multiple Choice Questions
5 / 6
Quiz 3 to evaluate understanding of topics relevant to subject
Syllabus is from lecture no.33 to lecture no.36 Individual Multiple Choice Questions
7 / 10
List of suggested topics for term paper[at least 15] (Student to spend about 15 hrs on any one specified term paper)
Sr. No. Topic
1 Not applicable in this course