Skip to content

Commit d1f803f

Browse files
committed
updating read phenomena issues
1 parent 8037e25 commit d1f803f

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1382,6 +1382,7 @@
13821382
| 3 | [Explain in brief the ACID Model?](#explain-in-brief-the-acid-model)
13831383
| 4 | [What are the read phenomena in Isolation?](#what-are-the-read-phenomena-in-isolation)
13841384
| 5 | [What are the four Isolation levels?](#what-are-the-four-isolation-levels)
1385+
| 6 | [Which isolation levels can prevent problems that occur in read phenomena?](#which-isolation-levels-can-prevent-problems-that-occur-in-read-phenomena)
13851386

13861387
1. ### What is ACID Model in Database?
13871388

@@ -1411,3 +1412,22 @@
14111412

14121413
**[ Back to Top ⬆ ](#table-of-contents---database-engineering)**
14131414

1415+
5. ### What are the four Isolation levels?
1416+
* **Read Uncommitted** – Read Uncommitted is the lowest isolation level. In this level, one transaction may read not yet committed changes made by other transaction
1417+
1418+
* **Read Committed** – This isolation level guarantees that any data read is committed at the moment it is read. Thus it does not allows dirty read. The transaction holds a read or write lock on the current row, and thus prevent other transactions from reading, updating or deleting it.
1419+
1420+
* **Repeatable Read** - This is the most restrictive isolation level. The transaction holds read locks on all rows it references and writes locks on all rows it inserts, updates, or deletes. Since other transaction cannot read, update or delete these rows, consequently it avoids non-repeatable read.
1421+
1422+
* **Serializable** - Transactions are serialized , occur one by one
1423+
1424+
**[ Back to Top ⬆ ](#table-of-contents---database-engineering)**
1425+
1426+
6. ### Which isolation levels can prevent problems that occur in read phenomena?
1427+
Refer Image for a comparison
1428+
1429+
![isolation](/img/acid.png)
1430+
1431+
1432+
1433+
**[ Back to Top ⬆ ](#table-of-contents---database-engineering)**

img/acid.png

24.2 KB
Loading

sentence_to_hashing_converter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ function hashing(num=0,str) {
2020
return `| ${num} | [${str}?](#${hashed})`
2121
}
2222

23-
console.log(hashing(5,'What are the four Isolation levels?'));
23+
console.log(hashing(6,'Which isolation levels can prevent problems that occur in read phenomena'));

0 commit comments

Comments
 (0)