美文网首页
MySQL脏读

MySQL脏读

作者: 牛奶言兼 | 来源:发表于2022-06-21 19:37 被阅读0次

dirty read

An operation that retrieves unreliable data, data that was updated by another transaction but not yet committed. It is only possible with the isolation level known as read uncommitted.

This kind of operation does not adhere to the ACID principle of database design. It is considered very risky, because the data could be rolled back, or updated further before being committed; then, the transaction doing the dirty read would be using data that was never confirmed as accurate.

Its opposite is consistent read, where InnoDB ensures that a transaction does not read information updated by another transaction, even if the other transaction commits in the meantime.

See Also ACID, commit, consistent read, isolation level, READ UNCOMMITTED, rollback.

相关文章

  • 事务隔离级别

    Mysql锁(七)丢失更新,脏读,不可重复读,幻读 ****这些问题的出现的原因**** 之所以出现更新丢失,脏读...

  • mysql 分区 + 脏读

    ALTER TABLE user_2 PARTITION BY RANGE (YEAR(createTime)) ...

  • mysql知识点总结

    mysql事务 什么是事务 事务的四大特性 事务的隔离级别 脏读,不可重复读,幻读分别是什么 隔离级别脏读不可重复...

  • mysql事务隔离级别与spring事务隔离级别的区别

    mysql事务隔离级别与spring事务隔离级别的区别: 脏读:为什么会出现脏读,因为你对数据库的任何修改都会是...

  • mysql基础概念

    MySQL 1 数据库事务的特性(ACID) 2 脏读 幻读 不可重复读 3 事物隔离级别 4 ...

  • 3.mysql事务特性(脏读,可重复读,幻读)

    3.mysql事务 事务sql相关语法 1) 特性ACID 隔离性 1.未提交读(脏读) read uncommi...

  • spring事务整理

    隔离级别 1、默认使用数据库的(mysql:可重复读,oracle:已提交读) 2、未提交读 会出现脏读、幻读、不...

  • MySQL的事务的隔离级别

    基于MySQL8 1、并发事务带来的问题 脏读(Dirty read) 丢失修改(Lost to modify) ...

  • MySQL相关(一)——— 事务和锁

    事务的隔离级别和锁机制 【1】InnoDB 事务隔离级别和锁 【2】脏读、不可重复读、幻读 mysql 相关 常用...

  • MySQL事务隔离级别

    [toc] 前言 这篇文章将会总结MySQL中的innodb的事务隔离级别,以及幻读、脏读、不可重复读。 事务隔离...

网友评论

      本文标题:MySQL脏读

      本文链接:https://www.haomeiwen.com/subject/rxvuvrtx.html