=use_db_recovery_file_dest valid_for= (standby_logfiles,standby_role) DB_UNIQUE_NAME= Standby ';
Log_archive_dest_state_3=enable
1.1.5Open the Logical Standby Database
Because the logical standby does not conform to the primary database transaction, you must specify the RESETLOGS clause when you first open it
sql> ALTER DATABASE OPEN resetlogs;
Apply Redo Data
sql> ALTER DATABASE START LOGICAL STANDBY APPLY IMMEDIATE;
Tags: dgmgrl snapshotEnvironment Overview: Good Dataguard, build reference: http://blog.51cto.com/snowhill/1923591Source: db_name:db RACPreparation: DB_NAME:SBDB1 stand-alone 1 Enable DGMGRLRelated parameters:
Dg_broker_startDg_broker_config_file1
Configuration:alter system set dg_broker_start=true scope=both;At this point the database will increase the Dmon process [[emailprotected] ~]$ ps -ef|grep -i _dmon|grep -v grep
The summary in this document is very comprehensive, but I have made some corrections to some of the errors (such as fal_server and fal_client instructions) or some ambiguous descriptions. to differentiate the network connection string and SID, list the information of the master and slave databases first.
Master database:
Version: Oracle 10.2.0.1.0ORACLE_SID = WENDINGDb_name = WENDINGDb_unique_name/instance_name = WENDINGGlobal_name/service_names = WEN
recovery catalog allocated Channel:ora_disk_1 Channel ora_disk_1:sid=62 device Type=disk Channel ora_disk_1:restoring control file channel Ora_disk_1:restore complete, elapsed time:00:00:02 output file name=+vg1/db7881dg/controlfile/current.447.868357987 output file name=+vg1/db7881dg/controlfile/current.507.868357987 finished restore at 07-jan-15 after the database can recover the control file, check the V$database Controlfile_type, is already the type we need. sql> ALTER DATABASE moun
Tags: oracle dataguard Daily Maintenance Command Summary1. Stop standbySelect process, status from V$managed_standby;---check if the repository is being restored in the application logALTER DATABASE recover managed standby database cancel;Shutdown immediate; 2. Switch to read-only mode-----switch from shutdown mode to read-only mode-------Startup Nomount;ALTER DATABASE mount standby database;ALTER DATABASE
Tags: Oracle 11g dataguard three modes as well as real-time queries (real-time query) feature settingsBefore we discussed the "Linux Oracle 11g dataguard Physical standby configuration process,"But in the actual process will encounter different problems, first we discuss the Oracle
The Oracle Database 11g has enhanced the DataGuard function in many aspects, so it is difficult to describe it in detail. Therefore, here I will introduce some feature enhancements that I am most interested in. Backup
Oracle Database 11g has enhanced the Data Guard function in many aspects, which is difficult to describe in detail. Therefore, here I will introduc
Archiving logs in the slave database of Oracle Dataguard are not synchronized
Environment: RAC + single-host DataguardProblem: when the slave database is started to the ADG mode, the archived logs in the background are not synchronized.
1. the archived logs of logs in the slave database are not synchronized. The content is as follows:MRP0: Background Media Recovery process shutdown (strac)Managed Standby Re
Tags: Dataguard archive managementManagement SectionIf database force logging is not enabled, the repository/*+ append */operation, nologging operation, will report the bad block;Suggested table space Force logging or database force logging;--force logging/nologging TestALTER DATABASE force logging;
Select force_logging from Dba_tablespaces;
Select force_logging from V$database;
Alter TABLESPACE test force logging;
Select Logging,table_name,tablespace
---------ORCLsql> drop database;Database dropped.Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0-64bit ProductionWith the partitioning, OLAP, Data Mining and Real application testing optionsSql> exit[Email protected] ~]$ Sqlplus/as SYSDBASql*plus:release 11.2.0.1.0 Production on Wed 23 14:56:20 2017Copyright (c) 1982, Oracle. All rights reserved.Connected to an idle instance.Sql>
Oracle 11g Dataguard Duplicate physical standby configuration (i) Create configuration for physical repositories
# ver:1.5 Fifth time modified
# modify:2013.8.16
# Author:koumm
Description
The installation of this article is configured with Oracle 11g Dataguard to create a physical repository in duplicate mode.
T
Tags: oracle dataguard nologgingManagement SectionIf database force logging is not enabled, the repository/*+ append */operation, nologging operation, will report the bad block;Suggested table space Force logging or database force logging;Test:Select Force_logging, tablespace_name from
dba_tablespaces
where tablespace_name in
(select Default_ Tablespace from dba_users where username = ' SCOTT ');
----------
Get ready:
Confirm objects and statements can be standby supported
Make sure that the rows of the tables in the primary library can be uniquely identified
Environment:
Operating system: RED HAT LINUX ENTERPRISE 5
oracle:11.2.0.1.0
PRIMARY:
ip:192.168.1.11
Sid:test
Db_unique_name:test
Installation path:/oracle/oracle/product/11.2.0/dbhome_1
Local Archiv
Major library disk issues, causing the main library to go down because the archive has not been applied, resulting in the repository not being transferred to the primary libraryFirst look at the current information about the repository:Sql> select * from V$version;BANNER---------------------------------------------------------------------Oracle Database 11g Enterprise Edition Release 11.2.0.3.0-64bit productionpl/sql release 11.2.0.3.0-productioncore
Tags: database standby sequence Oracle currentI haven't got up yet, the damn phone is ringing. A nervous message:dataguard database Master never synchronized, quickly climbed up to work. first step, check the alarm log Log.xml . Keep your eyes wide open and look for the abnormal output, and then filter it with grep -type tools. It seems that the situation is still good ah, if there is an error category, the problem is very big. Next, check the serial
does have a serious hardware failure or other cause the primary database cannot be started.(2) Check if there is a archive redo log on the physical standby database gapsSql>select thread#, low_sequence#, high_sequence# from V$archive_gap;(3) Eliminate archive redo log gapsArchive redo logs that are not uploaded to the physical standby database are uploaded to the physical standby database from the primary database or from other backup locations and registered to the controlfile of the physical
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.