Slide 2
Slide 2 text
Transactions
– Transactions are a group of SQL commands
– These commands will be group together as an operation
– Transactions are supposed to be ACID, but what does that mean?
●
ACID: Atomicity, Consistency, Isolation, Durability
●
ATOMICITY
– All or nothing
– All of the operations must be succeed or all fails. In other word if one command fails other will fail too
●
CONSYSTENCY
– Means that any transaction should take the system from one consistency o another
– In other words, only valid changes to the data will take a place
●
ISOLATION
– Any pear of transactions should not be effecting the same row at once
●
DURABILITY
– Once the transaction is committed, its result will not be lost forever
Rapid POSTGRESQL learning. 2