×

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 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 15 NodeJS Interview Questions for 2024

1) What is NodeJs? NodeJs is open source JavaScript based feamework used to develop I/O intensive web application. It is collections of JavaScript library and runtime environment. It is used to...

3 minutes read.

Top 25 PL/SQL Interview question for 2024

1) What is PL/SQL? It is defined as SQL having Procedural features of Programming Language i.e. Procedural Language extension of SQL. 2) Enlist the section of PL/SQL block. It consist of three block ...

4 minutes read.

Top 30 Flex Interview Questions for 2024

1) What is Flex? Flex is an open source framework which is used to build applications for mobile, browser and desktop. It provides FLEX SDK consisting of the Flex class library, Flex...

4 minutes read.

Top 15 JCL (Job Control Language) Interview Questions for 2024

1) What is JCL? JCL refers to Job Control Language. It is a command language which describes job (unit of work) for the Multiple Virtual Storage (MVS) operating system. It is...

3 minutes read.

Top 50 ReactJS Interview Questions for 2024

Top 50 Frequently asked ReactJS Interview Questions Q-1. What is React? Ans-1 React is a front-end JavaScript library which is developed by Facebook in 2011. It follows the component-based approach and allows us to...

15 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 15 VBA Interview Questions for 2024

1) What is VBA? VBA stands for Visual Basic Application. It is an event-driven programming language. It is mainly used with Microsoft Office applications such as MS -Excel, MS-Word and MS-Access. 2)...

3 minutes read.

Top 15 Haskell Interview Questions for 2024

1) What is Haskell? Haskell is a functional programming language. It is based on mathematical functions. This programming language is more intelligent than other popular programming languages. 2) Who is the developer of...

2 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 15 ES6 Interview Questions for 2024

Commonly Asked ES6 Interview Questions and Answers 1) What is ES6? ES6 is a scripting language specification standardized. It is used to enable client-side scripting. The specification is influenced by programming languages (Self, Python, Perl,...

2 minutes read.

Top 15 PhantomJS Interview Question for 2024

1) What is PhantomJS? PhantomJS is a lightweight headless scripted browser built on WebKit. It is used for automation web page interaction. 2) Why it is called as headless browser? PhantomJS called as...

4 minutes read.

Top 14 MathML Interview Questions for 2024

1) What is MathML? MathL stands for Mathematical Markup Language. It is extended form of XML. It is used to describe mathematical and scientific notations. 2) Who is the developer of MathML? World...

3 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 15 Bootstrap Interview Questions for 2024

1) Explain what is Bootstrap? It is a Framework which is used for building the web application with minimal effort. Bootstrap is also used for developing responsive, mobile-first web sites. 2) What...

10 minutes read.

W3.CSS Interview Questions

1) What is W3.CSS? W3.CSS stands for Cascading Style Sheet. It is developed by w3schools.com. It is used to create faster, beautiful and responsive websites. 2) What are the features of W3.CSS? W3.CSS...

3 minutes read.

Top 10 Java Swing Interview Questions for 2024

1) What is Java Swing? It is a part of JFC (Java Foundation Classess) that is used to create window-based applications. Java Swing components are platform independent and lightweight . 2) What is...

3 minutes read.

Top 15 Servlet Interview Questions for 2024

1) What is Servlet? It is a technology used to create web applications. It is a web component which is used to create dynamic web pages. It consists of many interfaces and classess...

2 minutes read.

Top 15 Foundation Interview Questions for 2024

1) What is Foundation? Foundation is a front-end framework that is for designing beautiful responsive websites. This framework is compatible with all types of devices and provides you with HTML, CSS...

2 minutes read.

Top 22 DOJO Interview Questions for 2024

1) What is DOJO? DOJO is an open source JavaScript framework designed for very fast development of JavaScript/AJAX based application and websites having cross platform interdependencies. 2) Enlist all features of DOJO. ...

4 minutes read.