So we have not discussed how DP4 behaves when two programs attempt to update the same record at the same time, or how to prevent this situation from arising.
Database systems can take three approaches to contention:
DP4 supports all three approaches to contention some extent. The preferred approach is usually the third. DP4 was one of the first databases to use optimistic concurrency control. You can find out more about each approach to contention control on the following pages: