Professional Documents
Culture Documents
----------------------------------------------------------------------1. how much time will it take a hotbackup if the batabase size is 60Gb
Answer: its all upto the Kind of Server and No of server Parameters configured,
and the type of backup device
----------------------------------------------------------------------2. What is mean live dead lock? How to prevent it.?
Answer: NA
----------------------------------------------------------------------3. what is the difference between recovery and restoring of the of the database
.
Answer1: The basic difference between recovery and restore is that in recovery t
he updated value from the database is removed while in resstore the value which
is errased from database is restore.
Answer2: Restoring a database is copying the physical files from a backup medium
(disk or tape) to the appropriate file locations for database operationRecovery
is process of updating database files restored from backup w/changes made to th
e database since backup, typically using redo log files.(Restored backup files +
changes = Recovery)
----------------------------------------------------------------------4. What are the different tools available for hot backups. Is it preferable to
take it manually all the time or it depends on the size of the database.
Answer1: There are following tools available for hot backup.,which have been us
ed by me.
Oracle Tools
[1] RMAN, [2] OEM [3] User Manageed such as making tablespace off line and copy
the associated datafiles.
Third Partry Tools
[1] Net Vault
[2] Tivoly
Answer2: See A hot backup can be done by either RMAN,User Managed Backups by put
ing tablespace in backup mode my OEM which does the same as the user managed bac
kup.But the Backup depends upon the size of the database you are using . if the
database size in TB the RMAN backup will take more than 10 hours to complete and
if the database is critical you can' wait for long to go for so long in this ca
se their are special backup techniques which are given by vendors like TIVOLI an
d Netbackup they provide BC Vol backup called Business content Volumn Sync which
copies a snapshot of the primary data to another place and backsup the database
from one SAN to another with in 15 min for 2 TB of database and is the preferab
le method for big companies.
Answer3:
one can TOAD tools.This make Oracle almost ACCESS.Actually it is every good tool
for development phase.
Answer4:
RMAN,OEM(Oracle Enterprise Manager),depends on size and database mode(Archivelog
or No-Archievelog)
----------------------------------------------------------------------5. what is the difference between media recovery & crash recovery..?
Answer:
Media recovery: is related to disc failure...
crash recovery:- Is related to instance recovery.which is automatically done by
ent user can't start the new transaction, once the current transaction complets,
database shutdown.
Shutdown Immediate - here new user can't logon to the database, user can't start
the new transaction, the current transactions rolls back, and database shutdown
.
Shutdown Abort - here new user can't logon to the database, user can't start new
transaction, the current transaction is not rolled back, database shutdown's.
While shutting down oracle updates data file header and control file with the cu
rrent checkpoint informanation, Except Shutdown Abort the checkpoint is same in
datafile header and control file it means database is consistance and it is clea
n shutdown. If the checkpoint is not same at both locations then instance recove
ry required at next startup.
Answer2:
four commands depends on the priority
1) shutdown
2)shutdown immediate
3)shutdown transactional
4)shutdown abort
in shutdown abort recoverry is required
----------------------------------------------------------------------10. What is Restricted Mode of Instance Startup ?
Answer1:
To Enable Restricted Session
Alter system enable restricted session;
To Disable Restricted Session
Alter system disable restricted session;
To Start the Database in Restricted Mode
STARTUP RESTRICT
Answer2:
When the database is started in restricted session mode, only users(such as thos
e with roleDBA) with the system privilege RESTRICTED SESSION can connect to the
database. Use the restricted mode when performing maintenance or when you want c
ertain users to be able to log in.
Answer3:
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 u
ser accounts have been granted the RESTRICTED SESSION system privilege.
-----------------------------------------------------------------------