Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

backup control file and standby control file

719 views
Skip to first unread message

Christ Follower

unread,
Nov 6, 1999, 3:00:00 AM11/6/99
to
I noticed that the ALTER DATABASE command supports BACKUP CONTROLFILE
and CREATE STANDBY CONTROLFILE AS clauses. What is the difference
between a backup control file and a standby control file? Thanks.


Sent via Deja.com http://www.deja.com/
Before you buy.

Erwin Dondorp

unread,
Nov 6, 1999, 3:00:00 AM11/6/99
to
[BACKUP CONTROLFILE]
This control file is marked as a backup controlefile.
It does not contain any SCN's, this is the reason that there is no
difference between
taking a backup controlfile before or after the real backup.
This controlfile only tells something about the database structure.
If you do a recovery the the SCN's are copied from the datafiles to the
controlfile.
After a recovery the backup controlfile becomes an ordinary controlfile.

[STANDBY CONTROLFILE]
This control file is marked as a standby controlefile.
A database that uses this controlfile is a standby database.
A standby database does not allow the statement ALTER DATABASE OPEN.
This prevents an otherwise common mistake by which the standby database
becomes
active and a roll forward is no longer possible.
You need a specific statement to open this database [ALTER DATABASE OPEN
STANDBY DATABASE?]
After opening the database the standby controlfile becomes an ordinary
controlfile.

Erwin

--
Erwin Dondorp
<http://www.dondorp.com/>

0 new messages