From ae3ecf6dec533324ac74eeb2785d25e14efccfe1 Mon Sep 17 00:00:00 2001 From: CyC2018 <1029579233@qq.com> Date: Sun, 18 Mar 2018 10:36:01 +0800 Subject: [PATCH] auto commit --- notes/数据库系统原理.md | 18 ++++++++++-------- pics/fd945daf-4a6c-4f20-b9c2-5390f5955ce5.jpg | Bin 0 -> 30720 bytes 2 files changed, 10 insertions(+), 8 deletions(-) create mode 100644 pics/fd945daf-4a6c-4f20-b9c2-5390f5955ce5.jpg diff --git a/notes/数据库系统原理.md b/notes/数据库系统原理.md index 3cf23347..95c2b2d2 100644 --- a/notes/数据库系统原理.md +++ b/notes/数据库系统原理.md @@ -1,9 +1,9 @@ * [一、事务四大特性](#一事务四大特性) - * [原子性](#原子性) - * [一致性](#一致性) - * [隔离性](#隔离性) - * [持久性](#持久性) + * [原子性(Atomicity)](#原子性atomicity) + * [一致性(Consistency)](#一致性consistency) + * [隔离性(Isolation)](#隔离性isolation) + * [持久性(Durability)](#持久性durability) * [二、数据不一致](#二数据不一致) * [丢失修改](#丢失修改) * [读脏数据](#读脏数据) @@ -54,19 +54,21 @@ # 一、事务四大特性 -## 原子性 +
}$BJk_?B2@~ zg*kPlD%>+L`g{YnEuBEig?N;h2)?a67npC{w%Es!7ckP;gnj^y1eu6+wMNW%wF4=7 zig%uSUnnaRGmiFq{ Pkd|H0UA_oxKMWw*ArIFG-uMFy-=8>SGRBM+J-T^m|Pn#I`gAZj7no4${*$ z`^xyqpde$q*N0B2zHpVZ#UL;f7gAsa)VORvJ(c1{yb)w Ndk}GDOA>#v7k j9tMIlKyJmq=_!qFs@&W}S>Z=>W zWS^RYGXfQ@CNpASFgwf3`Q~}x_0pTBFRPG!_8b)RB>&lNsmu!I#9R8@;Dg?59fISg z5MhqMYM3+Piq{B?4#DO)75bp5M;MZ1tIrBy?8{zY{S^~W$NWc0j-V=irPdXJ*<$0S z7^UiF!m*jB43w_xpJ67Dfib~&1&hfTJ4tQG;cv3yJIVRy2JVX>w$MxA7^g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