A data intensive application

You are developing a data intensive application such that the integrity of the database is maintained. In order to achieve this, you follow the “All or Nothing” rule when updating the database.

What is the correct sequence of activities that needs to be followed when programming this application?

Options

  • Lock Data > Release Lock > Change Data > Read Data
  • Read Data > Lock Data > Change Data > Release Lock.
  • Lock Data > Read Data > Change Data > Release Lock.
  • Change Data > Lock Data > Read Data > Release Lock.

Related Posts

Close Bitnami banner
Bitnami