Questions from Database Systems


Q: Why might a page-level lock be preferred over a field

Why might a page-level lock be preferred over a field-level lock?

See Answer

Q: What is concurrency control, and what is its objective?

What is concurrency control, and what is its objective?

See Answer

Q: What is an exclusive lock, and under what circumstances is it

What is an exclusive lock, and under what circumstances is it granted?

See Answer

Q: What is a deadlock, and how can it be avoided?

What is a deadlock, and how can it be avoided? Discuss several strategies for dealing with deadlocks.

See Answer

Q: What are some disadvantages of time-stamping methods for concurrency control

What are some disadvantages of time-stamping methods for concurrency control?

See Answer

Q: Why might it take a long time to complete transactions when an

Why might it take a long time to complete transactions when an optimistic approach to concurrency control is used?

See Answer

Q: What are the three types of database critical events that can trigger

What are the three types of database critical events that can trigger the database recovery process? Give some examples for each one.

See Answer

Q: What are the four ANSI transaction isolation levels? What type of

What are the four ANSI transaction isolation levels? What type of reads does each level allow?

See Answer

Q: Write a query to produce the number of invoices and the total

Write a query to produce the number of invoices and the total purchase amounts by customer, using the output shown in Figure P7.35 as your guide. (Compare this summary to the results shown in Problem...

See Answer

Q: What is a consistent database state, and how is it achieved

What is a consistent database state, and how is it achieved?

See Answer