Explained in 15 mins, all of them. Begin When talking about database transactions, I often see developers(including myself) confused with the below locks: S(shared) lock, X(exclusive) lock Pessimistic lock, Optimistic lock table lock, row lock, page lock, record lock, gap lock, next-key lock And these Isolation levels: Read uncommitted, Read Committed…