Monday 9 February 2015

Oracle DBA Technical Interview Questions Answers

11.    Give two examples of referential integrity constraints.
A primary key and a foreign key.

12.   A table is classified as a parent table and you want to drop and re-create it. How would you do this without affecting the children tables?
Disable the foreign key constraint to the parent, drop the table, re-create the table, enable the foreign key constraint.

13.   Explain the difference between ARCHIVELOG mode and NOARCHIVELOG mode and the benefits and disadvantages to each.
ARCHIVELOG mode is a mode that you can put the database in for creating a backup of all transactions that have occurred in the database so that you can recover to any point in time. NOARCHIVELOG mode is basically the absence of ARCHIVELOG mode and has the disadvantage of not being able to recover to any point in time. NOARCHIVELOG mode does have the advantage of not having to write transactions to an archive log and thus increases the performance of the database slightly.

14.    What command would you use to create a backup control file?
Alter database backup control file to trace.

15.   Give the stages of instance startup to a usable state where normal users may access it.
STARTUP NOMOUNT - Instance startup. STARTUP MOUNT - The database is mounted. STARTUP OPEN - The database is opened.
More Questions & Answers :-
Page1  Page2  Page3  Page4

No comments:

Post a Comment