Oracle databaguard maximum maximum availability mode
Hi All,
My database is in maximum availability mode at 9.2.0.8:
SQL> select protection_mode from v$database;
PROTECTION_MODE
MAXIMUM AVAILABILITY
SQL> show parameter log_archive_dest_2
NAME TYPE VALUE
log_archive_dest_2 string SERVICE=XXX.world LGWR SYNC
AFFIRM,
SQL>
Oracle Documentation says:
Maximum availability mode provides the highest level of data protection that is possible without affecting the availability of the primary database. This protection mode is very similar to maximum protection where a transaction will not commit until the redo data needed to recover that transaction is written to both the local (online) redo log and to at least one remote standby redo log. Unlike maximum protection mode; however, the primary database will not shut down if a fault prevents it from writing its redo data to a remote standby redo log. Instead, the primary database will operate in maximum performance mode until the fault is corrected and all log gaps have been resolved. After all log gaps have been resolved, the primary database automatically resumes operating in maximum availability mode.
and it also says.....
The NET_TIMEOUT attribute of the LOG_ARCHIVE_DEST_n parameter specifies the number of seconds the log writer process on the primary system waits for status from the network server process before terminating the network connection. The NONET_TIMEOUT attribute reverses or undoes the timeout value that you previously specified with the NET_TIMEOUT attribute.
If you do not specify the NET_TIMEOUT attribute (or if you specify the NONET_TIMEOUT attribute, the primary database can potentially stall. To avoid this situation, specify a small, nonzero value for the NET_TIMEOUT attribute so the primary database can continue operation after the user-specified timeout interval expires when waiting for status from the network server.
If the log writer process detects a network disconnection, even one that was terminated due to a network timeout, the log writer process automatically tries to reconnect to the standby database. The log writer process does this to resolve network brownouts and false network terminations. In most cases, except when the network is physically broken, the log writer process is able to automatically reconnect to the network.
The log writer process continually attempts to reconnect to the standby database for a period of time that depends on the data protection mode currently set for the primary database. Use the following time estimates as a guideline for how long the log writer process will try to reconnect to the standby database:
In maximum protection mode, the log writer process tries to reconnect for approximately 5 minutes.
In maximum availability mode, the log writer process tries to reconnect for approximately 2 minutes.
In maximum performance mode, the log writer process tries to reconnect for approximately 30 seconds.
question is:
1>Does that mean if primary database is in maximum availability mode and if there is network issue and it cannot communicate with standby database, it will freeze or stall for 2 minutes and then operate in maximum performance mode.
That freeze for 2 minutes in production is pain :(
2>Does it also mean,
In maximum performance mode primary database will freeze fro 30 seconds and then move on.
3> To convert from maximum availability to maximum performance do I need to bounce the primary database at 9.2.0.8
I guess I haven't asked the question correctly,
I have asked 2 different question:
1> do you need to mount your database to downgrade the protection mode, I needed confirmation for that at 9.2.0.8
below is link which shows how to downgrade mode:
http://www.idevelopment.info/data/Oracle/DBA_tips/Data_Guard_9i/DG_70.shtml
2> question is all together seperate,
staying in maximum availability mode what happens if you use 'LGWR ASYNC' or 'ARCH' for log shipping.
Why I am asking this question is because, oracle recommends to use 'LGWR SYNC AFFiRM' for maximum availability mode.
I have tried before 'LGWR ASYNC' or 'ARCH' in maximum availability mode and it worked.
Has any one tried 'LGWR ASYNC' or 'ARCH' in maximum protection mode. does db freezes or stalls.
3> When database stalls for 2 miuntes when it cannot connect to dataguard in maximum availability mode, I cannot see any trace files generated, nothing is written in alert log and nothing in listener.log
Similar Messages
-
Primary db get error ORA-03113 in maximum protection mode
primary db pfile :
cds.__db_cache_size=230686720
cds.__java_pool_size=4194304
cds.__large_pool_size=4194304
cds.__shared_pool_size=71303168
cds.__streams_pool_size=0
*.archive_lag_target=0
*.background_dump_dest='/opt/oracle/database/cds/bdump'
*.control_files='+data/control01.ctl','+data/control02.ctl'
*.db_name='cds'
*.db_recovery_file_dest_size=2147483648
*.db_recovery_file_dest='+data1'
*.db_unique_name='cds'
*.dg_broker_start=FALSE
*.fal_client='cds'
*.fal_server='cdssty'
*.log_archive_config='DG_CONFIG=(cds,cdssty)'
*.log_archive_dest_1='LOCATION=+data2 VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=cds'
*.log_archive_dest_2='SERVICE=cdssty LGWR SYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=cdssty'
*.log_archive_dest_state_2='ENABLE'
cds.log_archive_format='%t_%s_%r.dbf'
*.log_archive_max_processes=1
*.log_archive_min_succeed_dest=1
*.sga_target=300m
*.standby_archive_dest='+data2'
*.standby_file_management='AUTO'
*.undo_management='auto'
*.undo_tablespace='undocds01'
*.user_dump_dest='/opt/oracle/database/cds/udump'
standby db pfile :-
cdssty.__db_cache_size=213909504
cdssty.__java_pool_size=4194304
cdssty.__large_pool_size=4194304
cdssty.__shared_pool_size=88080384
cdssty.__streams_pool_size=0
*.archive_lag_target=0
*.background_dump_dest='/opt/oracle/database/cdssty/bdump'
*.control_files='+DATA01/control01.ctl','+DATA01/control02.ctl'#Restore Controlfile
*.db_file_name_convert='+data','+data01'
*.db_name='cds'
*.db_recovery_file_dest_size=2147483648
*.db_recovery_file_dest='+data02'
*.db_unique_name='cdssty'
*.dg_broker_start=FALSE
*.fal_client='CDSSTY'
*.fal_server='CDS'
*.log_archive_config='DG_CONFIG=(cdssty,cds)'
*.log_archive_dest_1='LOCATION=+data03 VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=cdssty'
*.log_archive_dest_2='SERVICE=cds LGWR SYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=cds'
cdssty.log_archive_dest_state_1='ENABLE'
cdssty.log_archive_format='%t_%s_%r.dbf'
*.log_archive_max_processes=1
*.log_archive_min_succeed_dest=1
cdssty.log_archive_trace=0
*.log_file_name_convert='+data','+data01'
*.sga_target=300m
*.standby_archive_dest='+data03'
cdssty.standby_archive_dest='+DATA03'
*.standby_file_management='AUTO'
*.undo_management='auto'
*.undo_tablespace='undocds01'
*.user_dump_dest='/opt/oracle/database/cdssty/udump'
primary database is in maximum protection mode
stanbdy db has two standby redolog file groups
llistener at both the end is up
when i try to open primary databsae i get the error blow:
ERROR at line 1:
ORA-03113: end-of-file on communication channel
i read the alert log and its log are as blow:
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Wed Nov 7 04:28:00 2012
alter database open
Wed Nov 7 04:28:01 2012
LGWR: STARTING ARCH PROCESSES
ARC0: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
ARC0 started with pid=16, OS id=13841
Wed Nov 7 04:28:01 2012
LGWR: Primary database is in MAXIMUM PROTECTION mode
LGWR: Destination LOG_ARCHIVE_DEST_1 is not serviced by LGWR
LGWR: Minimum of 1 synchronous standby database required
Wed Nov 7 04:28:01 2012
Errors in file /opt/oracle/database/cds/bdump/cds_lgwr_13720.trc:
ORA-16072: a minimum of one standby database destination is required
Wed Nov 7 04:28:01 2012
Errors in file /opt/oracle/database/cds/bdump/cds_lgwr_13720.trc:
ORA-16072: a minimum of one standby database destination is required
LGWR: terminating instance due to error 16072
Instance terminated by LGWR, pid = 13720
and the contents of /opt/oracle/database/cds/bdump/cds_lgwr_13720.trc are:
/opt/oracle/database/cds/bdump/cds_lgwr_13720.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
ORACLE_HOME = /opt/oracle/product
System name: Linux
Node name: Host1
Release: 2.6.18-128.el5
Version: #1 SMP Wed Dec 17 11:42:39 EST 2008
Machine: i686
Instance name: cds
Redo thread mounted by this instance: 1
Oracle process number: 6
Unix process pid: 13720, image: oracle@Host1 (LGWR)
*** 2012-11-07 04:28:01.123
*** SERVICE NAME:() 2012-11-07 04:28:01.122
*** SESSION ID:(45.1) 2012-11-07 04:28:01.122
Destination LOG_ARCHIVE_DEST_1 is not serviced by LGWR
Standby database verification failed:16072
ORA-16072: a minimum of one standby database destination is required
error 16072 detected in background process
ORA-16072: a minimum of one standby database destination is required
if i open primary db in maximum availability mode its working fine ..
the problme is only with maximum protection mode
plz tell me what is wrong with my configurationhi thanx again,
i read both the oracle links u suggest me in your previous post ,but i have not found any thing like,min 2 standby database require for maximum protection mode,
in first link :-
5.6.1.1 Maximum Protection Mode
This protection mode ensures that no data loss will occur if the primary database fails. To provide this level of protection, the redo data needed to recover each transaction must be written to both the local online redo log and to the standby redo log on at least one standby database before the transaction commits_. To ensure data loss cannot occur, the primary database shuts down if a fault prevents it from writing its redo stream to at least one remote standby redo log. For multiple-instance RAC databases, Data Guard shuts down the primary database if it is unable to write the redo records to at least one properly configured database instance. The maximum protection mode requires that at least one standby instance has a standby redo log and the LGWR, SYNC, andAFFIRM attributes be used on the LOG_ARCHIVE_DEST_n parameter for this destination.
and second link:-
Maximum protection This protection mode ensures that no data loss will occur if the primary database fails. To provide this level of protection, the redo data needed to recover each transaction must be written to both the local online redo log and to the standby redo log on at least one standby database before the transaction commits_. To ensure data loss cannot occur, the primary database shuts down if a fault prevents it from writing its redo stream to the standby redo log of at least one transactionally consistent standby database.
Plz correct me if i m wrong
thanx in advance -
Maximum Availability Architecture (MAA)
Hi
We are planning to implement Oracleâs Maximum Availability Architecture (MAA).
Does anyone have experience implementing MAA? Can you please provide any guidelines?
Is it possible to set up active/active cluster setup in Oracle 9.2.0.5.0 (Sun Solaris version 9)
Thank you
RamHi
We are thinking of implementing 2 nodes cluster per site. We have 2 sites, one is primary site and other one is secondary site (the sites are 3000KM apart). Plan to use Data Guard (physical maximum availability option).
1)We like to reduce the switchover/Failover time in the cluster setup. Any idea?
Thank you
Ramani -
MAXIMUM availability with delay
Hi guys,
I am running a dataguard instance with cascaded log shipping currently in MAXIMUM AVAILABILITY mode. We have the following setup. Primary and standby in London and the cascaded standby ( ie. standby shipping logs further to another standby in New york ) is in New york. Now, I need to run the new york standby 3 hours behind. So, is it possible to run the one of the databases in the standby configuration to run behind with the DELAY parameter ? Anyone tried it ? I read in the documentation that the LOG_ARCHIVE_DEST cannot have DELAY parameter while running in MAX AVAILABILITY mode.
Can someone shed light on this ?
BTW, I don't want to change the configuration between both database here in London. They will be running with MAX AVAILABILITY. It is only from the standby to another standby in NEW YORK I wan't the LAG
Thanks in advance
Regards
Edited by: USER101 on Oct 12, 2010 5:16 PMHi,
You can write to standby redo logs and archive the same and now try to make a 3 hours detail using in applying the shipped archive log standby.
Also please read ARCHIVE_LAG_TARGET parameter.
Kind Regards,
Rakesh Jayappa -
Configuring maximum protection mode in dataguard with oracle 10g
Dear All,
I am facing a big problem in my configuration for oracle dataguard in maximum protection mode. as per oracle documentation i have done the following.
on the primary database i configured the floowing parameter.
LOG_ARCHIVE_DEST_2='SERVICE=CDER LGWR SYNC AFFIRM
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
DB_UNIQUE_NAME=CDER'
on the standby i configured the following parameters.
LOG_ARCHIVE_DEST_2='SERVICE=REDC LGWR SYNC AFFIRM
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
DB_UNIQUE_NAME=REDC'
i created standby redo logs on the standby database as per documentation.
I shut down the primary database and started it in mount stage and i executed the following commands.
SQL> ALTER DATABASE SET STANDBY DATABASE TO MAXIMIZE PROTECTION
after database was sucessfully alterd, i execute it the following command to open the database.
SQL > ALTER DATABASE OPEN;
what is happening is that i am recieving the Error end of communication channel and also after i look at the log file the following error is in place
Thu Jul 22 23:33:37 2010
Errors in file c:\oracle\product\10.2.0\admin\redc\bdump\redc_psp0_1088.trc:
ORA-16072: a minimum of one standby database destination is required
though when i reset the dataguard to maximize performance it work really successful and the database open;
please guys guide me through thisyou got it
redc.__db_cache_size=1056964608
redc.__java_pool_size=16777216
redc.__large_pool_size=16777216
redc.__shared_pool_size=318767104
redc.__streams_pool_size=0
*.audit_file_dest='C:\oracle\product\10.2.0\admin\REDC\adump'
*.background_dump_dest='C:\oracle\product\10.2.0\admin\REDC\bdump'
*.compatible='10.2.0.3.0'
*.control_files='C:\oracle\product\10.2.0\oradata\REDC\control01.ctl','C:\oracle\product\10.2.0\oradata\REDC\control02.ctl','C:\oracle\product\10.2.0\oradata\REDC\control03.ctl'
*.core_dump_dest='C:\oracle\product\10.2.0\admin\REDC\cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=8
*.DB_FILE_NAME_CONVERT='C:\oracle\product\10.2.0\oradata\CDER','C:\oracle\product\10.2.0\oradata\REDC','D:\oracle\oradata\CDER','D:\oracle\oradata\REDC'
*.db_name='REDC'
*.DB_UNIQUE_NAME='REDC'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=REDCXDB)'
*.FAL_CLIENT='REDC'
*.FAL_SERVER='CDER'
*.job_queue_processes=10
*.LOG_ARCHIVE_CONFIG='DG_CONFIG=(REDC,CDER)'
*.LOG_ARCHIVE_DEST_1='LOCATION=D:\oracle\Archives
VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
DB_UNIQUE_NAME=REDC'
*.LOG_ARCHIVE_DEST_2='SERVICE=CDER LGWR SYNC AFFIRM
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
DB_UNIQUE_NAME=CDER'
*.LOG_ARCHIVE_DEST_STATE_1='ENABLE'
*.log_archive_dest_state_2='ENABLE'
*.LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'
*.LOG_ARCHIVE_MAX_PROCESSES=5
*.LOG_FILE_NAME_CONVERT='D:\oracle\Archives','D:\oracle\Archives'
*.open_cursors=300
*.pga_aggregate_target=471859200
*.processes=150
*.REMOTE_LOGIN_PASSWORDFILE='EXCLUSIVE'
*.sga_target=1417674752
*.STANDBY_FILE_MANAGEMENT='AUTO'
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='C:\oracle\product\10.2.0\admin\REDC\udump' -
Multiplexing Redo Log and maximum protection mode.
Assume that during writing into redo logs the instance crashes. As a result, members of active redo group are not synchronized, some of them had more data. How Oracle will handle this when instance starts? And there can be case when at startup time some members that had more redo before crash, are lost.
Now assume that we have standby database with maximum protection mode. After LGWR has written to local redo logs and before writing to standby redo logs, primary instance crashes. In this case standby site lost last transaction.
Is it correct? Thanks.Assume that during writing into redo logs the instance crashes. As a result, members of active redo group are not synchronized, some of them had more data. How Oracle will handle this when instance starts? And there can be case when at startup time some members that had more redo before crash, are lost.
Members of a particular group are written concurrently by LGWR, all members of a log group will have same data. If any member of a particular group is lost or not reachable, oracle will read from the available log member during instance recovery.
Multiplexing Redo Log Files
http://docs.oracle.com/cd/B19306_01/server.102/b14231/onlineredo.htm#i1006249
To answer your second question,In this mode no transaction commits on primary unless the redo is also written on atleast one standby database, otherwise primary will go down.
Check below
Maximum Protection
http://docs.oracle.com/cd/B28359_01/server.111/b28294/protection.htm#CHDHFHJI -
Can fast start failover be achieved in maximum performance mode
In a physical standby I would like to know if it is possible to configure High Availability in async mode to achieve fast-start failover? If so, please briefly describe how. Thanks
I've always said, size doesn't matter to Data Guard except when you are creating a standby database. After that it is the amount of Redo that is generated by the Primary database. A failover is a failover, for a 10GB database or for a 60TB database. The scary part is having to get the old Primary back up as a standby as quickly as possible.
Of course if the original Primary is completely toast then you have to recreate it with a new backup of the new primary or use a backup of the original Primary that happens to be on the Primary system and restore it as a standby and let Data Guard catch it up with the current state of affairs.
But, if the original Primary is still intact then you can use flashback database to reinstate it as a physical standby with little effort and no major backup restores. And of course, that is one of the requirements of Fast-Start Failover (FSFO). To enable it you have to have flashback database enabled on both the Primary and the FSFO target standby. Since enabling FB Database requires the database to be at the mount state I would suggest you enable it right after the upgrade to 11g.
When FSFO triggers a failover after a failure of the Primary, the Observer will automatically re-instantiate the failed Primary as a standby when it is started again and then it will be resynchronized with the new Primary automatically by Data Guard as normal.
The only difference between Maximum Availability FSFO and Maximum Performance FSFO is that you have to decide how much data you are will to lose when a failover occurs and tell the Broker by configuring the FastStartFailoverLagLimit property (see section 9.2.12 of the Broker manual).
You also want to be sure to place the Observer on a system where it is not affected by the Primary or Standby server going down or a network break between the Primary and the Standby. And if you can, use Grid Control. When you enable FSFO in Grid Control (on the Data Guard home page) you can specify 2 systems where the Observer can live. If it goes down on the original system an atempt will be made to restart it there. If that system if no longer available then Grid Control will attempt to start a new Observer on the 2nd system.
I would highly recommend you read the section [5.5 Fast-Start Failover|http://download.oracle.com/docs/cd/B28359_01/server.111/b28295/sofo.htm#i1027843] for lots of good information. And of course, the [Data Guard 11g Handbook|http://www.amazon.com/Oracle-Guard-Handbook-Osborne-ORACLE/dp/0071621113] (sorry, still plugging the book :^)
Larry -
Maximum Protection mode with multiple guaranteed Standby destinations
Hello,
We have the requirement to have our database in 3 locations, so we have 1 primary and 2 standbys. High Availbility is not that important as data protection.
With maximum protection it's possible to guarantee the data replication to 1 standby database. If no standby is available the database stalls.
Our requirement is, that the data must be replicated to 2 standby databases. If this is not possible because of a network outage or server crash on a standby db, the primary should stall.
I know with this setup, the availablity will be lowered, but would it be possible to do this with dataguard? (RAC is not an option)
Thanks and Regards
ThomasHello again;
OK, I understand now. That sounds like a custom job. I'm not aware of a parameter which controls that number.
You could comb Chapter 8 of the "Oracle Data Guard 11g handbook", but I'm not finding anything there.
I believe the SYNC part of this ( Maximum Protection ) may have you covered, but if you had multiple standby's I still don't have a setting like you want.
Oracle Maximum Availability Architecture White Papers which may provide additional information :
Rapid Oracle RAC Standby Deployment: Oracle Database 11g Release 2
Switchover and Failover Best Practices
Client Failover Best Practices for Highly Available Oracle Databases
Oracle Data Guard with Oracle Database 11g Release 2
Best Regards
mseberg
Edited by: mseberg on Mar 15, 2012 9:04 AM -
Database shutdowns in Maximum Protection mode
Hi,
I am using oracle dataguard 11g(11.2.0.1.0) on OEL5. My dataguard is working fine in MAXIMUM PERFORMANCE mode. But when i try to put my database mode in MAXIMUM PROTECTION MODE my database gets shutdown.What could be the possible reason for this????
Regards,
007Hello;
Quote "To ensure that data loss cannot occur, the primary database will shut down, rather than continue processing transactions, if it cannot write its redo stream to at least one synchronized standby database"
Section - 1.4 Data Guard Protection Modes - Data Guard Concepts and Administration 11g Release 2 (11.2) E10700-02
From section 5.1 of the same document ( Maximum Protection )
"Oracle recommends that a minimum of two standby databases be used to
protect a primary database that runs in maximum protection mode to prevent a single
standby database failure from causing the primary database to shut down."
Best Regards
mseberg -
Siebel Maximum Availability Architecture Webinar
Oracle invites you to a webinar on Leading Practices of Application Management.
This webinar reviews best practices for the Oracle technology stack and how customers using Oracle's Siebel Customer Relationship Management are leveraging Oracle Real Application Clusters (Oracle RAC); Oracle Clusterware, including disaster recovery strategies; Oracle Enterprise Manager and Maximum Availability Architecture to get peak availability out of their Siebel implementation.
Date & Time: 1/13/2009, 11 a.m. PST / 2 p.m. EST
Presenter: Richard Exley; Consulting Member of Technical Staff, Maximum Availability Architecture
Registration: http://conference.oracle.com/imtapp/app/conf_enrollment.uix?mID=130803325
Passcode: applicationHi Chung,
I will do my best to attend. Will also pass the word along to our customer base.
R
Robert Ponder
Lead Architect and Director
Ponder Pro Serve
cell: 770.490.2767
fax: 770.412.8259
email: [email protected]
web: www.ponderproserve.com -
To convert standby from maximum performance to maximum availability
Hi,
I have configured a standby to primary (version:10.2.0). But it is in maximum protection mode. When a logswitch has been done then it is applied at the standby site.
Now I want to convert to maximum availability such that any updation should be applied at the standby.
Can I get the procedure, how should it be done.
thankyou
satyanaghi
First add standby logfiles to database then follow these commands..
1. set LGWR,SYNC and AFFIRM attributes in the archive destination on primary database.
2. issue this command on primary in mount stage.
ALTER DATABASE SET STANDBY DATABASE TO MAXIMIZE AVAILABILITY
3. Then go to standby ..issue this command...(assuming standby in shutdown mode)
a.startup nomount
b.alter database mount standby database.
c. Alter database recover managed standby database using current logfile;
this last command will not return the cursor..it keeps running....
Now u can check by creating a table on primary ...In case any more detail required then please post the message..
hope it works for u.. -
Maximum Availability to Maximum Performance.
steps to change from Maximum Availability to Maximum Performance.
SQL> select protection_mode from v$database;
PROTECTION_MODE
MAXIMUM AVAILABILITY
we need to come down to maximum performance mode due to some performance issues..any suggestions for the steps?Hi Raman,
Perform below steps:
1) shutdown immediate
2) Startup mount
3)SQL> ALTER DATABASE SET STANDBY DATABASE TO MAXIMIMUM PERFORMANCE;
4)SQL> ALTER DATABASE OPEN;
Note: Issue all these commands on primary server
Hope this should work
Regards,
X A H E E R -
Real-time apply in Maximum Performance Mode Not Working
We have configured physical standby database in maximum performance mode. It's working perfectly fine. Archive logs are being applied to the physical standby.
We can open the DB in read-only mode, but real-time apply is not working. Physical standby database is lagging behind the primary db by an archive log. As soon as primary database generates an archive log, it's transported over to the standby and applied immediately by the media recovery process. But real-time redo is not working. Standby redo logs have been configured.
On Physcial Standby:
SQL> alter database recover managed standby database using current logfile disconnect ;
Database Altered.
SQL> select group#, DBID, status,first_time, last_time from v$standby_log ;
GROUP# DBID STATUS FIRST_TIM LAST_TIME
4 UNASSIGNED UNASSIGNED
5 UNASSIGNED UNASSIGNED
6 UNASSIGNED UNASSIGNED
7 UNASSIGNED UNASSIGNED
SQL> select * from v$dataguard_stats ;
NAME
VALUE
UNIT TIME_COMPUTED
apply lag
+00 00:31:36
day(2) to second(0) interval 22-JUN-2010 08:42:06
transport lag
+00 00:31:34
day(2) to second(0) interval 22-JUN-2010 08:42:06
As you could see from the output above, value of transport and apply lag is equal to the elapsed time since last archive log switch.
********* Standby init.ora
db_name = CPRD
db_unique_name = CPRDS
instance_name = CPRD
service_names = hrDBSBY.WORLD
log_archive_format = CPRD%r%s.%t
log_archive_dest_1 = "location=f:\orarch\hresysprod"
log_archive_dest_2='service=hresysprod async db_unique_name=cprd valid_for=(primary_role,online_logfile)'
log_archive_config='dg_config=(cprd,cprds)'
fal_server=hresysprod
fal_client=hresysprods
standby_file_management=auto
log_archive_trace=1
log_file_name_convert = ('hresysprod','hresysprods')
db_file_name_convert = ('hresysprod','hresysprods')
remote_login_passwordfile = exclusive
******* Primary init.ora
log_archive_config='dg_config=(cprd,cprds)'
fal_server=hresysprods
fal_client=hresysprod
standby_file_management=auto
log_archive_format = CPRD%r%s.%t
log_archive_dest_1 = "location=f:\orarch\hrESYSPROD"
log_archive_dest_2='service=hresysprods async db_unique_name=cprds valid_for=(primary_role,online_logfile)'
log_archive_trace=1
remote_login_passwordfile = exclusive
Please advise.
Thanks,
jayHi,
In your case you are using ARC process for redo transfer as you have not specified any process in log_archive_dest_2 and default is arch.
I will suggest you to use LGWR to transfer the redo to standby and also check the size of standby redo logs on standby is same to the size of online redo logs on primary
Regards
Anudeep -
9i Dataguard Problem in MAXIMUM PROTECTION mode
Dear All
Hi
I have 9i Rel 2 (9.2.07) dataguard environment on Linux Redhat Advanced Server 3
The Pretenction mode is Maximum Protection
One day I noticed that my dataguard Database is about 100 log files before than the Primary:
On priamry the current log sequence# was 7804
But in standby the last log that was transfered and applied was 7716
In primary I executed the following select:
SQL> Select protection_mode , protection_level from v$database;
the result was:
protection_mode=MAXIMUM PROTECTION
protection_level=SYNCHRONIZING
What I want to know is:
Why the primary database did not become shutdown when it is in MAXIMUM PROTECTION mode and why it has continued working when the log files could not transfer to standby database ????
Thank you in advance for your replyAnybody any idea ??????
-
Trying to get out of Maximum Runtime Mode?
I just got a ThinkPad X100e and notice the Power management is in Maximum Runtime Mode - is there a way to change this to a more performance-oriented mode?I can't seem to find a setting for this aspect.
- Maurice
Solved!
Go to Solution.paulobe2, welcome to the forum,
you can find it and other drivers / utilities for your X100e in the X100e Driver Matrice.
Andy ______________________________________
Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
Deutsche Community Comunidad en Español English Community Русскоязычное Сообщество
PepperonI blog
Maybe you are looking for
-
How to restore the backup files on time capsule after reinstalled the system
please can someone help me to restore my backups on time capsule after reinstalled the new system. I tried after finished reinstall but it could not find. I also tried with the migration assistant in utilities, it also doesn't work. I always have tim
-
One line item delivery for 3rd party sales order
Hello Experts, We have configured a 3rd party sales order process where the PR gets created. We are using scheduling agreement(PO) and creating Schedule line and doing a GR for partial line items. The stock is recieved as a Sales Order stock. But wh
-
Is it possible to upgrade a white Macbook (2007) to a unibody macbook, either the white or the aluminum? Is this something Apple offers?
-
Want o add button to application toolbar of CO12
Hi, I want to add one button to application tool bar of CO12 transaction. Let me know the procedure to achieve the same Thanks in advance, Nag
-
Reference customer field is missing in FPP1
Dear Experts, In FPP1 reference customer field is missing. How to get the field,i checked in BUPT transactions. Regards, Nags