×

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 30 Web Service Interview Questions for 2024

1) What is a Web Service? Web service is a client server application or component. It is used for communication. It is way to communicate between two devices over network. In another word...

5 minutes read.

Top 15 Data structure & Algorithm Interview Questions for 2024

1) What is Data Structure? Data structure is a way of storing, collecting and organizing data into the main memory. It makes data access more efficient and increase performance. Array, List, Queue...

3 minutes read.

Top 20 HTTP Interview Questions for 2024

1) What is HTTP? HTTP stands for Hypertext Transfer Protocol. It is a set of rules for transferring of data on WWW (World Wide Web). 2) What are the basic Features of...

4 minutes read.

Top 15 Pure CSS Interview Questions for 2024

1) What is Pure CSS? Pure is a CSS (Cascading Style Sheet) framework. It is a collection of small set of responsive CSS modules. We can integrate it to any web...

5 minutes read.

Top 25 jQuery Interview Questions for 2024

Most Frequently asked jQuery Interview Questions and Answers for Fresher and Experienced 1) Define Find and Children Method? In DOM tree if you have to find all the method we use Find...

4 minutes read.

Top 15 iOS (iPhone, iPad) Interview Questions for 2024

Top 20 Most Frequently asked iOS Interview Questions and Answers 1) What is iOS? iOS is a mobile operating system developed by Apple Inc. iOS offers iPhone and iPad application development using...

3 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 50 HTML Interview Questions for 2024

1) What is HTML? HTML stands for Hyper Text Markup Language. It is used for creating web pages and web applications. HTML documents are made up of two things: the content and the tags. 2) What are...

10 minutes read.

Top 16 Yii PHP Framework Interview Questions for 2024

1) What is Yii Framework? Yii is an open source, web application framework based on MVC. It is written in PHP and used to design PHP applications. This application was started...

4 minutes read.

Top 43 React Native Interview Questions for 2024

1. What is React Native? React native is an open-source JavaScript framework designed by Facebook for native mobile applications development. It is based on a JavaScript library-React. React Native saves your development...

11 minutes read.

Top 31 Koa Interview Questions for 2024

1) What is Koa? Koa is a very small framework which provides us a minimal interface to build our applications. It is quite flexible and there are numerous modules available on...

4 minutes read.

Top 15 Framework7 Interview Questions for 2024

1) What is Framework7? Framework7 is an open source mobile HTML framework. It is used todevelop hybrid mobile apps for iOS and Android devices. 2) Why, framework7 is popular? There are various reasons...

8 minutes read.

Top 25 Oracle DBA Interview Question for 2024

1) What is an Oracle Instance? Database instance is a set of memory structures that manages database file. When an instance is started Oracle database allocate memory area called SGA (System...

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.

Polymer.js Interview Questions

1) What is Polymer.js? Polymer.js is an open source JavaScript library. It is developed by Google. It is used to develop web applications for using of web components like HTML. 2) Describe...

3 minutes read.

Top 14 Materialize CSS Framework Interview Questions for 2024

1) What is Materialize? Materialize is a CSS framework that contains library file. It is created with CSS, JavaScript and HTML. It helps to create attractive, reliable and functional web pages...

7 minutes read.

Top 30 Web2py Framework Interview Questions for 2024

1) What is Web2py Framework? Web2py is an open source web application framework. It is written in the Python programming language. It allows web developers to design and develop dynamic web...

7 minutes read.

Top 15 RESTful Web Services Interview Question for 2024

1) What is REST? REST is web standards based architecture and stands for REpresentational State Transfer. It uses HTTP Protocol for data communication. Here, everything is a resource. 2) What are the HTTP methods used...

2 minutes read.

Top 15 Apache Tapestry Interview Questions for 2024

1) What is Apache Tapestry? It is an open source web framework written in Java and can work under any application server. It is easily integrate with back ends like Hibernate...

2 minutes read.

Top 30 Ruby on Rails Interview Questions for 2024

1) What is Ruby on Rails? It is a server-side web application framework. It is an open source ruby framework which is used for developing database-backed web applications. Here, no compilation phase is...

4 minutes read.