×

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 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 15 ASP.NET MVC Framework Interview Questions for 2024

1) What is ASP.NET MVC Framework? ASP.NET MVC framework is a software architecture pattern for developing web applications. It is used to split the application's implementation logic into three components: models,...

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 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 18 Blockchain Interview Questions and Answers for 2024

Top 20 Commonly Asked Blockchain Interview Questions and Answers 1. What do you understand by Blockchain? Blockchain is a chain of blocks made up of digital pieces of information or can be defined as...

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

Top 15 Website Development Interview Questions for 2024

1) What is Website Development? Website Development is a process that includes following steps. web design web content development client-side or server-side scripting network security configuration etc 2) What are the skills...

3 minutes read.

Top 29 Pascal Interview Questions for 2024

1) What is Pascal? Pascal is a high-level and Algol-based language that was developed by Niklaus Wirth. It is used to develop efficient and reliable programs. 2) What are the features of Pascal? Features...

4 minutes read.

Top 30 WordPress Interview Questions for 2024

Most Frequently asked WordPress Interview Questions and Answers 2019 1) What is WordPress? WordPress is an open-source CMS (Content Management System) and a blogging tool. It is used to create web sites and...

5 minutes read.

Top 15 Xamarin Interview Questions for 2024

1) What is Xamarin? Xamarin is a .NET framework. It allows to create an application that run on multiple platforms. Xamarin Tutorial uses C# language and .NET framework to deliver native...

2 minutes read.

Top 15 Java JDBC Interview Questions for 2024

1) What are the types of JDBC Drivers in Java? JDBC Drivers are of four types are: JDBC-ODBC bridge driver Native-API driver Network Protocol driver Thin driver 2) What are the five...

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

1) What are different storage class specifiers in C? Register,auto, static, extern are the storage class specifiers in C. 2) What is scope of a variable? How are variables scoped in C? Scope...

3 minutes read.

Top 15 MATLAB Interview Questions for 2024

1) What is MATLAB? MATLAB (matrix laboratory) is fourth-generation programming language. It allows matrix manipulations, implementations of algorithm and many more. 2) Who developed MATLAB? MATLAB is developed by MathWorks. 3) In which language...

2 minutes read.

Top 30 Core Java Interview Questions for 2024

1. What is the difference between HashMap and Hashtable in Java? Ans. S.No. HashMap Hashtable 1. ...

6 minutes read.

Top 30 Cassandra Interview Questions for 2024

1) Explain. What is Cassandra? Cassandra is an open source data storage system. It was developed at Facebook for inbox search and designed for storing and managing large amount of data. 2)...

5 minutes read.

Top 15 Struts Interview Questions for 2024

1) What are the Features of Struts 2? Features of Struts 2 are: Configurable MVC components POJO based actions AJAX support Integration support Various Result Types Various Tag support Theme and...

3 minutes read.

Top 32 Laravel Interview Questions for 2024

1) What is Laravel? Laravel is an open source PHP framework. It is used to design and develop web applications. It is based on MVC (Model-View-Controller) design pattern. It is created by Taylor...

6 minutes read.

Top 26 SEO Interview Questions for 2024

Most Frequently asked SEO Interview Questions and Answers for Fresher and Experienced 1) What is SEO? SEO stands for Search Engine Optimization. It is a set of processes followed by website owners...

4 minutes read.

Top 15 RequireJs Interview Questions for 2024

1) What is RequireJs? RequireJs is a open source JavaScript library which is used to maintain dependencies between JavaScript files and modular programming. 2) What are the features of RequireJs? Following are the...

3 minutes read.