File tree Expand file tree Collapse file tree 5 files changed +34
-3
lines changed
Expand file tree Collapse file tree 5 files changed +34
-3
lines changed Original file line number Diff line number Diff line change @@ -159,6 +159,10 @@ export const sidebar = [
159159 {
160160 "text" : "Databases" ,
161161 "items" : [
162+ {
163+ "text" : "ACID" ,
164+ "link" : "/databases/acid"
165+ } ,
162166 {
163167 "text" : "CHECK constraint v/s EXCLUSION constraint" ,
164168 "link" : "/databases/check-constraint-vs-exclusion-constraint"
Original file line number Diff line number Diff line change 3737<td ><a href =" #data-warehouse " >Data Warehouse</a ><sup >[1]</sup ></td >
3838</tr >
3939<tr >
40- <td ><a href =" #databases " >Databases</a ><sup >[13 ]</sup ></td >
40+ <td ><a href =" #databases " >Databases</a ><sup >[14 ]</sup ></td >
4141<td ><a href =" #devops " >Devops</a ><sup >[8]</sup ></td >
4242<td ><a href =" #distributed-computing " >Distributed Computing</a ><sup >[3]</sup ></td >
4343</tr >
182182### Databases
183183
184184<ul >
185+ <li ><a target =" _blank " href =" https://github.com/Bhupesh-V/til/blob/master/databases/acid.md " >ACID</a ></li >
185186<li ><a target =" _blank " href =" https://github.com/Bhupesh-V/til/blob/master/databases/check-constraint-vs-exclusion-constraint.md " >CHECK constraint v/s EXCLUSION constraint</a ></li >
186187<li ><a target =" _blank " href =" https://github.com/Bhupesh-V/til/blob/master/databases/clustered-non-clustered-indexes.md " >Clustered & Non-clustered Indexes</a ></li >
187188<li ><a target =" _blank " href =" https://github.com/Bhupesh-V/til/blob/master/databases/database-sharding.md " >Collected notes on Database Sharding 🗃</a ></li >
Original file line number Diff line number Diff line change 11{
2- "count" : 182
2+ "count" : 183
33}
Original file line number Diff line number Diff line change 1+ # ACID
2+
3+ ## Atomicity
4+
5+ - If operations, when grouped together in "atomic" transactions fail to be comitted due to a fault, then the transaction is aborted.
6+ - _ Abortability_ could have been a better term
7+
8+ ## Consistency
9+
10+ - Defines the the database is in a "good state" which is highly subjective because you can violate data rules
11+ - Not a property of a database.
12+ - The application may rely on database's atomicity & isolation properties to achieve consistency (?)
13+
14+ ## Isolation
15+
16+ - Concurrently running transactions are isolated from each other.
17+
18+ ## Durability
19+
20+ - Promise that once a transaction has comitted successfully, any data it has written will not be forgotten, even if there's a hardware failure.
21+ - Single node = write to disk
22+ - Distributed = replicate
23+
24+
25+ Reference: DDIA
Original file line number Diff line number Diff line change 2424<td ><a href =" #data-warehouse " >Data Warehouse</a ><sup >[1]</sup ></td >
2525</tr >
2626<tr >
27- <td ><a href =" #databases " >Databases</a ><sup >[13 ]</sup ></td >
27+ <td ><a href =" #databases " >Databases</a ><sup >[14 ]</sup ></td >
2828<td ><a href =" #devops " >Devops</a ><sup >[8]</sup ></td >
2929<td ><a href =" #distributed-computing " >Distributed Computing</a ><sup >[3]</sup ></td >
3030</tr >
207207### Databases
208208
209209<ul >
210+ <li ><a href =" /databases/acid " >ACID</a ></li >
210211<li ><a href =" /databases/check-constraint-vs-exclusion-constraint " >CHECK constraint v/s EXCLUSION constraint</a ></li >
211212<li ><a href =" /databases/clustered-non-clustered-indexes " >Clustered & Non-clustered Indexes</a ></li >
212213<li ><a href =" /databases/database-sharding " >Collected notes on Database Sharding 🗃</a ></li >
You can’t perform that action at this time.
0 commit comments