0
0
DBMS Theoryknowledge~10 mins

Multi-version concurrency control (MVCC) in DBMS Theory - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to describe the main purpose of MVCC.

DBMS Theory
MVCC helps to manage [1] in database systems.
Drag options to blanks, or click blank then click option'
Adata backup
Bconcurrent access
Cquery optimization
Dindexing
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing MVCC with backup or indexing.
Thinking MVCC is mainly for speeding up queries.
2fill in blank
medium

Complete the sentence to explain how MVCC handles reads.

DBMS Theory
In MVCC, readers see a [1] of the data without waiting for writers to finish.
Drag options to blanks, or click blank then click option'
Aconsistent snapshot
Btemporary copy
Cdeleted record
Dlocked version
Attempts:
3 left
💡 Hint
Common Mistakes
Assuming readers see locked or temporary data.
Thinking readers see deleted records.
3fill in blank
hard

Fix the error in the statement about MVCC's version management.

DBMS Theory
MVCC stores only a single [1] of each data item to handle concurrency.
Drag options to blanks, or click blank then click option'
Aversion
Bcopy
Cindex
Dlock
Attempts:
3 left
💡 Hint
Common Mistakes
Thinking MVCC uses only one copy or lock per data item.
Confusing version with index.
4fill in blank
hard

Fill both blanks to complete the MVCC transaction behavior.

DBMS Theory
A transaction in MVCC reads data from [1] and writes create [2].
Drag options to blanks, or click blank then click option'
Aa snapshot
Blocks
Cnew versions
Dindexes
Attempts:
3 left
💡 Hint
Common Mistakes
Thinking writes create locks or indexes.
Assuming reads use locks.
5fill in blank
hard

Fill all three blanks to describe MVCC's conflict resolution.

DBMS Theory
MVCC resolves conflicts by [1] old versions, [2] transactions, and [3] snapshots.
Drag options to blanks, or click blank then click option'
Akeeping
Bisolating
Cusing
Dlocking
Attempts:
3 left
💡 Hint
Common Mistakes
Thinking MVCC relies on locking.
Confusing isolating with locking.