Transaction, Concurrency, Recovery
Transaction, Concurrency, Recovery
and Recovery--DBMS
Comprehensive Course Work
Harikrishnan BA
Naveen Krishna
Nitheesh Shaju
Shyamrkrishnan
SN
Transactions
What is ACID properties of A system is in a ______ state if there exists a
Transactions? set of transactions such that every
transaction in the set is waiting for another
a.Atomicity, Consistency, Isolation,
Database transaction in the set
b.Atomicity, Consistency, Isolation,
a.Idle
Durability
c.Atomicity, Consistency, Inconsistent,
b.Waiting
Durability c.Deadlock
d.Automatically, Concurrency, Isolation, d.Ready
Durability
Answer: B Answer: C
Transactions
When transaction Ti requests a data item Which of the following is an operation of transactions?
currently held by Tj , Ti is allowed to wait
A. Read
only if it has a timestamp smaller than that
B. Write
of Tj (that is, Ti is older than Tj ).
C. Commit
Otherwise, Ti is rolled back (dies). This is D. All of the above
a.Wait-die
Answer : D
b.Wait-wound
c.Wound-wait
d.Wait
Answer :A
Concurrency
A management procedure called ___ control is required Writing the data from the buffer back to the database is
to control the process of concurrently performing accomplished by using the _____ operation.
operations on a database.
A. Read
A. Database B. Write
B. Conspiracy C. Commit
C. Concurrency D. Rollback
D. Relational
Answer : B
Answer : D
Concurrency
An undo operation is called a ___. In a database, prior to and after a transaction, properties
are used to ensure ___.
A. Rollback
B. Commit A. Consistency
C. Write B. Redundancy
D. Read C. Latency
D. Anonymity
Answer: A) Rollback
Answer: A) Consistency
Recovery
The ____________ scheme uses a page table containing ____________ using a log record sets the data item
pointers to all pages; the page table itself and all specified in the log record to the old value.
updated pages are copied to a new location.
a) Deferred-modification
a) Shadow copy
b) Late-modification
b) Shadow Paging
c) Immediate-modification
c) Update log records
d) Undo
d) All of the mentioned
Answer:D
Answer : A
Recovery
In the __________ phase, the system replays updates of Checkpoints are a part of
all transactions by scanning the log forward from the
last checkpoint. a.Recovery measures
d) Undo Answer:A
Answer: A