From 43aaccaac8540b3ba0db6b34484ddabff9852030 Mon Sep 17 00:00:00 2001 From: cheatsnake <72691412+cheatsnake@users.noreply.github.com> Date: Wed, 14 Dec 2022 21:27:51 +0300 Subject: [PATCH] translated subtopic about ACID --- README_ENG.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/README_ENG.md b/README_ENG.md index 60b1b98..f6828a8 100644 --- a/README_ENG.md +++ b/README_ENG.md @@ -1537,7 +1537,7 @@ Look for a special [awesome repository](https://github.com/sindresorhus/awesome# SETEX key 1000 "value" # consolidation of commands SET and EXPIRE ``` - Transactions - > `MULTI` — start recording commands for the transaction.
> `EXEC` — execute the recorded commands.
> `DISCARD` — delete all recorded commands.
> `WATCH` — command that provides execution only if other clients have not changed the value of the variable. Otherwise EXEC will not execute the written commands. + > `MULTI` — start recording commands for the transaction.
`EXEC` — execute the recorded commands.
`DISCARD` — delete all recorded commands.
`WATCH` — command that provides execution only if other clients have not changed the value of the variable. Otherwise EXEC will not execute the written commands.
🔗 References @@ -1554,10 +1554,25 @@ Look for a special [awesome repository](https://github.com/sindresorhus/awesome# - ### ACID Requirements + [ACID](https://en.wikipedia.org/wiki/ACID) is an acronym consisting of the names of the four main properties that guarantee the reliability of transactions in the database. + + - [Atomicity]() + > Guarantees that the transaction will be executed completely or not executed at all. + - [Consistency]() + > Ensures that each successful transaction captures only valid results (any inconsistencies are excluded). + - [Isolation]() + > Guarantees that one transaction cannot affect the other in any way. + - [Durability]() + > Guarantees that the changes made by the transaction are saved. +
🔗 References -
+1. 📺 [**ACID Transactions (Explained by Example)** – YouTube](https://youtu.be/pomxJOFVcQs) +2. 📺 [**Relational Database Atomicity Explained By Example** – YouTube](https://youtu.be/6vqzOjfZDco) +3. 📺 [**ACID Properties in DBMS With Examples | In-depth Explanation** – YouTube](https://youtu.be/clPPKgYJC10) +4. 📄 [\*_How SQLite Helps You Do ACID_ – QuickRef](https://fly.io/blog/sqlite-internals-rollback-journal/) +
Contents ⬆️