Support Concurrent Update: Presented By: MATAAC, Gladys G

You might also like

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 12

Support Concurrent Update

Presented by: MATAAC, Gladys G.

Concurrent Update
occurs when multiple users make updates
to the same database at the same time.

The Concurrent Update


Problem

Batch Processing

Batch Processing
processing technique in which a single
update program reads the batch of
records in this file one at a time and
erforms the appropriate updates to the
database.

Two-Phase Locking
Locking- denies ither users access to
data while the DBMS processes one
user's update to the database

Two-Phase Locking
Two-Phase Locking- approach of
handling locks where the DBMS hold locks
until it completes all the updates in the
transaction.
Growing Phase- fist phase in which the
DBMS locks more rows and releases none of
the locks.
Shrinking Phase- second phase in which the
DBMS releases all the locks and acquires no
new locks.

You might also like