Showing posts with label DB2 Interview Questions And Answers. Show all posts
Showing posts with label DB2 Interview Questions And Answers. Show all posts

What is the function of buffer manager?

The buffer manager is the DB2 component responsible for physically transferring data between an external medium and (virtual) storage (performs the actual I/O operations). It minimizes the amount of physical I/O actually performed with sophisticated buffering techniques(i.e., read-ahead buffering and look-aside buffering).




What is a base table?

A base table is a real table - a table that physically exists in that there are physical stored records.



What is meant by AUTO COMMIT?

AUTO COMMIT is a SPUFI option that commits the effects of SQL statements automatically if they are successfully executed.




What is meant by the attachment facility?

The attachment facility is an interface between DB2 and TSO, IMS/VS, CICS, or batch address spaces. It allows application programs to access DB2.


What information is used as input to the bind process?

The database request module produced during the pre-compile. The SYSIBM.SYSSTMT table of the DB2 catalog.



What is a DB2 bind?

Bind is a process that builds “access paths” to DB2 tables. A bind uses the Database Request Modules(s) (DBRM(s)) from the DB2 pre-compile step as input and produces an application plan.
It also checks the user’s authority and validates the SQL statements in the DBRM(s).



Explain what a plan is?

Plan is a DB2 object (produced during the bind process) that associates one or more database request modules with a plan name.



What is an alias?

It is an alternate name that can be used in SQL statements to refer to a table or view in the same or remote DB2 subsystem.


What is an access path?

The path that is used to get to data specified in SQL statements.


What is DB2 (IBM Database 2)?

DB2 is a subsystem of the MVS operating system. It is a Database Management System (DBMS) for that operating system.