×

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 Global Area).

2) What is Control File ?

It is a small binary file which stores the Physical Structure of database. Every Database consists of a Control File.

3) Which file is accessed first when Oracle Database starts?

Order is:
  • spfile.ora
  • pfile.ora (if spfile.ora not accessed).

4) What does PMON and SMON process do?

PMON (Process Monitor): It is responsible for recovering of process when user process fails. It also, helps in process cleanup. SMON (System Monitor): It is responsible for the recovery of system after the failure. It also, helps in performing critical tasks as instance recovery and dead transaction recovery etc.

5) Describe Instance recovery?

Oracle database performs instance recovery when due to instance failure database is restarted and performs following actions:
  • ABORT shutdown
  • FORCE start-up

6) What is Tablespaces?

It allows database admin to define location in the file system where the file respective database objects can be stored.

7) What is Redo Log?

Redo Log is a recovery action which consists of two or more pre-existed files that store all the changes done to the database.

8) Define Checkpoint?

Checkpoint: It is defined as a point where if any modification takes place on database then the modification of that block is made to a memory copy of a block. Eventually when we commit block is not written but Redo Log is therefore, the system will checkpoint your modified blocks to disk.

9) Enlist the types of checkpoint in Oracle.

  • Full checkpoint
  • Thread checkpoint
  • File checkpoint
  • Parallel Query checkpoint
  • Object checkpoint
  • Log switch checkpoint
  • Incremental checkpoint

10) Give the name of process that reads and write data in data files.

Oracle Server Process reads the block. DBWR Process writes into the data files.

11) What is Shared Pool?

Shared pool is a memory area generated at the time of startup time in the RAM heap which is a component of SGA (System global area).

12) Differentiate between PFile and SPFile.

  • PFile is a "TEXT FILE" whereas SPFile is "BINARY FILE".
  • In PFile we cannot change parameter dynamically while we can in SPFile.
  • PFile can be maintained by OS Editor whereas for SPFile we need a Oracle Server.

13) Enlist the various Oracle Database Object.

  • Tables
  • Tablespaces
  • Views
  • Indexes
  • Synonyms

14) Give the different type of module in Oracle Forms.

  • Form module
  • Menu module
  • Pl/SQL Library module
  • Object Library module

15) Describe Stackspack tool of Oracle?

It is a package set of SQL,PL/SQL and SQL*Plus scripts which allows collection, automation, storage and view of performance of data.

16) What is an Oracle index?

An index is an optional structure associated with a table to have direct access to rows, which can be created to increase the performance of data retrieval. Index can be created on one or more columns of a table.

17) Explain Oracle Grid Architecture?

The Oracle grid architecture pools large numbers of servers, storage, and networks into a flexible, on-demand computing resource for enterprise computing needs. The grid computing infrastructure continually analyzes demand for resources and adjusts supply accordingly.

18) What are the components of SGA?

  • Library cache
  • Data Dictionary cache
  • Database Buffer Cache
  • Redo log
  • Buffer cache
  • Shared Pool

19) What is a recovery catalog?

Recovery catalog is an inventory of backup taken by RMAN for the database.The size of the recovery catalog schema depends upon the number of databases monitored by the catalog.

20) What are the different stages of database startup?

Following stages are involved in the startup of database:
  • NoMount: Oracle Instance is available based on the parameters defined in SPFile.
  • Mount: Based on the Information from parameter control files location in spfile, it opens and reads them and available to next stage.
  • Open: Datafiles, redo log files are available to the end users.

21) What are the different methods we can shutdown our database?

Following stages are involved in the startup of database:
  • SHUTDOWN
  • SHUTDOWN TRANSACTIONAL
  • SHUTDOWN IMMEDIATE
  • SHUTDOWN ABORT

22) What is ALERT log file?

Alert log file is a log file that records database-wide events which is used for trouble shooting. We can find the Log file in BACKGROUND_DUMP_DEST parameter.

23) What are different types of locks?

Different types of user locks are given as follows:
  • UL Lock: Defined with dbms_lock package.
  • TX Lock: Acquired once for every transaction. It is a row transaction lock.
  • TM Lock: Acquired once for each object, which is being changed. It is a DML lock. The ID1 column identifies the object being modified.

24) What is large object in oracle?

Large objects (LOB’s) are exclusively used to hold large amounts of data. It can hold data in tetra bytes. Different types of LOBs include internal, external, persistent and temporary. Binary LOB’s are typically used to store graphics, video, or audio data.

25) What is a system change number (SCN)?

  • SCN is a value that is incremented whenever a dirty read occurs.
  • SCN is incremented whenever a deadlock occurs.
  • SCN is a value that keeps track of explicit locks.
  • SCN is a value that is incremented whenever database changes are made.

Related Topics

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.

Top 15 AWS Interview Questions for 2024

1) What is AWS? AWS stands for Amazon Web Services. It is a cloud web hosting platform that offers flexible, scalable, reliable, easy-to-use, and cost-effective solutions. 2) What is Cloud Computing? It is...

2 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 19 Google Maps Interview Questions for 2024

1) What is Google Maps? Google Maps is a web-based service developed by Google. It contains geographical information and provides routes and information to the client. 2) What are the features provided...

5 minutes read.

Top 40 TensorFlow Interview Questions and Answers

Commonly Asked TensorFlow Interview Questions for Fresher Q1. What is TensorFlow? TensorFlow is the machine learning library developed by Google's brain team, it supports multiple abstraction levels, and we can choose the...

13 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.

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 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.

Top 15 PostgreSQL Interview Questions for 2024

1) What is PostgreSQL? PostgreSQL is a most advance open source database system. PostgreSQL is an object Oriented Relational Database Management System (ORDBMS). PostgreSQL source code is available free of charge...

3 minutes read.

Top 25 MySQL Interview Questions for 2024

1) What is MySQL? MySql is defined as multi-user DBMS which is built and distributed my MySQLab now acquired by Oracle Co. 2) Enlist the features of MySQL. Cross-Platform Support Wide range...

3 minutes read.

Top 15 SVG Interview Questions for 2024

1) What is SVG? SVG stands for Scalable Vector Graphics, It is XML based format used to draw dimentional vector images. It is a W3C standard. SVG supports all image formats. 2) What are...

2 minutes read.

Top 16 WebGL Interview Questions for 2024

1) What is WebGL? WebGL stands for Web Graphics Library. It is a JavaScript API that is used for rendering 3D graphic in any compatible web browser. It is written in...

3 minutes read.

Top 20 C Programming | Coding Interview Questions for 2024

Most Frequently asked C programming | Coding Interview Questions and answer for Fresher C is a powerful high-level programming language.  It is a fast, portable and available for all platforms. C...

15 minutes read.

Top 16 Groovy interview Questions for 2024

1) What is Groovy? Groovy is an object oriented programming language. It is based on java platform. It can also be used as scripting language. 2) Who designed the Groovy? James Strachan designed...

2 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 30 D Programming Language Interview Questions for 2024

1) What is D programming language? D programming language is an object oriented programming language. It is created by Walter Bright of Digital Mars. It was released in 2001. 2) Who is the...

4 minutes read.

Top 28 Prototype Interview Questions for 2024

1) What is Prototype? Prototype is a JavaScript framework which is used in dynamic web applications. It is a namespace and a module that is used to manage HTML forms. It is also...

4 minutes read.

Top 15 Highcharts Interview Questions for 2024

1) What is Highcharts? Highcharts is a JavaScript based charting library. It is used to enhance web applications by adding interactive charting capability. Highcharts supports a wide range of charts. Charts are drawn using...

2 minutes read.

Top 30 SQL Interview Questions for 2024

1. What is SQL? Ans. SQL stands for Structured Query Language.  It is a standard computer language for accessing, storing, and manipulating data stored in the relational database. SQL become an International Standard Organization (ISO)...

11 minutes read.

Symfony PHP Framework Interview Questions

1) What is Symfony? Symfony is an open source, web application framework. It is written in PHP and used to design PHP applications. It was first released on18 October, 2005. 2) What...

5 minutes read.