InterviewSolution
| 1. |
What Are The Considerations For Deciding On Transaction Boundaries? |
|
Answer» Transaction processing should always DEAL with more than one statement and a transaction is often described as a Logical Unit of Work ( LUW ). The rationale for transactions is that you want to know definitively that all or none of the LUW completed successfully. Note that this automatically gives you restart capability. Typically, there are two conditions under which you would want to use transactions:
Therefore, determining what completes the transaction or LUW should be the deciding factor for transaction boundaries. Transaction processing should always deal with more than one statement and a transaction is often described as a Logical Unit of Work ( LUW ). The rationale for transactions is that you want to know definitively that all or none of the LUW completed successfully. Note that this automatically gives you restart capability. Typically, there are two conditions under which you would want to use transactions: Therefore, determining what completes the transaction or LUW should be the deciding factor for transaction boundaries. |
|