-
-
-
-
-
What is an asynchronous write?
. It is a write to disk that may occur before or long after a commit. The write is controlled by the buffer manager.
-
What is a lock?
A lock is the mechanism that controls access to data pages and tablespaces.
-
What is deadlock?
Deadlock occurs when transactions executing at the same time lock each other out of data that they need to complete their logical units of work. What are the four lockable units for DB2?
-
What is a NULL value? What are the pros and cons of using NULLS?
A NULL value takes up one byte of storage and indicates that a value is not present as opposed to a space or zero value. It's the DB2 equivalent of TBD on an organizational chart and often correctly portrays a business situation. Unfortunately, it requires extra coding for an application program to handle this situation.
-
What is a view? Why use it?
A view is a virtual table made up of data from base tables and other views, but not stored separately.
-
What is tablespace?
Tables are stored in tablespaces (hence the name)! There are three types of tablespaces: simple, segmented and partitioned.
-
-
-
-
-
-
-
-
-
-
DB2 Interview Questions
Ans