Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What’s difference between “Optimistic” and “Pessimistic” locking
What’s difference between “Optimistic” and “Pessimistic” locking ?
✍: Guest
In pessimistic locking when user wants to update data it locks the record and till then no
one can update data. Other user’s can only view the data when there is pessimistic locking.
In optimistic locking multiple users can open the same record for updating, thus increase
maximum concurrency. Record is only locked when updating the record. This is the most
preferred way of locking practically. Now a days browser based application is very common
and having pessimistic locking is not a practical solution.
2007-10-24, 5362👍, 0💬
Popular Posts:
What is the difference between "printf(...)" and "sprintf(...)"? sprintf(...) writes data to the cha...
How you will enable front-end validation based on the xml in validation.xml? The <html:javascr...
What Is a TD Tag/Element? - XHTML 1.0 Tutorials - Understanding Tables and Table Cells A "td" elemen...
What is ISO? ISO 9000 is a family of standards for quality management systems. ISO 9000 is maintaine...
What print out will the folloging code produce? main() { char *p1=“name”; char *p2; p2=(char*)malloc...