Acid DBMS
Acid DBMS
Atomicity Isolation
ACID
Consistency Durability
Omkar Helps T2/T3 college aspirants
to crack FMANG companies
Atomicity
This means that when we talk about a transaction, it's like flipping a
switch – either everything happens as planned or nothing happens
at all. There's no in-between where only part of the transaction goes
through.
We call this the "All or nothing rule" because it's either all of the
transaction or none of it – no halfway.
Omkar Helps T2/T3 college aspirants
to crack FMANG companies
Consistency
This means that the rules ensuring the database stays correct need
to be followed both before and after a transaction. It's all about
keeping the database accurate and reliable.
Omkar Helps T2/T3 college aspirants
to crack FMANG companies
Isolation
This property makes sure that many transactions can happen at the
same time without messing up the database. Each transaction can
do its thing without bothering the others. Changes made in one
transaction won't show up for other transactions until they're saved
or finished. This way, even if transactions are all happening at once,
the final result is the same as if they happened one after the other
in a specific order.
Omkar Helps T2/T3 college aspirants
to crack FMANG companies
Durability
This property guarantees that once a transaction finishes, any
changes it made to the database are safely stored on the
computer's hard drive. Even if the system crashes or shuts down
unexpectedly, these changes stick around. They're saved in a way
that they won't disappear, ensuring that the transaction's effects
are always there and won't vanish.