Sie sind auf Seite 1von 8

Shrimad Rajchandra Institute of Management and Computer 2017

Application, UTU

Integrated MCA 2nd Semester


Course: 060060207- CC5 Relational DBMS

Lesson Plan
Objective: To provide fundamentals of transaction processing and concurrency control as well as to develop skills of
procedural SQL programming for designing database applications.

Course Outcomes: Upon completion of the Course, students shall be able to


CO1: Differentiate DBMS & RDBMS and use SQL data types.
CO2: Use of IF, CASE, FOR, LOOP, WHILE and REPEAT control flow statements.
CO3: Design application development with user defined functions and stored procedures using procedural SQL.
CO4: Demonstrate creating and firing of triggers.
CO5: Describe the concept of transaction processing and test the conflict serializability.
CO6: Apply two-phase locking and time-stamp locking techniques for concurrency control.

Unit Sub No. of Topics Reference Chapter/Additional Teaching Evaluation


Unit Lectur Reading Methodology Parameter
e(s) to be used s
Unit 1: Inbuilt functions and introduction to Procedural SQL

1.1 3 Inbuilt functions: Numeric IB#14, Page Demonstration


Functions, String Functions, No:294-338 Audio-Visual
Date and Time Functions http://nptel.ac.in/courses/1061 Tool
04135/20
1.2 2 Overview of non-procedural https://dev.mysql.com/doc/ref
SQL: select, insert, update and man/5.5/en/sql-syntax.html
delete statements
1.3 1 BEGIN…END compound http://dev.mysql.com/doc/refm Quiz,
statement, Statement Label an/5.7/en/begin-end.html Demonstration Open Book,
1.4 1 PREPARE, EXECUTE and http://dev.mysql.com/doc/refm method & chalk Unit Test 1,
DEALLOCATE PREPARE an/5.7/en/sql-syntax-prepared- and talk Unit Test2,
statements.html Internal
1.5 1 DECLARE: variables in stored https://dev.mysql.com/doc/ref
programs man/5.6/en/declare-local-
variable.html
Unit 2: Control Flow statements
2.1 2 Conditional Statements : IF, http://dev.mysql.com/doc/refm
CASE an/5.7/en/flow-control-
2.2 2 Iterative Statements: ITERATE, statements.html
LEAVE, LOOP, REPEAT, WHILE Open Book,
Demonstration
2.3 1 RETURN Statement https://dev.mysql.com/doc/ref Unit Test 1,
method & chalk
man/5.7/en/return.html Unit Test2,
and talk
2.4 2 SELECT ... INTO statement http://stackoverflow.com/quest Internal
ions/3075147/select-into-
variable-in-mysql-declare-
causes-syntax-error
Unit 3: Application development using Procedural SQL
3.1 3 Cursors : OPEN, CLOSE and IB#14, Page Demonstration

Dr. Jikitsha Sheth, Ms. Krishna Vaghani Page 1


Shrimad Rajchandra Institute of Management and Computer 2017
Application, UTU

FETCH No:448-449 & chalk and


3.2 3 User Defined Function IB#14, Page talk Unit Test 2
3.3 2 Stored Procedure No:414-425
3.4 1 Arguments type: IN, OUT and
INOUT
Unit 4: Triggers and Transactions
4.1 3 Triggers and Their Usage IB#14, Page No:448-449
4.2 1 Trigger Activation Demonstration
4.3 2 BEFORE And AFTER Trigger & chalk and
Internal
4.4 1 COMMIT, ROLLBACK, IB#14, Page No:427-448 talk
SAVEPOINT
Unit 5: Transaction Processing
5.1 1 Concepts in Transaction HK#14, Page No:627-629
processing EN-#17-Page No 612
5.2 1 Transaction and System EN-#17-Page No 618-621
concepts http://nptel.ac.in/courses/1061
Presentation, Quiz1,
06093/20
chalk and talk Open Book,
5.3 1 Desirable properties of HK#14, Page No:629-631
transactions & Audio-Visual Unit Test 1,
5.4 2 Serial, non-serial and schedules EN-#17-Page No 623-626 tool Unit Test2,
HK#14, Page No:635-640 Internal
5.5 2 Testing for conflict EN-#17-Page No 630-633
serializability
5.6 1 Transaction support in SQL EN-#17-Page No 636-639
Unit 6: Concurrency Control
6.1 2 Types of locks and system lock EN-#18-Page No 644-648
tables HK#15, Page No:661-666
http://nptel.ac.in/courses/1061
04135/38
6.2 2 Serializability by Two-Phase EN-#18-Page No 648-650
Locking HK#15, Page No:691-692 Presentation,
http://nptel.ac.in/courses/1061 chalk and talk Open Book,
04135/39 & Audio-Visual Unit Test 1,
6.3 2 Dealing with Deadlock and EN-#18-Page No 651-654 tool Unit Test2,
Starvation HK#15, Page No:674-679 Internal
6.4 2 Timestamp ordering EN-#18-Page No 654-658
HK#15, Page No:682-685
http://nptel.ac.in/courses/1061
04135/40

Textbook:
1. H. Korth, “Database System Concepts”, Tata McGraw Hills.[HK]
2. Ivan Bayross, MySQL 5 for Professionals, SPD.[IB]
References :
3. S.K. Singh. “Database Systems Concepts,Design and Applications”, Pearson Education.[SK]
4. Elmasri Navathe. “Fundamentals of Database Systems”, Pearson Education.[EN]
5. MySQL Reference Manual - https://dev.mysql.com/doc/refman/5.6/en/index.html
Note: # denotes chapter number.

Dr. Jikitsha Sheth, Ms. Krishna Vaghani Page 2


Shrimad Rajchandra Institute of Management and Computer 2017
Application, UTU

Course objectives and Course outcomes mapping:


 Procedural SQL: CO1,CO2,CO3,CO4
 Transaction processing: CO5
 Concurrency control: CO6
Course units and Course outcomes mapping:

Unit No. Unit Course Outcome

CO1 CO2 CO3 CO4 CO5 CO6


Inbuilt functions and introduction to
1 
Procedural SQL
2 Control flow statements 
Application development using procedural
3  
SQL
4 Triggers and transactions 
5 Transaction processing 
6 Concurrency control 

Course outcomes and Program outcomes mapping:

PO1 PO2 PO3 PO4 PO5 PO6


CO1 
CO2  
CO3     
CO4     
CO5    
CO6   

Laboratory:
 A course teacher shall prepare a fresh practical list for each academic year with no repeated
problems from previous two consecutive years.

 The practical problem list shall consists of “Required number of problems” for journal certification
as well as “Practice problems” of varying nature from each unit as per its weightage and criticality.

 Laboratory supervisor or course teacher shall sign in the journal only if he/ she is satisfied by the
work of student.

 Journal shall be verified by the laboratory teacher as well as by the course teacher at-least thrice
in a semester at an interval of 10 laboratory sessions or an appropriate interval upon the
discretion of the course teacher.

 Journal must not be certified if required number of problems are not included and not written
clearly or copied.

 After approved by Program Coordinator, the list of problem definition shall be kept by concern

Dr. Jikitsha Sheth, Ms. Krishna Vaghani Page 3


Shrimad Rajchandra Institute of Management and Computer 2017
Application, UTU

teacher on web site before the commencement of the semester.

Computing Environment:
A student must have the following computing environment in laboratory and or on his/her laptop and.
 MySQL 5.0 or above

Modes of Transaction (Delivery):


 Lecture method is generally used but along with it, as and when required, discussion method
would be fruitful. It shall be supplemented with various appropriate audio-visual aids.

 Practical exercises would be solved by the students.

Activities/Practicum:
The following activities shall be carried out by the students.

 Lock conversion and escalation in MySQL/DB2.

 Retrieving data from system tables in MySQL.

The following activities shall be carried out by the teacher.

 General strategy and steps in Query Processing.

 Demonstrate the creation of stored procedure in Microsoft SQL Server.

Number of Practical Problems in Journal: 23

Total sets to be developed for each division: 02

Unit Number Number of Questions Time required to Minimum required of


implement and Journal Certification
debug the
question (in
hours)

Unit 1 06 12 04

Unit 2 04 08 04

Unit 3 10 21 09

Unit 4 03 07 03

TOTAL 23 48 20

Dr. Jikitsha Sheth, Ms. Krishna Vaghani Page 4


Shrimad Rajchandra Institute of Management and Computer 2017
Application, UTU

Concept Map:
It is a hierarchical / tree based representation of all topics covered under the course. This gives direct
/ indirect relationship /association among topics as well as subtopics.
Relational DBMS

Dr. Jikitsha Sheth, Ms. Krishna Vaghani Page 5


Shrimad Rajchandra Institute of Management and Computer 2017
Application, UTU

Unit-1: Inbuilt functions and introduction to Procedural SQL

Unit-2: Control Flow Statements

Dr. Jikitsha Sheth, Ms. Krishna Vaghani Page 6


Shrimad Rajchandra Institute of Management and Computer 2017
Application, UTU

Unit-3: Application Development using Procedural SQL

Unit-4: Triggers and Transactions

Dr. Jikitsha Sheth, Ms. Krishna Vaghani Page 7


Shrimad Rajchandra Institute of Management and Computer 2017
Application, UTU

Unit-5: Transaction Processing

Transaction Processing

covers

covers

Transaction and System includes Testing for conflict


includes
concepts serializablility

Serial, Non-serial and


Desirable properties of
schedules
transactions

Unit-6: Concurrency control

Concurrency Control

covers

has technique

Type of locks and system lock has technique has technique Timestamp ordering
tables

Dealing with Deadlock and


Two-Phase Locking starvation

Dr. Jikitsha Sheth, Ms. Krishna Vaghani Page 8

Das könnte Ihnen auch gefallen