Jennifer Lin’s Weblog

October 21, 2008

Data Guard and Oracle Standard Edition

Filed under: Data Guard — jennyca @ 4:26 pm
Oracle Data Guard is available only as a feature of Oracle Database
Enterprise Edition. It is not available with Standard Edition.

The following limitations exist using standby databases under Standard
Edition:

1. Remote archival can not be configured.   Setting the parameter
   LOG_ARCHIVE_DEST_n to any value will fail.

   SQL> alter system set log_archive_dest_1='SERVICE=stby';
   *
   ERROR at line 1:
   ORA-00439: Feature not enabled: Managed standby

   Note: LOG_ARCHIVE_DEST can be used for local only archival.

2. While you can specify the MANAGED keyword when starting standby
   recovery:

   SQL> recover managed standby database disconnect;

   The managed recovery process (MRP) will not progress once started.
   It relies on the standby controlfile being updated with the latest
   available archive log during remote archival from the primary.
   The archives can be brought over manually and registered into the
   controlfile but the register attempt will fail instead with the
   following errors:

   SQL> alter database register logfile '/stby_arch/arc0055.dbf';
   *
   ERROR at line 1:
   ORA-00439: Feature not enabled: Managed Standby

   Manual recovery with 'RECOVER STANDBY DATABASE' SQL will work. The
   archive log location will be determined based on the setting of the
   LOG_ARCHIVE_FORMAT and LOG_ARCHIVE_DEST parameters on the standby
   instance.

3. Switchover will not be possible.

4. Failover must be done with 'ALTER DATABASE ACTIVATE STANDBY DATABASE'
   SQL.

5. The only standby type possible is a physical standby, not logical.

6. The standby environment cannot be managed using the Data Guard Broker
   or it's interfaces, DGMGRL and the Data Guard GUI from Grid Control.

Overall it is possible to create and maintain a physical standby with
Standard Edition releases.  However it is left up to the user to handle
the archive log transfer to the standby site and the apply of the logs
using basic 'RECOVER STANDBY DATABASE' SQL syntax.   Data loss is not
guaranteed and behaviors such as rolling upgrades can not be used.

February 15, 2008

About db_file_name_convert & log_file_name_convert in Data Guard

Filed under: Data Guard — jennyca @ 1:23 am

db_file_name_convert & log_file_name_convert (Other party => Itself)

Primary WEB
StandBy SBY

WEB
db_file_name_convert(‘SBY’, ‘WEB’)
log_file_name_convert(‘SBY’, ‘WEB’)

SBY
db_file_name_convert(‘WEB’, ‘SBY’)
log_file_name_convert(‘WEB’, ‘SBY’)

Blog at WordPress.com.