Oracle DBA

  Home  Oracle  Oracle DBA


“Oracle DBA Interview Questions and Answers will guide us now that the Oracle Database commonly referred to as Oracle RDBMS or simply Oracle is a relational database management system (RDBMS) produced and marketed by Oracle Corporation. As of 2009, Oracle remains a major presence in database computing. So get preparation of Oracle DBA Jobs with this Oracle DBA Interview Questions with Answers guide”



50 Oracle DBA Questions And Answers

26⟩ What is Oracle Full Backup?

A full backup is an operating system backup of all data files, on-line redo log files and control

file that constitute ORACLE database and the parameter.

 192 views

30⟩ What is Oracle Log Switch?

The point at which ORACLE ends writing to one online redo log file and begins writing to another

is called a log switch.

 232 views

31⟩ What are the steps involved in Instance Recovery in Oracle?

Rolling forward to recover data that has not been recorded in data files, yet has been recorded

in the on-line redo log, including the contents of rollback segments.

Rolling back transactions that have been explicitly rolled back or have not been committed as

indicated by the rollback segments regenerated in step a.

Releasing any resources (locks) held by transactions in process at the time of the failure.

Resolving any pending distributed transactions undergoing a two-phase commit at the time of

the instance failure.

 196 views

34⟩ what is the difference between group by and order by?

group by is used when we use aggregate functions on the columns in a query the other columns

should be in group by query

example:

select empno,ename,sum(sal) from emp

group by empno,ename

Order by is used to sort values either in ascending or descending order

 180 views

38⟩ Process you follow to start looking into Performance issue at database level (If the application is running very slow, at what points do you need to go about the database in order to improve the performance?)

► Run a TOP command in Unix to see CPU usage (identify CPU killer processes)

► Run VMSTAT, SAR, and PRSTAT command to get more information on CPU and memory usage and possible blocking

► Run STATSPACK report to identify:

1. TOP 5 WAIT EVENTS

2. RESOURCE intensive SQL statements

► See if STATISTICS on affected tables needs to be re-generated

► IF poorly written statements are culprit, run a EXPLAIN PLAN on these statements and see whether new index or use of HINT brings the cost of SQL down.

 252 views