Change the protection mode of dataguard
View the current protection mode: SQL> select protection_mode from v $ database; PROTECTION_MODE--------------------MAXIMUM AVAILABILITY prepare to change protection mode to maximum performance mode: On the master database: SQL> shutdown immediate; Databaseclosed. databasedismounted. ORACLE instanceshut down. SQL> startupmouont; SP2-0714: invalid combination of STARTU
DataGuard slave database deletes applied logs
The company set up a slave uard. At the beginning, it did not pay attention to the management of archiving logs in the slave database. After the system was running for a while, it was found that the space of the slave database was cracked up by archiving logs.
Solution: Oracle provides a view for you to view the execution status of archived logs. You can delete
(In the creation of mongouard, run rman recovery when the error ORA-12528 error; configure the database listening for static parameter steps: ORACLE_HOMEnetwork)
(In the creation of mongouard, run rman recovery when the error ORA-12528 error; configure the Database Listener for static parameter steps: ORACLE_HOME/network)
(In the creation of DataGuard, run rman recovery error ORA-12528 error;
The script is as follows: RMAN> connect auxiliary sys/
is not the same; Is it really arp cheating, very excited ah, a mail poke into the network room, the problem seems to solve;However, the administrator checked the next MAC address, this MAC address is the second node of the-_-, that is, two hosts have the same MAC address, Oracle put us all pit;Check two host IP, do have a scan address, the spot directly without words, on the MoS bar, this problem ....Keyword: Duplicate scan VIP on both node search, t
Using Dataguard as the HA solution, the problem to be solved is: the back-end database has a master-slave switchover, how can the client connection be automatically switched to the new primary database?
When Data guard is used as the HA solution, one problem to be solved is that the master-slave switchover occurs in the background database. How can the client connection be automatically switched to the new primary database?
When Data guard is use
Incremental Backup solves the log GAP in the DataGuard Database
Sometimes the standby database lags behind the primary database for a long time, and the archive log of the primary database does not exist. How can we eliminate the log interval at this time? Many people choose to recreate the standby database, which is very troublesome, especially when the data volume of the master database is large, another option is to use incremental database backup
Dataguard three modesRecently we want to create an oracle distributed uard database on the production system. If you have a problem, let's discuss it. In 9ir2, the master database can be placed in the following three modes:-Maximum protection-Maximum availability-In maximum protection, maximum performance ensures that the slave database and master database have the same data, so that zero data loss transact
12c Dataguard provides a new syntax for implementing DG Switchover. Below is the test.
Master Library Execution Check
Sql> ALTER DATABASE switchover to Orcldg VERIFY; --Main library for switch checkALTER DATABASE switchover to Orcldg VERIFY*ERROR at line 1:ora-16475:succeeded with warnings, check alert log for more details--View alert logsSql>Alert
ALTER DATABASE switchover to orcldg VERIFY--command inputSun May 10 18:31:29 2015This is cascading co
'
Standby_file_management = auto
Slave database starts to nomount status [dg2]
Sqlplus '/As sysdba'
Startup nomount pfile =? /Dbs/fwy. ora
The source uses the 11g duplicate from active Technology
Under the source [DG1], a green connection is made to the source database. Pink indicates that the connection is made to the target database.
RMAN target sys/Oracle auxiliary sys/[email protected]
Duplicate target database for standby from active database;
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Attach the dataguard implementation process from a single machine to a single machine in Linux.
Prepare the environment
Primary: RHEL 4.7 + Oracle 10.2.0.4 single host + file system Host Name: zhbqdb1
Standby: RHEL 4.7 +
DG online log group size change environment (single instance, centos 6.5x64, Oracle 10.2.0.5, filesystem storage) Redo online logselect * from V $ logfile where type = 'standby '; # The query is a standby log group of standby logselect * from V $ logfile where type
Dataguard add and modify redolog size
Today, we demonstrated the switching process between switchover and failover on the virtual machine. The customer is concerned with failover. We directly turn off the virtual storage switch to simulate array faults. Failover steps are as follows:
1.
SelectNAME, RESETLOGS_TIME, LOG_MODE, OPEN_MODE, PROTECTION_MODE, REMOTE_ARCHIVE,
DATABASE_ROLE, SWITCHOVER_STATUS, FORCE_LOGGING
FromV $Database;
2. Stop the log application
AlterDatabaseRecover managed standbyDatabaseCancel;
3. Disable
Eight major considerations for deploying physical standby databases using DataGuard. These eight points are mainly for DG deployment after 10gR2.
Eight Important Notes for Data Guard to deploy the physical standby database. These eight points are mainly for DG deployment after 10g R2.
Homepage → Database Technology
Background:Read News
8 precautions for Data Guard to deploy the physical standby Database
[Date: 2013-03-11] Source: L
Host ConfigurationAlterSystemSetDb_unique_name='Starboss'Scope=SPFile;AlterSystemSetLog_archive_config='dg_config= (starboss,starbossstby01,starbossstby02)';AlterSystemSetLog_archive_dest_1='location=/opt/app/oracle/archivelog/valid_for= (all_logfiles,all_roles) Db_unique_name=starboss';alter system set log_archive_dest_2='service=starbossstby01 lgwr ASYNC VALID _for= (online_logfiles,primary_role) db_unique_name=starbossstby01'; alter system set log_
The problem has recently been a headache in the Dataguard environment in the event that a network failure would result in a primary library not working properly within a short period of time.
The phenomenon of this problem is basically this:
When there is a problem with the network between primary and standby, such as when we unplug the standby cable in the test environment, primary will attempt to notify standby to file the same when the log switch
DATAGUARD add and modify REDOLOG size, dataguardredolog
Dg online log group size change environment (single instance, Centos 6.5X64, oracle 10.2.0.5, filesystem storage) redo online LOGselect * from v $ logfile where type = 'standby '; # The query is a standby log group of STANDBY LOGselect * from v $ logfile where type
This period of time in order to provide customers with a complete disaster preparedness program, has been testing 9i data guard,
Testing the way of LOGICAL+LGWR, there are many strange mistakes, and then replaced by PHYSICAL+LGWR way, there are some unsatisfactory place, and then replaced by the most original Physical+arch way, This method itself Dataguard is not a problem, but in the primary library Alertlog in the checkpoint not complete waiting e
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.