![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a distributed application with a central database. Fred uses the application to modify Employee Bob. Bob's records are read from the database, and Fred eventually makes the modification. Jim uses the application to modify Employee Bob. Just after Bob's records are read by Fred, they are read by Jim. The data that is read is required to make the correct decision regarding the edit. If the table is locked on the initial read, then another user may be waiting some time. If the table is locked on the update, then the data will need to be re-read and locked before the update. What is the usual approach? I'm new to concurrent updates. |
#3
| |||
| |||
|
|
I have a distributed application with a central database. Fred uses the application to modify Employee Bob. Bob's records are read from the database, and Fred eventually makes the modification. Jim uses the application to modify Employee Bob. Just after Bob's records are read by Fred, they are read by Jim. The data that is read is required to make the correct decision regarding the edit. If the table is locked on the initial read, then another user may be waiting some time. If the table is locked on the update, then the data will need to be re-read and locked before the update. What is the usual approach? I'm new to concurrent updates. |
![]() |
| Thread Tools | |
| Display Modes | |
| |