Skip to content

Instantly share code, notes, and snippets.

View Robert076's full-sized avatar
🚀

Robert Beres Robert076

🚀
View GitHub Profile
@Robert076
Robert076 / notes.md
Last active June 4, 2025 04:36
DBMS tips/notes for the exam

My personal notes regarding the upcoming DBMS exam

Hope this helps.


⚙️ Two-Phase locking protocol

This basically means that the transaction acquires as many locks as it needs, and releases them at the end. It will not acquire new locks after it releases the first one.

It contains two phases: "Growing phase" and "Shrinking phase". In the growing phase it acquires locks and releases them in the shrinking phase.