explain the difference between optimistic locking


Explain the difference between optimistic locking and pessimistic locking.

Optimistic locking supposes no transaction conflict will occur and deals with the consequences if it does. Pessimistic locking supposes that conflict will occur and so stops it ahead of time with locks. In general, optimistic locking is preferred for the Internet and for many intranet applications.

 

Request for Solution File

Ask an Expert for Answer!!
Database Management System: explain the difference between optimistic locking
Reference No:- TGS0311408

Expected delivery within 24 Hours