COMPUTER SUBJECT:BASIC DB CONCEPTS
TYPE:GROUP WORK EXERCISE/DISCUSSION
IDENTIFICATION:DBCHAPTER19/MC
COPYRIGHT: Michael Claudius
LEVEL:EASY
DURATION:1-2 hours
SIZE:2 pages!!
OBJECTIVE:Concurrency control
REQUIREMENTS:Database Systems Ch. 19 or similar
COMMANDS:
IDENTIFICATION: DBChapter19/MC
Chapter 19Assignments in section 19.1
- What isa transaction ?
- Which properties must a transaction fulfil.
- What is the purpose of the transaction manager.
- Congratulations. You have succeeded with the chapter 19.1
Chapter 19Assignments in section 19.2-19.2.3
- What is the problem of requiring a serial transaction schedule ?
- What do we understand by a serializable schedule ?
- There are two basic types of locks. Which ?
- Explain how S- and X-locks are used.
- Congratulations. You have succeeded with the Chapter 19.2-19.2.3
Chapter 19 Assignments in section 19.2.4
- Why and how do deadlocks occur ? Discuss.
- How can deadlocks be solved ?
- Congratulations. You have succeeded with the Chapter 19.2-19.2.3
Chapter 19 Assignments in section 19.2.5-19.2.7
- What is a timestamp TS(T) of a transaction T ?
- What is a write_timestamp(x) of a data item x ?
What is a read_timestamp(x) of a data item x ?
- When can a transaction T obtain a read_lock(x) on the data item x.
- When can a transaction T obtain a write_lock(x) on the data item x.
- Do optimistic techniques use locks ?
- Congratulations. You have succeeded with the Chapter 19.2.5-19.2.7
Chapter 19Assignments in section 19.2.8
- There are different degrees of granularity of data items. Which ?
- What is the impact of fine granularity on concurrency and locking information ?
- Some times it can be advantageous to lock a whole file although we are not updating the whole
file. Explain.
- What is an intension lock ?
- How are intension locks used ?
- Congratulations. You have succeeded with the Chapter 19.3
Chapter 19 Assignments in section 19.2.8
- There are different degrees of granularity of data items. Which ?
- What is the impact of fine granularity on concurrency and locking information ?
Side 1 af 3