auto commit
|
@ -47,7 +47,7 @@
|
|||
|
||||
事务指的是满足 ACID 特性的一组操作,可以通过 Commit 提交一个事务,也可以使用 Rollback 进行回滚。
|
||||
|
||||
<div align="center"> <img src="https://cs-notes-1256109796.cos.ap-guangzhou.myqcloud.com/f74144be-857a-40cd-8ec7-87626ef4e20b.png" width="450px"> </div><br>
|
||||
<div align="center"> <img src="https://cs-notes-1256109796.cos.ap-guangzhou.myqcloud.com/image-20191207174600729.png"/> </div><br>
|
||||
|
||||
## ACID
|
||||
|
||||
|
@ -80,7 +80,7 @@
|
|||
- 在并发的情况下,多个事务并行执行,事务不仅要满足原子性,还需要满足隔离性,才能满足一致性。
|
||||
- 事务满足持久化是为了能应对数据库崩溃的情况。
|
||||
|
||||
<div align="center"> <img src="https://cs-notes-1256109796.cos.ap-guangzhou.myqcloud.com/417bc315-4409-48c6-83e0-59e8d405429e.jpg" width="500px"> </div><br>
|
||||
<div align="center"> <img src="https://cs-notes-1256109796.cos.ap-guangzhou.myqcloud.com/image-20191207173012642.png"/> </div><br>
|
||||
|
||||
## AUTOCOMMIT
|
||||
|
||||
|
|
BIN
notes/pics/image-20191207165524880.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
notes/pics/image-20191207170731112.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
notes/pics/image-20191207171141210.png
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
notes/pics/image-20191207171449820.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
notes/pics/image-20191207171510150.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
notes/pics/image-20191207171512045.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
notes/pics/image-20191207171554083.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
notes/pics/image-20191207171734324.png
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
notes/pics/image-20191207173012642.png
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
notes/pics/image-20191207174600729.png
Normal file
After Width: | Height: | Size: 48 KiB |
|
@ -47,7 +47,7 @@
|
|||
|
||||
事务指的是满足 ACID 特性的一组操作,可以通过 Commit 提交一个事务,也可以使用 Rollback 进行回滚。
|
||||
|
||||
<div align="center"> <img src="https://cs-notes-1256109796.cos.ap-guangzhou.myqcloud.com/f74144be-857a-40cd-8ec7-87626ef4e20b.png" width="450px"> </div><br>
|
||||
<div align="center"> <img src="https://cs-notes-1256109796.cos.ap-guangzhou.myqcloud.com/image-20191207174600729.png"/> </div><br>
|
||||
|
||||
## ACID
|
||||
|
||||
|
@ -80,7 +80,7 @@
|
|||
- 在并发的情况下,多个事务并行执行,事务不仅要满足原子性,还需要满足隔离性,才能满足一致性。
|
||||
- 事务满足持久化是为了能应对数据库崩溃的情况。
|
||||
|
||||
<div align="center"> <img src="https://cs-notes-1256109796.cos.ap-guangzhou.myqcloud.com/417bc315-4409-48c6-83e0-59e8d405429e.jpg" width="500px"> </div><br>
|
||||
<div align="center"> <img src="https://cs-notes-1256109796.cos.ap-guangzhou.myqcloud.com/image-20191207173012642.png"/> </div><br>
|
||||
|
||||
## AUTOCOMMIT
|
||||
|
||||
|
|