You are on page 1of 3

Question :

What is Archived Redo Log ?


The log writer process (LGWR) writes the online redo logs from the log buffer. The
online redo logs are a set of files that will be repeatedly written into by LGWR. To
prevent loss of data, these online redo logs are written to a permanent location by
the archiver process (ARCH) before the online redo log is overwritten. The
permanent copy is the archived redo log.

Question :
What is Mirrored on-line Redo Log ?

A mirrored on-line redo log consists of copies of on-line redo log files physically
located on separate disks, changes made to one member of the group are made to
all members.

Question :
What is the steps for recovery with missing online redo logs?

SQL> connect / as sysdba

Connected to an idle instance.
SQL> startup
ORACLE instance started.

Total System Global Area 2885681152 bytes

Fixed Size 2086736 bytes
Variable Size 1610614960 bytes
Database Buffers 1258291200 bytes
Redo Buffers 14688256 bytes
Database mounted.
ORA-00313: open failed for members of log group 3 of thread 1
ORA-00312: online log 3 thread 1: ?/u03/oradata/redo02b.rdo?

Missing redo log, it was the online one so I can?t switch logfiles.
Time for recovery, this will only get your SCN matched up on all the data files, no
real recovery takes place.

SQL> recover database until cancel;

Media recovery complete.
SQL> alter database open resetlogs;
SQL> /

Database altered.

Question :
What is Restricted Mode of Instance Startup ?
An instance can be started in (or later altered to be in) restricted mode so that
when the database is open connections are limited only to those whose user
accounts have been granted the RESTRICTED SESSION system privilege.

What are the different modes of mounting a Database with the Parallel Server ?

Exclusive Mode If the first instance that mounts a database does so in exclusive
mode, only that Instance can mount the database.
Parallel Mode If the first instance that mounts a database is started in parallel
mode, other instances that are started in parallel mode can also mount the

Question :
What is 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.

Question : Can we take up full backup when database is in open mode?

Yes, if our database is in archive log mode than we can take, but if not in archive log mode
we can’t/

Question :
What is Partial Backup ?
If we takes a database backup for specific period using SCN or timestamp function.

Re: Explain the difference between ARCHIVELOG mode and

NOARCHIVELOG mode and the benefits and disadvantages to each.
Answer archivelog mode:
archivelog mode means that
# 1 online redlogfile
copied to another location before
overwritten.mainly it use
for recover purpose.

noarchivelog mode:
noarchive logmode
means online redlogfile
not copied to another location each time
overwritten by lgwr.

Question :
What is SYSTEM tablespace and when is it Created?
Ans. Every ORACLE database contains a tablespace named SYSTEM, which is
created when the database is created. The SYSTEM tablespace always
contains the data dictionary tables for the entire database.

Question :
What are the advantages of Views ?
A. Answers:
Provide an additional level of table security, by restricting access to a
predetermined set of rows and columns of a table. Hide data complexity. Simplify
commands for the user. Present the data in a different perspective from that of the
base table. Store complex queries.

Question :
What is a Sequence ?

A. A sequence generates a serial list of unique numbers for numerical columns of a

database's tables.

What is the use of Control File ?

When an instance of an ORACLE database is started, its control file is used to

identify the database and redo log files that must be opened for database operation
to proceed. It is also used in database recovery.

All the users are complaining that their application is hanging. How you will resolve
this situation in OLTP

If the user is complaining the hang problem ..then the experience of a dba reflects
the work style that he is going to perform and basically as the rule suggest first try
to connect to the database itself and fire some query to check whethere you are
allowed to connect or not if you are connected then check for any locked_objects
by checking v$locked_object and dba_waiters and dba_blockers.then you have to
eliminate the things which are working properly and targetting yourself to the
weaker place and then check at os level that which process is consuming the most
of the time and then analyze the problem if the problem relates to a single user
process then check what that user is doing by checking the sql statement he is
firing.than so on

How to do the scheduled task/jobs in Unix platform

cron job feature in unix

What is spooling

Acronym for simultaneous peripheral operations on-line, spooling refers to putting

jobs in a buffer, a special area in memory or on a disk where a device can access
them when it is ready. Spooling is useful because devices access data at different
rates. The buffer provides a waiting station where data can rest while the slower
device catches up.