DBMS II-Question Bank
DBMS II-Question Bank
27. What is trigger ? Explain the syntax to create trigger along with its advantages.
28. Following is the list of events in an interleaved execution of set T1 , T2 , T3 and T4
assuming 2PL. IS there a deadlock? If yes which transactions are involved in a deadlock?
29. Consider the following transaction Give 2 non serial schedules that are serializable
deferred update technique with checkpoint is used, what will be the recovery procedure?
6) What is deadlock? Explain Deadlock detection and prevention technique.
7) Consider following database
Movie (mno, mname, release_year, budget)
Actor (ano, aname, role, charges, addr)
Relationship between Movie and Actor is M-M Write a stored function to accept movie
name as input and print the name of actors working in that movie.
8) Explain Deadlock Recovery Techniques.
9) Consider the following schedule and draw precedence graph for that state whether
schedule is serializable or not.
12) Consider the following log image, that is obtained during recovery after crash:
27) Explain the deferred update technique of log based recovery following are the log entries
at time of system crash.
If a deferred update technique with check point is used, what will be recovery procedure
28) Consider the following transactions. Give two non-serial schedules that are serializable.
29) What is view? write syntax to create view? How views are useful in database security.
30) Following is the list of events in an interleaved execution of set T1 , T2 , T3 and T4
assuming 2PL.
Is there a Deadlock? If yes which transactions are involved in Deadlock?
**************