Prevents others from reading or updating the data. Shared lock can be placed on objects that do not have an exclusive lock already placed on them.Įxclusive lock can only be placed on objects that do not have any other kind of lock. Lock mode is read as well as write operation. lock for read and write operations) is hold on the data item in some transaction then no other transaction can acquire Shared or Exclusive lock as the compatibility function denoted FALSE.ĭifference between Shared Lock and Exclusive Lock : S.No. In simple words if transaction T1 is reading a data item A, then same data item A can be read by another transaction T2 but cannot be written by another transaction.
0 Comments
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |