Professional Documents
Culture Documents
GROUP members:
. Soumya Singh
. Aku Kohli
. Prachi Singh
. Nancy Vishwas
. Silky Salonia
. Saumya Srivastava
. Sarvesh Ahuja
. Rishabh Sagar
DBMS
■ A database management system (DBMS) is a software package
designed to define, manipulate, retrieve and manage data in a
database
■ It receives instruction from a database administrator (DBA) and
accordingly instructs the system to make the necessary changes.
■ These commands can be to insert, retrieve or modify existing
data from the system
■ It always provides data independence
■ Manages large bodies of information
■ Provide convenient and efficient ways to store
and access information
■ Secure information against system failure.
The most important feature of DBMS is:
DATA RECOVERY
and
ATOMICITY
DATA RECOVERY
ACID stands
for Atomicity, Consistency, Isolation,
and Durability in order to ensure accuracy,
completeness, and data integrity.
■ Atomicity − This property states that a transaction
must be treated as an atomic unit, that is, either all of
its operations are executed or none.
■ Consistency − The database must remain in a
consistent state after any transaction. No transaction
should have any adverse effect on the data residing in
the database.
■ Durability − The database should be durable enough
to hold all its latest updates even if the system fails or
restarts. The database will hold the modified data.
■ Isolation − In a database system where more than one
transaction are being executed simultaneously and in
parallel, the property of isolation states that all the
transactions will be carried out .
■ When a DBMS recovers from a crash, it should
maintain the following −
• It should check the states of all the transactions, which were
being executed.
• A transaction may be in the middle of some operation; the
DBMS must ensure the atomicity of the transaction in this
case.
• It should check whether the transaction can be completed
now or it needs to be rolled back.
• No transactions would be allowed to leave the DBMS in an
inconsistent state
■ There are two types of techniques, which can help
a DBMS in recovering as well as maintaining the
atomicity of a transaction −