Transactions
Menu mySQL Transactional Operations
 

mySQL Transactional Operations

In my experiennces using relational databases the concept of the "transaction" was key. The ability to "Lock" a table and then "Commit" the changes when the tranaction correctly completed was an important concept. If the proces in the "Update" failed then the transaction can be "rolled back" to the original state.

Lock

The concept of a "lock" is largely transparent to the user of most systems but it is a key feature to ensure that data integrity is maintained.

Commit

When all updates have been made to a database, all data is validated, the changes can finally be commited and the locks on the tables released.

Links

Top

References: - a note on these

  • MySQL Transaction - https:// www.mysqltutorial.org/ mysql-transaction.aspx/
  • Table Locking - https:// www.mysqltutorial.org/ mysql-table-locking/
  • Locking Reads - https:// dev.mysql.com/doc/refman/5.7/en/ innodb-locking-reads.html
  • Commit - https:// dev.mysql.com/doc/refman/5.7/en/ commit.html

Site design by Tempusfugit Web Design -