×

Top 25 DB2 Interview question for 2024

1) Give breif detail about DB2?

DB2 is a Relational Database Management System developed by IBM. It supports Object Oriented features and non-relational structures with XML.

2) Enlist the types of datatypes available in DB2?

  • Integer
  • Float
  • Decimal
  • Char
  • Varchar
  • Date
  • Time

3) What is Instance in DB2?

Instance is a logical Environment of DB2 Database Manager. It helps in managing database also, we can create multiple instance on one physical machine.

4) Enlist the content of instance directory.

  • Database Manager Configuration file
  • System Database Directory
  • Node Directory
  • Node Configuration File
  • Debugging files, dump files

5) What is Bufferpool?

The Database Manager allocates some memory on the main memory space known as Bufferpool. It is designed to cache table and index data from disk.

6) Enlist the types of bufferpool.

  • BP0
  • BP1
  • BP2
  • BP32

7) What are "Dirty Pages"?

Pages in the bufferpool which are updated with data but not written onto the disk those pages are known as Dirty Pages.

8) What is tables in DB2 and give its types?

Tables is a logical structure maintain by database manager. It consist of Tuple which is column and Entity which is row. Types of tables are:
  • Basic Tables
  • Temporary Tables
  • Materialized Query Tables

9) Describe DB2 constraint?

DB2 constraint is a set of rules which maintains database integrity. Here, are some types of constraint:
  • NOT NULL
  • Primary Key
  • Foreign Key
  • Unique Key etc.

10) What is the picture clause of Null indicator variable?

Picture clause of Null indicator variable is S9(4)COMP.

11) Define DCLGEN in DB2.

DCLGEN stands for Declaration Generator which describes a table or view for SQL statements.

12) What is the use of DB2 optimizer.

  • It is used to process SQL Statements.
  • To select the access path we uses DB2 optimizer.

13) What is SQLCA and its maximum length.

SQLCA (SQL Communication Area) is a structure of variable which is updated after each execution of SQL statements. Its maximum length is 136.

14) Explain DBRM in DB2.

DBRM stands for Database Request Model which is created by the pre-compiler of DB2. It consist of SQL source statements which is taken from application program.

15) Describe RCT.

RCT (Resource Control Table) which is defined in DB2/CICS region. It consist of the features which is gathered from macros of DSNCRCT.

16) What is DB2 bind?

The process that builds access paths to the DB2 table is known as bind. The bind uses Database Request Modules from the DB2 pre-compile step as input and produces an application plan.

17) Enlist types of page locks.

There are 3 types of page locks as enlisted below:
  • Exclusive
  • Update
  • Share

18) Define Predicate.

Predicate is the element of a search condition. Predicate is used to express or implies a search condition.

19) Explain Buffer Manager.

Buffer Manager helps in transferring data between virtual as well as external medium. The buffer manager reduces the quantity of physical input as well as output operations that are actually performed by making use of buffering techniques that are highly sophisticated.

20) What is cursor stability?

Cursor stability is the property that values of database that are read by making use of this application gets protected while the data is used.

21) What is RELEASE/ACQUIRE in BIND?

RELEASE in bind is used when we have to change the locks condition of the database for user. RELEASE helps in page locks to be free from cache memory.

22) What are different locking levels?

  • Table
  • Page
  • TableSpace

23) Explain component of DCLGEN.

There are two components of DCLGEN are:
  • A copy book of the host language, which will give alternative definitions for all the column names.
  • In terms of the data-types of DB2, EXEC SQL DECLARE TABLE shows an aesthetic layout of the table.

24) Explain SYSIBM.SYSLINKS table?

It is a table that contains information on the links that exists between the tables created through referential constraints.

25)What are the Isolation levels possible

  • CS: Cursor Stability
  • RR: Repeatable Read

Related Topics

Top 15 CherryPy Interview Questions for 2024

1) What is CherryPy? CherryPy is a web framework used for Python. It provides a friendly interface for Http protocol for Python developer. 2) Why we use CherryPy? CherryPy has following strength: Simplicity: It...

3 minutes read.

Top 30 Zend Framework Interview Questions for 2024

1) What is Zend Framework? Zend is an open source, object-oriented web application framework. It is implemented in PHP 5. It was developed in 3 March 2006. 2) What is the use...

6 minutes read.

Top 10 GWT Interview Questions for 2024

1) What is Google Web Toolkit (GWT)? GWT (Google Web Toolkit) is a development toolkit. It is used to develop Ajax web applications using Java. GWT compiler translates Java sour ce...

2 minutes read.

Top 22 MariaDB Interview Question for 2024

1) What is MariaDB? It is a community based database devoloped by MySQL Devolopers. It provides same features as MySQL also, can be said that it is a replacement of MySQL. 2)...

3 minutes read.

Top 30 TypeScript Interview Questions for 2024

1) What is TypeScript? TypeScript is an object-oriented and compiled language. TypeScript is also known as a set of tools. TypeScript is used for application-scale development. 2) What are the features of TypeScript? Features of...

4 minutes read.

WebSockets Interview Questions

1) What is Web Sockets? Web Sockets is a two way communication between the clients and the servers. Here, the clients and servers both the parties can communicate and exchange data...

3 minutes read.

Top 14 Elixir Interview Questions for 2024

1) What is Elixir? Elixir is a dynamic, functional language. It is designed to build scalable and maintainable applications. 2) Who developed Elixir? Ericsson developed elixir in 1986. 3) What is the stable version of...

2 minutes read.

Top 30 TurboGears Framework Interview Questions for 2024

1) What is TurboGears Framework? TurboGears is a Python Framework. It is used to create rapid web application. It consists of several WSGI (Web Server Gateway Interface) components. It is developed...

5 minutes read.

Top 30 Swift Interview Questions for 2024

1) What is Swift? It is an innovative programming language developed by Apple Inc. It is used for creating applications for iOS and OS X. 2) What are the features of Swift Programming? Features...

4 minutes read.

Top 30 AngularJS Interview Questions and Answers for 2024

Most Frequently asked AngularJS Interview Questions and Answers for Fresher 1) Describe Angular JS ? It is a powerful framework of JavaScript. AngularJS is used to design Rich Internet Application. This framework...

5 minutes read.

SSIS Interview Questions and Answers

Q.1 What is SSIS? SQL Server Integration Service (SSIS) is a component of Microsoft SQL Server. It is a powerful ETL tool that is used for building enterprise-level data transformation and...

5 minutes read.

Top 31 PHP Interview Questions for 2024

1) What is PHP? PHP is a object-oriented scripting language, open source, interpreted and executed at server side. It is also used to develop web applications. 2) What are the features of PHP? Features...

4 minutes read.

Ember.js Interview questions

1) What is Ember.js? Ember.js is a JavaScript front-end Framework. It provides developer both features for managing complexity in modern web-apps as well as integrated development kit. 2) Why choose Ember.js? Logical...

2 minutes read.

Top 10 WCF Interview Questions for 2024

  1. What is WCF? Windows Communication Foundation (WCF), earlier known by the name Indigo, is a run-time platform and a set of APIs in the .NET Framework for building, configuring, and...

7 minutes read.

Top 14 XSL Interview Questions for 2024

1) What is XSL? XSL stands for Extensible Stylesheet Language. It is used for expressing stylesheets like CSS which describes how to display an XML of given type. 2) What is XSLT? XSLT...

4 minutes read.

Top 27 JavaScript Interview Questions for 2024

1) Define Undeclared and Undefined Variables? Undeclared variable are defined as these variable is neither defined nor exist in the program. If program calls this variable then it causes Runtime error. Undefined variable...

5 minutes read.

Top 15 PouchDB Interview Questions for 2024

1) What is PouchDB? PouchDB is an in-browser database that allows applications to save data. It is an open source database. It runs in Node.js. 2) In which language PouchDB was written? PouchDB was written in JavaScript language. 3)...

2 minutes read.

Top 25 R programming Language Interview Questions for 2024

1) What is R programming language? R is an open source programming language. It is software environment for statistical computing and graphics. It compiles and runs on a wide variety of...

4 minutes read.

SSRS Interview Questions

1. What is SSRS? The Microsoft SQL Server Reporting Service (SSRS) is a server-based reporting platform. It allows you to produce structured reports. The reports are generally represented in the form of data, graph,...

5 minutes read.

Top 31 CakePHP Interview Questions for 2024

1) What is CakePHP? CakePHP is an open-source PHP framework. It is used to develop dynamic web applications. It helps to developers to work in a structured manner. 2) When cakePHP was...

5 minutes read.