Oracle Data Guard Concepts and Administration Release 2 (9.2) Part Number A96653-02 |
|
|
View PDF |
This section describes the new Data Guard features in Oracle9i release 2 (9.2) and provides pointers to additional information. Information about new features from previous releases is retained to help those users who are upgrading to the current release.
The following sections describe the new features in Data Guard:
The features and enhancements described in this section were added to Data Guard in Oracle9i release 2 (9.2).
Until now, there has been only the physical standby database implementation, in which the standby database performs either managed recovery or read-only operations. A physical standby database is physically equivalent to the primary database. While redo logs are being applied to a physical standby database, it cannot be opened for reporting, and when the physical standby database is open for reporting, redo logs cannot be applied to it. A logical standby database has the same logical schema as the primary database, but it may have different physical objects, such as additional indexes. With logical standby databases, the database can be available for reporting at the same time you are applying redo logs to it.
The database administrator (DBA) can place the database into one of the following modes:
These modes replace the guaranteed, instant, rapid, and delayed modes of data protection available in Oracle9i release 1 (9.0.1).
A cascaded redo log destination is a standby database that receives its redo data from another standby database and not from the original primary database. A physical or logical standby database can be set up to send the incoming redo data to other remote destinations in the same manner as the primary database, with up to one level of redirection.
The broker now supports:
LOG_ARCHIVE_DEST_
n
initialization parameter include:
[NO]TEMPLATE
Defines a directory specification and format for archived redo logs at the standby destination.
[NO]NET_TIMEOUT
Specifies the number of seconds the log writer process will wait for status from the network server of a network operation issued by the log writer process.
PARALLEL
qualifier to the SYNC
attribute
Indicates if I/O operations to multiple destinations are done in parallel or in series.
ALTER DATABASE
statement includes:
ACTIVATE [PHYSICAL | LOGICAL] STANDBY DATABASE [SKIP [STANDBY LOGFILE]]
COMMIT TO SWITCHOVER TO {PHYSICAL | LOGICAL} {PRIMARY | STANDBY} [[WITH | WITHOUT] SESSION SHUTDOWN [WAIT | NOWAIT]]
[NO]FORCE LOGGING
RECOVER MANAGED STANDBY DATABASE [FINISH [SKIP [STANDBY LOGFILE] [WAIT | NOWAIT]]
RECOVER MANAGED STANDBY DATABASE [THROUGH {ALL | NEXT | LAST} SWITCHOVER]
RECOVER MANAGED STANDBY DATABASE [THROUGH ALL ARCHIVELOG | [ THREAD
n
] SEQUENCE
n
]
REGISTER [OR REPLACE] [PHYSICAL | LOGICAL] LOGFILE
filespec
SET STANDBY DATABASE TO MAXIMIZE {PROTECTION | AVAILABILITY | PERFORMANCE}
START LOGICAL STANDBY APPLY
{STOP | ABORT} LOGICAL STANDBY APPLY
LOG_ARCHIVE_TRACE
parameter:
The features and enhancements described in this section were added to Data Guard in Oracle9i release 1 (9.0.1).
Oracle8i Standby Database was renamed to Oracle9i Data Guard.
ALTERNATE
keyword were added to the LOG_ARCHIVE_DEST_STATE_
n
initialization parameter.LOG_ARCHIVE_TRACE
initialization parameter.ALTER DATABASE
statement:
ACTIVATE [PHYSICAL] STANDBY DATABASE
[SKIP [STANDBY LOGFILE]]
ADD [STANDBY] LOGFILE TO [THREAD
integer
]
[GROUP
integer
]
filespec
ADD [STANDBY] LOGFILE MEMBER '
filename
' [REUSE] TO '
logfile-descriptor
'
COMMIT TO SWITCHOVER TO [PHYSICAL]
{PRIMARY | STANDBY} [[NO]WAIT]
REGISTER [PHYSICAL] LOGFILE
filespec
SET STANDBY DATABASE {PROTECTED | UNPROTECTED}
Note: In Oracle9i release 2, this syntax was further revised. See the "Oracle9i Release 2 (9.2) New Features in Data Guard" section. |
RECOVER MANAGED STANDBY DATABASE
clause:
NODELAY
CANCEL [IMMEDIATE] [NOWAIT]
[DISCONNECT [FROM SESSION]]
[FINISH [NOWAIT]]
[PARALLEL [
integer
]]
NEXT
EXPIRE
DELAY
Note: In Oracle9i release 2, this syntax was further revised. See the "Oracle9i Release 2 (9.2) New Features in Data Guard" section. |
V$ARCHIVE_DEST
view:
AFFIRM
ALTERNATE
ARCHIVER
ASYNC_BLOCKS
DELAY_MINS
DEPENDENCY
FAILURE_COUNT
LOG_SEQUENCE
MANIFEST
(This column name was new in Oracle9i release 1; it was changed to REGISTER
in Oracle9i release 2.)MAX_FAILURE
MOUNTID
PROCESS
QUOTA_SIZE
QUOTA_USED
REGISTER
(This column name was new in Oracle9i release 1; it was changed to REMOTE_TEMPLATE
in Oracle9i release 2.)SCHEDULE
TRANSMIT_MODE
TYPE
ALTERNATE
and FULL
, have been added to the STATUS
column.V$ARCHIVED_LOG
view:
V$LOG
view:
V$LOGFILE
view:
V$DATABASE
view:
V$ARCHIVE_DEST_STATUS
view:
STANDBY_LOGFILE_COUNT
STANDBY_LOGFILE_ACTIVE
Note: In Oracle9i release 2, new values were added and existing columns renamed in the |