(但其他事务可读取锁定行)。
防止当多个会话在读取、锁定以及随后可能进行的资源更新时发生常见的死锁。
It prevents a common form of deadlock that occurs when multiple sessions are reading, locking, and potentially updating resources later.
我们的第一个主要问题是,当我们想要一行的内容时,我们会扫描整个账单表,并锁定我们读取的每一行。
Our first major problem is that we are scanning the full bills table every time we want a row out of it and locking every row we read.
应用推荐