When a table holds a Z lock, no concurrent application can read or update data in that table.
当表持有z锁时,任何并发应用程序都不能读取和更新该表中的数据。
When a table holds an IX lock, the lock owner and concurrent applications can read and update data in that table.
当表持有IX锁时,锁拥有者和并发应用程序可以读和更新该表中的数据。
The data protected by these locks is needed constantly by many threads, and you can expect that when you go to acquire this lock, you may have to wait until someone else is done with it.
不断地会有许多线程需要这些锁保护的数据,所以可以想象,当要取得这个锁的时候,可能不得不等候其他人用完它。
Since pessimistic session locks can be removed as described above, the application that obtained the lock should always check to see if it is still in force before updating data.
如上所述,由于可以删除悲观会话锁,因此获得锁的应用程序始终需要在更新数据之前检测锁是否有效。
However, unexpected reboots and system lock-ups can result in significant corruption of recently-modified data.
然而,意外的重新引导和系统锁定可能会导致最近修改数据的明显毁坏。
You can lock the phone remotely, switch on an alarm or delete data by simply sending a text message with a predefined keyword.
你可以锁定手机,远程开关报警或删除数据,只需发送短信与一个预定义的关键字。
When you use a recordset to update a record on the data source, your application can lock the record so no other user can update the record at the same time.
当您使用资料录集来更新资料来源上的资料录时,您的应用程序可锁定资料录,因此没有其他使用者可以在同时间内更新该资料录。
When you use a recordset to update a record on the data source, your application can lock the record so no other user can update the record at the same time.
当您使用资料录集来更新资料来源上的资料录时,您的应用程序可锁定资料录,因此没有其他使用者可以在同时间内更新该资料录。
应用推荐