Question on Active Dataguard
Version : 11.2
OS Platform : Solaris 10
I have only worked with 10GR2 physical standby databases. Now we are going to install 11.2 on solaris.
Read about 11g's Active Dataguard feature by which applications can connect to the standby DB for read only operations.
Once Active Dataguard feature is enabled (yet to learn ) , If the primary DB is heavily loaded and a session fires a resource intensive SELECT query, Which process will re-direct this SELECT to the less loaded Standby DB ? Is it the listener like it does in RAC ?
Hello;
Active Data Guard is a "Reader" database. I don't believe there's a process which will auto off load to it.
So its great for reporting etc.
Another Active Data Guard option is that it enables RMAN fast incremental backups on the Active Data Guard physical standby.
This is another potential way of offloading some processing from the production database to the standby database.
Active Data Guard is an extra License option and other than a few alter database commands its pretty simple.
alter database recover managed standby database cancel;
alter database open; http://oracle.techdata.ch/src/data/pdf/Active_Data_Guard.pdf
Also worth a look :
Bug 7633734 : DG ADMIN PAGE REAL TIME QUERY SHOWS DISABLED WHEN ENABLED FOR 11.2 DATABASES
Best Regards
mseberg
Similar Messages
-
Oracle Active Dataguard 11g - Passwords
Hi all
Environment description: Production database, 11.2.0.3 version, standalone running on Solaris and an Oracle Active Dataguard database in read only mode, same version and operating system.
Question: The users passwords and sys/system passwrod (orapw ) could be different in the ADG environment? I mean, could the orapwd file and user password be changed in the Dataguard database ?
Thanks a lot.user1687821 wrote:
Hi All,
Please suggest a good step by step guide to implement Oracle Active Dataguard on Oracle 11g, OS : RHEL 5.4
Have searched a couple of documents, but ending up with physical or logical dataguard setup guides...
Please suggest end to end steps guide for Active Dataguard Implementation
DB : Oracle 11g Release 2
OS : RHEL 5.4
ThanksHi,
Active dataguard is option after configuring dataguard.
You can put standby database in Open(read only) mode also you can enable Recover(MRP) while open so this can be used for reporting purpose too.
Please refer below links for configuring them.
http://www.oracle-class.com/wp-content/uploads/2011/01/dataguard/11gR2%20Physical%20Data%20Guard%20Setup%20%20project,%20with%20Active%20Data%20Guard%20option.pdf
http://www.databasejournal.com/features/oracle/article.php/3834931/Using-Oracle-11gs-Active-Data-Guard-and-Snapshot-Standby-Features.htm
http://www.oracle-base.com/articles/11g/DataGuardSetup_11gR2.php
http://www.oracle.com/technology/deploy/availability/pdf/maa_wp_11gr1_activedataguard.pdf
HTH. -
Enabling the Active Dataguard and Real Time Apply
11.2.0.2 on AIX
I gather that , to enable Active Dataguard, you need to execute
STARTUP ; ----not startup mount
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;The above commands will enable both Active Dataguard (Real Time QUERY) and Real Time Apply. Right?
To enable just 'Real Time Apply' , I need to
startup mount
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;Am I right ?
Question on 'WITH SESSION SHUTDOWN' clause
While googling I've come across the following variant with an additonal 'WITH SESSION SHUTDOWN' clause
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE WITH SESSION SHUTDOWN;What difference does this clause bring ?
Is this claused used to enable Active Dataguard feature or 'Real Time Apply' or both ?I gather that , to enable Active Dataguard, you need to execute
STARTUP ; ----not startup mount
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;
The above commands will enable both Active Dataguard (Real Time QUERY) and Real Time Apply. Right? Yes, It will be in both recovery / realtime + Read only mode, Also you can use
To enable just 'Real Time Apply' , I need to
startup mount
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;Am I right ?Yes. It will be in just recovery/real time mode.
Question on 'WITH SESSION SHUTDOWN' clause
While googling I've come across the following variant with an additonal 'WITH SESSION SHUTDOWN' clause
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE WITH SESSION SHUTDOWN;What difference does this clause bring ?
Is this claused used to enable Active Dataguard feature or 'Real Time Apply' or both ?It has multiple options based on startup type
For this example check link of Julian Dyke.
http://juliandyke.wordpress.com/2010/10/14/oracle-11gr2-active-data-guard/ -
Hi All,
Can any one provide me a link or tell me, which is the underlying technology on which the active dataguard works?
I mean the details functioning of how active dataguard lets us put the database in read only mode and also keeps the standby database in sync with the Prod.
I know this is a kind of doc question but I did look for it in the docs but I couldnt get what I was looking for.
Regards,
SphinxHi Sphinx,
In 11g the standby database is also called active standby database, coz you can read the database(ie, you can query using select statement) and at same time log shipping also will occur. Flashback database feature is must and should be enabled at both primary and standby databases, So that you can open the standby database in read/write mode which is called snapshot standby database. The reason is , when you open the standby database in read/write mode, it will create a snapshot(restore point) at that state using the flashback what you have enabled. when the snapshot is again converted to active standby (read/log apply), the standby database will be restored using the restore point what its create at the time snapshot standby. So both Active standby and flashback database feature tightly coupled to give us a great option to work with.
Hope this helps.
Regards,
Pradeep. V -
Active dataguard for Oracle 10g SE
Hi all,
I am having Oracle 10g SE and i need to ship the logs to the standby can i use active dataguard for this.
Regards,
Bobsuser12119634(bobs) wrote:
1)If i am having oracle 10g EE can i go for dataguard.Active DataGuard is a paid option of EE, you need to buy it additionally to EE.
But DG is being installed by default in EE.
2)If i am having 11g SE can i go for Active data guard.You must upgrade your license and buy Active DataGuard option, then upgrade installed Oracle software and database itself.
And if it is userbased licence can i use dataguard in Oracle 10g SE.There is no dataguard in SE, there is just a manual applied standby.
Difficult question. Some of Oracle resellers said, that manual standby is a backup option of SE, some of them said, that standby DB must be licensed as a primary.
So you must contact to yours and discuss this.
And also in 11g SE its userbased can i go for active dataguard.The same to 11g -
Rman duplicate on Active dataguard physical standby
In DR site. i have to clone the database from pshysical standby database and clone db will be normal db not standby. Is it possible to do rman duplicate from active dataguard? will it support the duplicate database from active database or i have to take the rman backup of standby database and duplicate from backup piece. please advise
Please check below link
http://odenysenko.wordpress.com/2012/03/26/rman-duplicate-from-active-database-from-standby-ends-with-ora-01671/
Hope this answers all your questions,
Regards,
http://www.oracleracexpert.com
ORA-01031: insufficient privileges
http://www.oracleracexpert.com/2013/02/ora-01031-insufficient-privileges.html
Error while loading shared libraries: libdb.so.2 - After Migrating REHL4 to REHL5
http://www.oracleracexpert.com/2013/01/error-while-loading-shared-libraries.html -
Configuring Active Dataguard- Error comes while taking rman backup
Hi All,
I'm following this( http://wiki.oracle.com/page/11gR2+Data+Guard+Setup+project+Part5 ) article to configure a active dataguard. And i have successfully completed lot of steps up to now.
But im getting an error when i'm trying to complete the step 10 under chapter 5 (creating stand by)
step 10
10- OK, here we go, log into RMAN and run the following script. This script will create the standby database
At the command prompt type in rman
when rman launches connect to the target and auxiliary databases
connect target sys/michael@MS112DGP
connect auxiliary sys/michael@MS112DGS
here is my one... my primary db is called as dgp and my stand by is dgs
this is the error im getting... :(
[oracle@dgs ~]$ rman
Recovery Manager: Release 11.2.0.1.0 - Production on Sat Apr 23 09:54:40 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN> connect target sys/oracle@dgp
connected to target database: DGP (DBID=1555810211)
RMAN> connect auxiliary sys/oracle@dgs
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-04006: error from auxiliary database: ORA-12528: TNS:listener: all appropriate instances are blocking new connections
RMAN>
can anybody please help me to sort this out. once i solved this i can complete my first dataguard :)
Thanks in advance
MaxHello Sb,
[oracle@dgs admin]$ lsnrctl stop
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 23-APR-2011 21:28:02
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
The command completed successfully
[oracle@dgs admin]$ mv listener.ora listener.ora_bkp
[oracle@dgs admin]$ ll
total 16
-rw-r--r-- 1 oracle oinstall 471 Apr 17 09:25 listener.ora_bkp
drwxr-xr-x 2 oracle oinstall 4096 Apr 15 14:18 samples
-rw-r--r-- 1 oracle oinstall 187 May 9 2007 shrept.lst
-rw-r--r-- 1 oracle oinstall 506 Apr 17 09:07 tnsnames.ora
[oracle@dgs admin]$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 23-APR-2011 21:28:26
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Starting /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Log messages written to /u01/app/oracle/diag/tnslsnr/dgs/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dgs.oracle.com)(PORT=1521)))
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 23-APR-2011 21:28:26
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File /u01/app/oracle/diag/tnslsnr/dgs/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dgs.oracle.com)(PORT=1521)))
The listener supports no services
The command completed successfully
[oracle@dgs admin]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 23-APR-2011 21:28:37
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 23-APR-2011 21:28:26
Uptime 0 days 0 hr. 0 min. 10 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File /u01/app/oracle/diag/tnslsnr/dgs/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dgs.oracle.com)(PORT=1521)))
The listener supports no services
The command completed successfully
[oracle@dgs admin]$
Thanks,
Max -
Buffer busy waits on UNDO data in Active Dataguard
Oracle Version: 11.1.0.7.0
Active Dataguard
Statspack has been configured for Active Dataguard on Primary database.
We got an spike of Buffer busy waits for about 5 min in Active Dataguard, this was causing worse Application SQL's response time during this 5 min window.
Below is what i got from statspack report for one hour
Snapshot Snap Id Snap Time Sessions Curs/Sess Comment
~~~~~~~~ ---------- ------------------ -------- --------- -------------------
Begin Snap: 18611 21-Feb-13 22:00:02 236 2.2
End Snap: 18613 21-Feb-13 23:00:02 237 2.1
Elapsed: 60.00 (mins)
Top 5 Timed Events Avg %Total
~~~~~~~~~~~~~~~~~~ wait Call
Event Waits Time (s) (ms) Time
buffer busy waits 2,359 2,133 904 76.2
reliable message 7,210 179 25 6.4
parallel recovery control message reply 8,831 109 12 3.9
CPU time 100 3.6
latch free 13 85 6574 3.1
Host CPU (CPUs: 16)
~~~~~~~~ Load Average
Begin End User System Idle WIO WCPU
1.07 0.82 0.68 0.39 98.88 0.00Since this is 11g version I was able to drill down on the segment on which buffer busy waits were occurring by using v$active_session_history on Active Dataguard.
SQL> select count(*),p1,p2 from v$active_session_history where event='buffer busy waits' and sample_time between to_date('21-FEB-2013 21:55:00','DD-MON-YYYY HH24:MI:SS') and to_date('21-FEB-2013 22:09:00','DD-MON-YYYY HH24:MI:SS') group by p1,p2
COUNT(*) P1 P2
2136 3 99405
17 3 7293
SQL> select owner,segment_name,segment_type from dba_extents where file_id = 3 and 99405 between block_id AND block_id + blocks - 1
OWNER SEGMENT_NAME SEGMENT_TYPE
SYS _SYSSMU14_1303827994$ TYPE2 UNDO
SQL> select owner,segment_name,segment_type from dba_extents where file_id = 3 and 7293 between block_id AND block_id + blocks - 1;
OWNER SEGMENT_NAME SEGMENT_TYPE
SYS _SYSSMU11_1303827994$ TYPE2 UNDOThought to check the SQL_ID which were waiting on this buffer busy waits.
SQL> select count(*),sql_id,session_state from v$active_session_history where event='buffer busy waits' and sample_time between to_date('21-FEB-2013 21:55:00','DD-MON-YYYY HH24:MI:SS') and to_date('21-FEB-2013 22:09:00','DD-MON-YYYY HH24:MI:SS') group by sql_id,session_state order by 1;
COUNT(*) SQL_ID SESSION_STATE
1 cvypjyh0mm56x WAITING
1 02dtz82as4y42 WAITING
1 80gz2r4hx1wrj WAITING
2 6tfk1t4mwt7hu WAITING
9 0q63qhsbqmpf0 WAITING
12 0jgnx96ur0bmb WAITING
12 7pguapqcc6372 WAITING
14 4t6hqk5r2zbqs WAITING
18 1qwt0qkd59xj3 WAITING
23 5phgg8btvhh6p WAITING
23 banp2v6yttym7 WAITING
30 a1kdmb1x084yh WAITING
30 8hxuagk22f8jz WAITING
30 9r0nysyp360hn WAITING
31 cackx62yu477k WAITING
32 40zxqg1qrdvuh WAITING
32 0jqrd56ds1rbm WAITING
32 7009zmuhvac54 WAITING
38 1jb37ryn1c871 WAITING
60 aum74caa623rs WAITING
63 cr8mv0wawhak9 WAITING
63 3xgk3vsh3nm08 WAITING
86 3k9cq3jv0c3rg WAITING
95 0sy9vjuutgwqu WAITING
122 bhn2kk76wpg12 WAITING
134 4pkfqgyt7rh34 WAITING
139 1sbzsw7y88c7t WAITING
146 92y0ha2nqd6zj WAITING
163 djjqcp1sg2twb WAITING
173 arxq6au12zazw WAITING
256 fa0gzxmgyyxj2 WAITING
282 2f17qywcgu751 WAITINGSo top 10 sql_id's were on tables TAB1 and TAB2 under schemas SCHEMA1 to SCHEMA8.
Checked DML's occurred on Primary using dba_tab_modifications view since last stats job ran on these was about 10 hours ago from when the issue occurred on Active Dataguard.
SQL> select TABLE_OWNER,TABLE_NAME,INSERTS,UPDATES,DELETES from dba_tab_modifications where TABLE_NAME='TAB1' order by 3;
TABLE_OWNER TABLE_NAME INSERTS UPDATES DELETES
SCHEMA1 TAB1 4448 0 3728
SCHEMA2 TAB1 4547 0 4022
SCHEMA3 TAB1 4612 0 4152
SCHEMA4 TAB1 4628 0 3940
SCHEMA5 TAB1 4719 0 4258
SCHEMA6 TAB1 4809 0 4292
SCHEMA7 TAB1 4853 0 4356
SCHEMA8 TAB1 5049 0 4536
SQL> select TABLE_OWNER,TABLE_NAME,INSERTS,UPDATES,DELETES from dba_tab_modifications where TABLE_NAME='TAB2' order by 3;
TABLE_OWNER TABLE_NAME INSERTS UPDATES DELETES
SCHEMA1 TAB2 25546 0 26360
SCHEMA2 TAB2 26728 0 27565
SCHEMA3 TAB2 27403 0 27763
SCHEMA4 TAB2 27500 0 28149
SCHEMA5 TAB2 28408 0 30440
SCHEMA6 TAB2 30453 0 31906
SCHEMA7 TAB2 31469 0 31988
SCHEMA8 TAB2 32875 0 34670 But confused about Why there could sudden spike of demand on UNDO data in Active Data Guard ? Could any one please shed some lights on finding the reason for this issue ?But confused about Why there could sudden spike of demand on UNDO data in Active Data Guard ? Could any one please shed some lights on finding the reason for this issue ?It's been interesting, The job runs only on ADG?
Even it is only reporting purposes, Which runs only select statements. Are you sure that issue is only because of this job?
Moreover am interested to know, How you able to monitor at the same time? Using EM?
What all are the jobs ran on primary at the same time?
Then, is it possible to run the job on primary and see whats the response?
I suggest you to run the same job again on standby and see the ET of the job and also gather the statspack to check whether you got same buffer busy waits or not.
What storage you are using for primary and standby? In terms of I/O and performance all are same?
You got chance to take statspack even on primary database?
What are the parameters differ in primary and standby?
Also check this note, Heresome work around provided.
*Resolving Intense and "Random" Buffer Busy Wait Performance Problems [ID 155971.1]* -
My Active dataguard is not applying archives.
Dears,
Following is my setup
=====================
Primary:
prod on RAC with 2 nodes
Database : Oracle 11.2.0.3
OS OEL 5.7
storage : ASM
+DATADG
+FLASHDG
Standby:
sync on single node
Database : Oracle 11.2.0.3
storage : ASM
+DATADG
+FLASHDG
I've configured Active dataguard successfully and was able to apply archivelogs successfully instantly.
Archive log locations are +FLASHDG/prod/ARCHIVELOG/ AND /u02/arch --- on primary
Archive log locations are +FLASHDG/stby/ARCHIVELOG/ AND /u02/arch --- on standby
On Standby
===========
SQL> select 'Using Active Data Guard' ADG from v$managed_standby m,v$database d where m.process like 'MRP%' ;
ADG
Using Active Data Guard
SQL> select open_mode,database_role,PROTECTION_MODE,PROTECTION_LEVEL from v$database;
OPEN_MODE DATABASE_ROLE PROTECTION_MODE PROTECTION_LEVEL
READ ONLY WITH APPLY PHYSICAL STANDBY MAXIMUM PERFORMANCE MAXIMUM PERFORMANCE
SQL>
Upto now everything is ok, means same data is sync on primary and standby. As my archive location was getting full, i've used this SQL query to clean them
SELECT 'alter diskgroup '||dg.name||' drop file
''+'||dg.name||''||SYS_CONNECT_BY_PATH(al.name,'/')||''';'
FROM v$asm_alias al, v$asm_file fi, v$asm_diskgroup dg
WHERE al.file_number = fi.file_number(+)
AND al.group_number = dg.group_number
AND fi.type = 'ARCHIVELOG'
START WITH alias_index = 0
CONNECT BY PRIOR al.reference_index = al.parent_index;
SELECT 'alter diskgroup '||dg.name||' drop file
''+'||dg.name||''||SYS_CONNECT_BY_PATH(al.name,'/')||''';'
FROM v$asm_alias al, v$asm_file fi, v$asm_diskgroup dg
WHERE al.file_number = fi.file_number(+)
AND al.group_number = dg.group_number
AND fi.type = 'BACKUPSET'
START WITH alias_index = 0
CONNECT BY PRIOR al.reference_index = al.parent_index;
In order to delete ARCHIVE logs which are stored in ASM FLASHDG, which will have a type of "ARCHIVELOG" and "BACKUPSET" i've used this above two queries.
After performing this steps , my Active dataguard is not applying archives.
On the primary server, check the latest archived redo log
SELECT sequence#, first_time, next_time
FROM v$archived_log
ORDER BY sequence#;
2809 16-APR-13 16-APR-13
2809 16-APR-13 16-APR-13
2809 16-APR-13 16-APR-13
2810 16-APR-13 16-APR-13
2810 16-APR-13 16-APR-13
2810 16-APR-13 16-APR-13
2811 16-APR-13 16-APR-13
2811 16-APR-13 16-APR-13
2811 16-APR-13 16-APR-13
2812 16-APR-13 16-APR-13
2812 16-APR-13 16-APR-13
2812 16-APR-13 16-APR-13
2813 16-APR-13 16-APR-13
2813 16-APR-13 16-APR-13
2814 16-APR-13 16-APR-13
2814 16-APR-13 16-APR-13
2815 16-APR-13 16-APR-13
2815 16-APR-13 16-APR-13
2816 16-APR-13 16-APR-13
2816 16-APR-13 16-APR-13
2817 16-APR-13 16-APR-13
2817 16-APR-13 16-APR-13
2818 16-APR-13 16-APR-13
2818 16-APR-13 16-APR-13
2819 16-APR-13 16-APR-13
2819 16-APR-13 16-APR-13
2820 16-APR-13 16-APR-13
2820 16-APR-13 16-APR-13
2821 16-APR-13 16-APR-13
2821 16-APR-13 16-APR-13
2822 16-APR-13 16-APR-13
2822 16-APR-13 16-APR-13
2823 16-APR-13 16-APR-13
2823 16-APR-13 16-APR-13
2824 16-APR-13 16-APR-13
2824 16-APR-13 16-APR-13
2825 16-APR-13 16-APR-13
2825 16-APR-13 16-APR-13
2826 16-APR-13 16-APR-13
2826 16-APR-13 16-APR-13
2827 16-APR-13 16-APR-13
2827 16-APR-13 16-APR-13
2828 16-APR-13 16-APR-13
2828 16-APR-13 16-APR-13
2829 16-APR-13 16-APR-13
2829 16-APR-13 16-APR-13
2830 16-APR-13 16-APR-13
2830 16-APR-13 16-APR-13
2831 16-APR-13 16-APR-13
2831 16-APR-13 16-APR-13
2832 16-APR-13 16-APR-13
2832 16-APR-13 16-APR-13
2833 16-APR-13 16-APR-13
2833 16-APR-13 16-APR-13
2834 16-APR-13 16-APR-13
2834 16-APR-13 16-APR-13
2835 16-APR-13 16-APR-13
2835 16-APR-13 16-APR-13
2836 16-APR-13 16-APR-13
2836 16-APR-13 16-APR-13
2837 16-APR-13 16-APR-13
2837 16-APR-13 16-APR-13
2838 16-APR-13 16-APR-13
2838 16-APR-13 16-APR-13
2839 16-APR-13 16-APR-13
2839 16-APR-13 16-APR-13
2840 16-APR-13 16-APR-13
2840 16-APR-13 16-APR-13
2841 16-APR-13 16-APR-13
2841 16-APR-13 16-APR-13
2842 16-APR-13 16-APR-13
2842 16-APR-13 16-APR-13
2843 16-APR-13 16-APR-13
2843 16-APR-13 16-APR-13
2844 16-APR-13 16-APR-13
2844 16-APR-13 16-APR-13
2845 16-APR-13 16-APR-13
2845 16-APR-13 16-APR-13
2846 16-APR-13 16-APR-13
2846 16-APR-13 16-APR-13
Check the new archived redo log has arrived at the standby server and been applied.
SELECT sequence#, first_time, next_time, applied
FROM v$archived_log
ORDER BY sequence#;
2801 15-APR-13 15-APR-13 YES
2801 15-APR-13 15-APR-13 YES
2802 15-APR-13 15-APR-13 YES
2802 15-APR-13 15-APR-13 YES
2803 15-APR-13 15-APR-13 YES
2803 15-APR-13 15-APR-13 YES
2804 15-APR-13 15-APR-13 YES
2804 15-APR-13 15-APR-13 YES
2805 15-APR-13 15-APR-13 YES
2805 15-APR-13 15-APR-13 YES
2806 15-APR-13 15-APR-13 YES
2806 15-APR-13 15-APR-13 YES
2807 15-APR-13 15-APR-13 YES
2807 15-APR-13 15-APR-13 YES
2808 15-APR-13 16-APR-13 YES
2808 15-APR-13 16-APR-13 YES
2809 16-APR-13 16-APR-13 YES
2809 16-APR-13 16-APR-13 YES
2810 16-APR-13 16-APR-13 YES
2810 16-APR-13 16-APR-13 YES
2811 16-APR-13 16-APR-13 YES
2811 16-APR-13 16-APR-13 YES
2812 16-APR-13 16-APR-13 IN-MEMORY
2812 16-APR-13 16-APR-13 YES
So could anyone help me to resolve this issue. Anticipating your response at the earliest.
Regards,
VIKHAR
Edited by: VIKHARAHMED on Apr 16, 2013 9:38 AMHere is the alert log file
Media Recovery Log +FLASHDG/stby/archivelog/2013_04_16/thread_2_seq_1476.1987.812900733
Tue Apr 16 18:56:42 2013
Primary database is in MAXIMUM PERFORMANCE mode
RFS[1]: Assigned to RFS process 16803
RFS[1]: Selected log 12 for thread 2 sequence 1485 dbid 220323208 branch 808484882
Tue Apr 16 18:56:42 2013
RFS[2]: Assigned to RFS process 16807
RFS[2]: Opened log for thread 2 sequence 1484 dbid 220323208 branch 808484882
Archived Log entry 6324 added for thread 2 sequence 1484 rlc 808484882 ID 0xd21a288 dest 10:
Tue Apr 16 19:09:02 2013
RFS[1]: Selected log 11 for thread 2 sequence 1486 dbid 220323208 branch 808484882
Tue Apr 16 19:09:02 2013
Archived Log entry 6325 added for thread 2 sequence 1485 ID 0xd21a288 dest 1:
Archived Log entry 6326 added for thread 2 sequence 1485 ID 0xd21a288 dest 2:
Tue Apr 16 19:12:23 2013
RFS[1]: Selected log 12 for thread 2 sequence 1487 dbid 220323208 branch 808484882
Tue Apr 16 19:12:23 2013
Archived Log entry 6327 added for thread 2 sequence 1486 ID 0xd21a288 dest 1:
Archived Log entry 6328 added for thread 2 sequence 1486 ID 0xd21a288 dest 2:
Tue Apr 16 19:14:41 2013
"alert_stby.log" 845L, 33990C 782,1 94%
Tue Apr 16 19:17:27 2013
Archived Log entry 6331 added for thread 2 sequence 1488 ID 0xd21a288 dest 1:
Archived Log entry 6332 added for thread 2 sequence 1488 ID 0xd21a288 dest 2:
Tue Apr 16 19:25:51 2013
RFS[1]: Selected log 11 for thread 2 sequence 1490 dbid 220323208 branch 808484882
Tue Apr 16 19:25:51 2013
Archived Log entry 6333 added for thread 2 sequence 1489 ID 0xd21a288 dest 1:
Archived Log entry 6334 added for thread 2 sequence 1489 ID 0xd21a288 dest 2:
Tue Apr 16 19:51:02 2013
RFS[1]: Selected log 12 for thread 2 sequence 1491 dbid 220323208 branch 808484882
Tue Apr 16 19:51:02 2013
Archived Log entry 6335 added for thread 2 sequence 1490 ID 0xd21a288 dest 1:
Archived Log entry 6336 added for thread 2 sequence 1490 ID 0xd21a288 dest 2:
Tue Apr 16 20:37:12 2013
RFS[1]: Selected log 11 for thread 2 sequence 1492 dbid 220323208 branch 808484882
Tue Apr 16 20:37:12 2013
Archived Log entry 6337 added for thread 2 sequence 1491 ID 0xd21a288 dest 1:
Archived Log entry 6338 added for thread 2 sequence 1491 ID 0xd21a288 dest 2:
Tue Apr 16 21:08:23 2013
RFS[1]: Selected log 12 for thread 2 sequence 1493 dbid 220323208 branch 808484882
Tue Apr 16 21:08:23 2013
Archived Log entry 6339 added for thread 2 sequence 1492 ID 0xd21a288 dest 1:
Archived Log entry 6340 added for thread 2 sequence 1492 ID 0xd21a288 dest 2:
Tue Apr 16 22:16:06 2013
RFS[1]: Selected log 11 for thread 2 sequence 1494 dbid 220323208 branch 808484882
Tue Apr 16 22:16:06 2013
Archived Log entry 6341 added for thread 2 sequence 1493 ID 0xd21a288 dest 1:
Archived Log entry 6342 added for thread 2 sequence 1493 ID 0xd21a288 dest 2:
Tue Apr 16 22:31:46 2013
RFS[1]: Selected log 12 for thread 2 sequence 1495 dbid 220323208 branch 808484882
Tue Apr 16 22:31:46 2013
Archived Log entry 6343 added for thread 2 sequence 1494 ID 0xd21a288 dest 1:
Archived Log entry 6344 added for thread 2 sequence 1494 ID 0xd21a288 dest 2:
Wed Apr 17 09:31:59 2013
RFS[1]: Selected log 11 for thread 2 sequence 1496 dbid 220323208 branch 808484882
Wed Apr 17 09:32:00 2013
Archived Log entry 6345 added for thread 2 sequence 1495 ID 0xd21a288 dest 1:
Archived Log entry 6346 added for thread 2 sequence 1495 ID 0xd21a288 dest 2: -
Licensing DataGuard and Active DataGuard
can someone help find specifically where the differences between Active Data Guard and Data Guard are documented on Oracle?
Also,
Is Active Dataguard functionallity in 11gR1 and 11gR2, or just R2?
Is Dataguard still included as part of the DB licensing, while Active Dataguard is an additional cost?Hi,
rellimd wrote:
can someone help find specifically where the differences between Active Data Guard and Data Guard are documented on Oracle?data guard documentation:
http://www.oracle.com/pls/db112/portal.portal_db?selected=14&frame=#data_guard
this may be helpful for active dataguard:
http://www.oracle.com/technetwork/database/features/availability/maa-wp-11gr1-activedataguard-1-128199.pdf
there are no special documentation for active data guard on oracle online documentation library.
>
Also,
Is Active Dataguard functionallity in 11gR1 and 11gR2, or just R2?11gR1 and 11gR2
>
Is Dataguard still included as part of the DB licensing, while Active Dataguard is an additional cost?yes -
Question about activating iPhone
I'm getting a iPhone soon, and have a question about activation. Is a credit card or debit card required during activation?
The credit card is used to setup an iTunes Store account, Small tip. Set one up before activation to cut down on activation setup time.
You can remove the credit card info off your iTunes account after it is setup. It is simply used for when you want to purchase music, videos, etc. off the iTunes Store.
If you do not have a credit or debit card, Try going down to your local Walmart or Drug store, Some of these places sell Fillable Credit cards. You can buy the cheapest one they have and use it for Setup of the account. And simply refill it if you need more money for any purchases. -
How to know the delay in redo log apply on Active Dataguard 11g
Hello All,
How to know the delay in redo log apply on Active Dataguard 11g...
Do we need to wait till log switch occurs?
Or is it recommended to schedule a log switch every 15 min, no matter data is updated/inserted or not in primary?
Please suggest...
Oracle : oracle 11g Release 2
OS : RHEL 5.4
Thanks
Edited by: user1687821 on Feb 23, 2012 12:02 AMHello CKPT,
Thank you for the valuable information...
We have not configured databroker.
Output of the query
SELECT * FROM (
SELECT sequence#, archived, applied,
TO_CHAR(completion_time, 'RRRR/MM/DD HH24:MI') AS completed
FROM sys.v$archived_log
ORDER BY sequence# DESC)
WHERE ROWNUM <= 10
Primary...
SEQUENCE# ARCHIVED APPLIED COMPLETED
29680 YES YES 2012/02/23 01:11
29680 YES NO 2012/02/23 01:11
29679 YES NO 2012/02/22 23:11
29679 YES YES 2012/02/22 23:11
29678 YES YES 2012/02/22 23:11
29678 YES NO 2012/02/22 23:11
29677 YES YES 2012/02/22 22:32
29677 YES NO 2012/02/22 22:32
29676 YES YES 2012/02/22 22:02
29676 YES NO 2012/02/22 22:02
Standby...
SEQUENCE# ARC APP COMPLETED
29680 YES YES 2012/02/23 01:11
29679 YES YES 2012/02/22 23:11
29678 YES YES 2012/02/22 23:11
29677 YES YES 2012/02/22 22:32
29676 YES YES 2012/02/22 22:02
29675 YES YES 2012/02/22 21:24
29674 YES YES 2012/02/22 19:24
29673 YES YES 2012/02/22 18:59
29672 YES YES 2012/02/22 17:42
29671 YES YES 2012/02/22 17:41
Primary shows yes as well as no...
Next,
From primary:-
SQL> select thread#,max(sequence#) from v$archived_log group by thread#;
THREAD# MAX(SEQUENCE#)
1 29680
From standby:-
SQL> select thread#,max(sequence#) from v$archived_log where applied='YES' group by thread#;
THREAD# MAX(SEQUENCE#)
1 29680
What is the redo transport service you are using? is it LGWR or ARCH ?
Output of query select * from v$parameter where name like 'log_archive_dest_2' shows below value...
SERVICE=b_stdb LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=b_stdb
So is it lgwr already configured...? if yes then how do i see the delay in both servers..
Yes, the network is good as they both resides in same LAN within same rack
Thanks... -
Active Dataguard switchover puts new standby in real time query
Hi Gurus,
If using Active Dataguard ,after swicthover/failover using dg broker and observer does sthe new standby will be put in real time query mode(ADG) or manually have to open the db in read only mode.
Please let me know.
ThanksYes it does:
[uhesse]$ dgmgrl sys/oracle@prima
DGMGRL for Linux: Version 11.2.0.1.0 - Production
Copyright (c) 2000, 2009, Oracle. All rights reserved.
Welcome to DGMGRL, type "help" for information.
Connected.
DGMGRL> show configuration
Configuration - myconf
Protection Mode: MaxAvailability
Databases:
prima - Primary database
logst - Logical standby database
physt - Physical standby database
Fast-Start Failover: DISABLED
Configuration Status:
SUCCESS
DGMGRL> show database physt
Database - physt
Role: PHYSICAL STANDBY
Intended State: APPLY-ON
Transport Lag: 0 seconds
Apply Lag: 0 seconds
Real Time Query: ON
Instance(s):
physt
Database Status:
SUCCESS
DGMGRL> switchover to physt;
Performing switchover NOW, please wait...
New primary database "physt" is opening...
Operation requires shutdown of instance "prima" on database "prima"
Shutting down instance "prima"...
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
Operation requires startup of instance "prima" on database "prima"
Starting instance "prima"...
ORACLE instance started.
Database mounted.
Database opened.
Switchover succeeded, new primary is "physt"
DGMGRL> show configuration
Configuration - myconf
Protection Mode: MaxAvailability
Databases:
physt - Primary database
prima - Physical standby database
logst - Logical standby database
Fast-Start Failover: DISABLED
Configuration Status:
SUCCESS
DGMGRL> show database prima
Database - prima
Role: PHYSICAL STANDBY
Intended State: APPLY-ON
Transport Lag: 0 seconds
Apply Lag: 0 seconds
Real Time Query: ON
Instance(s):
prima
Database Status:
SUCCESSKind regards
Uwe Hesse
http://uhesse.wordpress.com -
Choosing protection mode for Active dataguard
Hi Gurus,
I'm confused with Active dataguard configuration-What mode do i need to configure physical standby to make use of actice dataguard.I know i can even use maximum performance with standby redolog for real time query.But what is the minimum protection mode to run active dataguard.
How can i setup a delay of 1 hour for active dataguard in 11gr2?
ThanksYou said:
>
By default Dataguard is in Maximum performance mode..we can set delay of 1 hour by setting the
log_archive_dest_2="service=to_standby lgwr async affirm reopen=60"
or
log_archive_dest_2="service=to_standby lgwr async delay=60"
>
I am sorry, but your first log_archive_dest_2 value is not correct:
The combination of ASYNC & AFFIRM is not supported and not sensible; REOPEN=60 will not delay the Redo Apply
See here for a proper explanation of log_archive_dest_n:
http://download.oracle.com/docs/cd/E11882_01/server.112/e17110/initparams121.htm
Kind regards
Uwe Hesse
http://uhesse.wordpress.com -
We have an 11gR2 database with physical standby (Dataguard with Fast start Fail over) implementation and considering the options for including Active Dataguard configuration on the above setup for using standby database for reporting.
Has anyone configured 'Active dataguard' with combination of FSFO, any pointers on lessons learnt or limitations on this combinations would be greatly appreciated.
Thank you very much for your time.An issue with Active Data Guard is the design of service level agreements. In the event of failover, service will degrade - perhaps dramatically. Clients are often very keen to bring the standby into use because it appears to be a way of saving money, but what will you do if it is activated? Your SLA will have to state either that the query service will be disabled, or that both the r/w and the r/o services will continue to be available, but at greatly reduced performance (which you must quantify). You need to get the client's agreement and document this.
Maybe you are looking for
-
This is about browsing the app store. I am tired of trying to browse the app store, because everytime I select an app to read up on and when I'm done reading up on it and I click the back button, it seem to always send me back to the beginning to sta
-
I use IMAC and do sync with my IPHONE. Q; Will IPAD 2 sync both IPAD apps and Iphone apps. I do hope so.
-
IPhoto 09 won't save edits...
So at first I would make edits to photos and they would appear the same in the edit window as they do in the gallery view. Now the edits don't "stick" and when you leave edit view the changes are not there. Say I go to edit a photo, and change it to
-
Can not read authorization object in execute Query
hello: Now I create a authorization object ZSALR, include Activity,Sales Group,Sales Office. Activity = Display ,Execute; When Sales Group = S_N and Sale Office = S_SX. I execute Query restrict by Sales Group and Sale Office. W
-
How to add a Totals row in a dashboard
Oracle Business Intelligence 11.1.1.6.4 Hi there gurus, I would like to know how to add a totals row at the end of a pivot table within a dashboard. Notice that the column I need to sum up is a measure column and not a dimension one. Thank a lot.