Question

    Which of the following concurrency control techniques

    allows multiple transactions to read data simultaneously but ensures that only one transaction can write to the data at a time?
    A Two-phase locking Correct Answer Incorrect Answer
    B Timestamp ordering Correct Answer Incorrect Answer
    C Optimistic concurrency control Correct Answer Incorrect Answer
    D Read-Write locking Correct Answer Incorrect Answer
    E None of these Correct Answer Incorrect Answer

    Solution

    Read-Write locking allows multiple transactions to read data simultaneously but ensures that only one transaction can write to the data at a time.  

    Practice Next