Question

In which situation is optimistic concurrency control with validation likely to perform better than locking with...

In which situation is optimistic concurrency control with validation likely to perform better than locking with 2PL? Why?

Homework Answers

Answer #1

The Optimistics method of concurrency control is based on the assumption that the conflits of the database operations are rare and it is better to let the transactions run to its completion and onle check for before they commit it is also known as validation or certification method. The optimistic method does not require locking or timestamping techniques. Instead a transaction is executed without restriction .

Situation in which concurrency control is better:

1. It is more suitable for enviornment where there are few conflicts and long transactions are low.

2. Suitable for Query database systems that requires very few update transactions

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Q) Between the two concurrency control protocols: 2-phase locking and Time-stamp ordering, which protocol ensures both...
Q) Between the two concurrency control protocols: 2-phase locking and Time-stamp ordering, which protocol ensures both conflict serializability and freedom from deadlock? Give reasons
Between the two concurrency control protocols: 2-phase locking and Time-stamp ordering, which protocol ensures both conflict...
Between the two concurrency control protocols: 2-phase locking and Time-stamp ordering, which protocol ensures both conflict serializability and freedom from deadlock? Give reasons. no hand write plz i need a Unique and simple ans thank u
A classification model’s misclassification rate on the validation data is a better measure of the model’s...
A classification model’s misclassification rate on the validation data is a better measure of the model’s predictive ability on new (unseen) data than its misclassification rate on the training data. Explain whether this statement is accurate and why that is so.
What type of situation using MongoDB is better than relational databases? Why? Provide example to support...
What type of situation using MongoDB is better than relational databases? Why? Provide example to support your opinion.
Does a geogrid-reinforced foundation perform better than a geotextile-reinforced foundation? Explain briefly.
Does a geogrid-reinforced foundation perform better than a geotextile-reinforced foundation? Explain briefly.
Do small-cap stocks perform better than mid-cap stocks and large-cap stocks? Explain.
Do small-cap stocks perform better than mid-cap stocks and large-cap stocks? Explain.
Is control of eukaryotic disease more likely with public health measures than with pharmacology or vaccines?
Is control of eukaryotic disease more likely with public health measures than with pharmacology or vaccines?
How is an oligopoly different than a monopoly? Which is better. Explain why.
How is an oligopoly different than a monopoly? Which is better. Explain why.
The portfolio is likely to do better than the market if stock prices increase, and worse...
The portfolio is likely to do better than the market if stock prices increase, and worse than the market if stock prices decrease. true or false explain If stock prices follow a random walk, future stock prices are easy to predict. (true or false) explain
Which variables are most important to control to achieve either break-even or target profit, why some...
Which variables are most important to control to achieve either break-even or target profit, why some of those variables are easier than others to control and are there any variables that are controlled better if they were outsourced?