0% found this document useful (0 votes)
86 views7 pages

Transaction, Concurrency, Recovery

The document discusses topics related to transactions, concurrency, and recovery in database management systems (DBMS). It provides questions and answers about the ACID properties of transactions, concurrency control, transaction operations, recovery schemes like shadow copying and logging, and phases of recovery like redo and undo. The document appears to be coursework or study material covering these essential database concepts.

Uploaded by

gjaj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
86 views7 pages

Transaction, Concurrency, Recovery

The document discusses topics related to transactions, concurrency, and recovery in database management systems (DBMS). It provides questions and answers about the ACID properties of transactions, concurrency control, transaction operations, recovery schemes like shadow copying and logging, and phases of recovery like redo and undo. The document appears to be coursework or study material covering these essential database concepts.

Uploaded by

gjaj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Transactions, Concurrency

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

a) Repeating b.Security measures

b) Redo c.Concurrency measures

c) Replay d.Authorization measures

d) Undo Answer:A

Answer: A

You might also like