Questions on dataguard
I have quick couple of questions on dataguard.
1) how much time time it will take to generate (move ) the logfiles from production to standby database ?
2) Can we speed up the transfer the logfile from PROD to Standby?
3) If 2nd Questions is YES. How can i speed up the process?
In IBM DB2 its just 30 Sec max to replicate the data from PROD to STANDBY. Becasue we dont want to loose the data for a while.
Thanks
Krish
Message was edited by:
Venkat.K.Raju
What is your database version?
Assuming that it is 10g R2, the following white paper has all the answers you need:
Data Guard Redo Transport & Network Best Practices Oracle Database 10g Release 2
(http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10gR2_DataGuardNetworkBestPractices.pdf)
Similar Messages
-
Oracle 10g Licensing question for Dataguard
Could some one please let me know if a 10g database with a 10g logical standby database and a 10g Physical standby database requires a dataguard license.
thanks heapsHello
if you have Oracle enterprise editon you can use dataguard free
but dont mind if you have 1 Prod 1 phy standby you must have 2 Oracle license
Regards
Zekeriya Besiroglu -
Hi,
I have two question regarding dataguard.
1) If One archivelog is missing from Primary Database without Applying in Standby Database, then what will happen?
2) What is DGMGRL?
Thanks...
Asit
Edited by: asitkmohanty on 04-Oct-2012 05:491) If archivelog is missing from Primary Database without Applying in Standby Database, then what will happen?It is obvious that the standby database would go out of sync. If the archivelog is missing and you have the backup of it, then use this backup and restore and recover it on the standby, so that it would be in sync.
If you do not have the archive and you do not have the backup of the missed archive, they you'll have to use roll forward method to get your standby in sync. For this take a look at http://shivanandarao.wordpress.com/2012/03/26/roll-forward-physical-standby-database-using-rman-incremental-backup/
2) What is DGMGRL?DGMGRL is an utility that is used to monitor the standby databases. For this refer
http://docs.oracle.com/cd/B28359_01/server.111/b28295/dgmgrl.htm
http://docs.oracle.com/cd/B28359_01/server.111/b28295/concepts.htm -
Dataguard : redo transport service
Hi,
I have a question regarding dataguard: I have a primary database (oracle 10.2.0.4 win 2003 x64 R2 SP2) communicating with a standby and everything was working like a charm up to the moment where the primary starts creating a lot of session with the user PUBLIC on the standby.... At the end, the standby exceeded the maximum processes and the redo transport service stopped.
So I stopped/restart the standby and as soon as the primary sees the standby, there are 7 sessions with user PUBLIC that are created. Then few seconds, after another one was created and another one and it stoppes at 9 this time.
I would like to know what drives the creation of a new session and what is the purpose of those sessions (I thinks it maintains the synchronisation information....) .... What could be the reason for so many sessions to be created... Could it be network failure...
Thanks
Christophe LizéHi Ogan,
Thanks for your answer. This is a windows box. SAP is the application that consumes the data.
In the standby alertlog, we can see the session that is started:
Setting recovery target incarnation to 2
ARCH: STARTING ARCH PROCESSES
ARC0 started with pid=14, OS id=4380
ARC1 started with pid=15, OS id=5008
ARC2 started with pid=16, OS id=2276
ARC3 started with pid=17, OS id=3596
ARC4 started with pid=18, OS id=5852
ARC5 started with pid=19, OS id=6044
ARC6 started with pid=20, OS id=4956
ARC7 started with pid=21, OS id=6068
ARC8 started with pid=22, OS id=2380
Wed Nov 24 15:05:52 2010
ARC0: Archival started
ARC1: Archival started
ARC2: Archival started
ARC9 started with pid=23, OS id=5296
Wed Nov 24 15:05:53 2010
ARC3: Archival started
ARC4: Archival started
ARC5: Archival started
ARC6: Archival started
ARC7: Archival started
ARC8: Archival started
ARC9: Archival started
ARCH: STARTING ARCH PROCESSES COMPLETE
Wed Nov 24 15:05:53 2010
ARC0: Becoming the 'no FAL' ARCH
ARC0: Becoming the 'no SRL' ARCH
ARC0: Thread not mounted
Wed Nov 24 15:05:53 2010
ARC1: Becoming the heartbeat ARCH
ARC1: Thread not mounted
Wed Nov 24 15:05:53 2010
ARC4: Thread not mounted
Wed Nov 24 15:05:53 2010
Successful mount of redo thread 1, with mount id 589430539
Wed Nov 24 15:05:53 2010
Physical Standby Database mounted.
Completed: alter database mount standby database
Wed Nov 24 15:05:53 2010
alter database recover managed standby database disconnect from session
MRP0 started with pid=24, OS id=3980
Wed Nov 24 15:05:54 2010
ARC7: Thread not mounted
Wed Nov 24 15:05:55 2010
ARC9: Thread not mounted
Wed Nov 24 15:05:56 2010
ARC5: Thread not mounted
Wed Nov 24 15:05:57 2010
ARC3: Thread not mounted
Wed Nov 24 15:05:58 2010
ARC2: Thread not mounted
Managed Standby Recovery not using Real Time Apply
parallel recovery started with 7 processes
Wed Nov 24 15:05:58 2010
Waiting for all non-current ORLs to be archived...
Wed Nov 24 15:05:59 2010
ARC6: Thread not mounted
Wed Nov 24 15:05:59 2010
Completed: alter database recover managed standby database disconnect from session
Wed Nov 24 15:05:59 2010
Media Recovery Waiting for thread 1 sequence 816
Fetching gap sequence in thread 1, gap sequence 816-821
Wed Nov 24 15:06:00 2010
ARC8: Thread not mounted
Wed Nov 24 15:06:10 2010
Using STANDBY_ARCHIVE_DEST parameter default value as G:\oracle\PPS\oraarch
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[1]: Assigned to RFS process 5408
RFS[1]: Identified database type as 'physical standby'
Wed Nov 24 15:06:10 2010
RFS LogMiner: Client disabled from further notification
Wed Nov 24 15:06:10 2010
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[2]: Assigned to RFS process 2360
RFS[2]: Identified database type as 'physical standby'
Wed Nov 24 15:06:10 2010
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[3]: Assigned to RFS process 5872
RFS[3]: Identified database type as 'physical standby'
Wed Nov 24 15:06:10 2010
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[4]: Assigned to RFS process 2012
RFS[4]: Identified database type as 'physical standby'
Wed Nov 24 15:06:10 2010
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[5]: Assigned to RFS process 5336
RFS[5]: Identified database type as 'physical standby'
Wed Nov 24 15:06:10 2010
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[6]: Assigned to RFS process 3888
RFS[6]: Identified database type as 'physical standby'
Wed Nov 24 15:06:10 2010
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[7]: Assigned to RFS process 3088
RFS[7]: Identified database type as 'physical standby'
Wed Nov 24 15:06:10 2010
RFS[3]: Archived Log: 'G:\ORACLE\PPS\ORAARCH\LOG1_817_735230249.ARC'
Wed Nov 24 15:06:10 2010
RFS[4]: Archived Log: 'G:\ORACLE\PPS\ORAARCH\LOG1_818_735230249.ARC'
Wed Nov 24 15:06:10 2010
RFS[7]: Archived Log: 'G:\ORACLE\PPS\ORAARCH\LOG1_821_735230249.ARC'
Wed Nov 24 15:06:11 2010
RFS[2]: Archived Log: 'G:\ORACLE\PPS\ORAARCH\LOG1_819_735230249.ARC'
Wed Nov 24 15:06:11 2010
RFS[5]: Archived Log: 'G:\ORACLE\PPS\ORAARCH\LOG1_816_735230249.ARC'
Wed Nov 24 15:06:11 2010
RFS[6]: Archived Log: 'G:\ORACLE\PPS\ORAARCH\LOG1_820_735230249.ARC'
Wed Nov 24 15:06:29 2010
Media Recovery Log G:\ORACLE\PPS\ORAARCH\LOG1_816_735230249.ARC
Media Recovery Log G:\ORACLE\PPS\ORAARCH\LOG1_817_735230249.ARC
Media Recovery Log G:\ORACLE\PPS\ORAARCH\LOG1_818_735230249.ARC
Media Recovery Log G:\ORACLE\PPS\ORAARCH\LOG1_819_735230249.ARC
Media Recovery Log G:\ORACLE\PPS\ORAARCH\LOG1_820_735230249.ARC
Media Recovery Log G:\ORACLE\PPS\ORAARCH\LOG1_821_735230249.ARC
Media Recovery Waiting for thread 1 sequence 822
Fetching gap sequence in thread 1, gap sequence 822-822
Wed Nov 24 15:07:10 2010
RFS[6]: Archived Log: 'G:\ORACLE\PPS\ORAARCH\LOG1_822_735230249.ARC'
Wed Nov 24 15:07:31 2010
Media Recovery Log G:\ORACLE\PPS\ORAARCH\LOG1_822_735230249.ARC
Media Recovery Waiting for thread 1 sequence 823
Wed Nov 24 15:08:11 2010
RFS[7]: Archived Log: 'G:\ORACLE\PPS\ORAARCH\LOG1_823_735230249.ARC'
Wed Nov 24 15:08:31 2010
Media Recovery Log G:\ORACLE\PPS\ORAARCH\LOG1_823_735230249.ARC
Media Recovery Waiting for thread 1 sequence 824
Wed Nov 24 15:15:00 2010
RFS[1]: Successfully opened standby log 5: 'G:\ORACLE\PPS\ORIGLOGA\STBLOG_G5M1.DBF'
Wed Nov 24 15:15:01 2010
Media Recovery Log G:\ORACLE\PPS\ORAARCH\LOG1_824_735230249.ARCA lot of RFS process are created and each one is taking a session with the user PUBLIC.
What drives the creation of RFS process... and why Oracle does not reuse those created....
on the standby, the following query shows UNKNOW client_process
SQL> select process,status,client_process,sequence#,block#,active_agents,known_agents
2 from v$managed_standby;
PROCESS STATUS CLIENT_P SEQUENCE# BLOCK# ACTIVE_AGENTS KNOWN_AGENTS
ARCH CLOSING ARCH 800 1 0 0
ARCH CLOSING ARCH 801 1 0 0
ARCH CLOSING ARCH 802 1 0 0
ARCH CLOSING ARCH 803 2049 0 0
ARCH CLOSING ARCH 804 1 0 0
ARCH CLOSING ARCH 805 1 0 0
ARCH CLOSING ARCH 795 2049 0 0
ARCH CLOSING ARCH 796 1 0 0
ARCH CLOSING ARCH 797 1 0 0
ARCH CLOSING ARCH 798 1 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
MRP0 WAIT_FOR_LOG N/A 807 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
PROCESS STATUS CLIENT_P SEQUENCE# BLOCK# ACTIVE_AGENTS KNOWN_AGENTS
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
RFS IDLE UNKNOWN 0 0 0 0
57 rows selected.I don't know if you have enough information...
Thanks
Christophe -
Data Guard setup with 11i apps
Hi,
We are configuring dataguard for our 11i apps its 10g database , i have some questions regarding dataguard.
as per metalink note : Business Continuity for Oracle Applications Release 11i, Database Releases 9i and 10g [ID 216212.1]
Step2)Configure Oracle Net communications to and from the standby.
As the ORACLE user on the production database server, in the <TNS_ADMIN> directory, create an include file with entries for the standby database and for the FAL (fetch archive logs) server for your tnsnames.ora configuration file. Check the last line of your tnsnames.ora file for the name of the ifile, and match it exactly (matching upper and lower case). The file name will have this format: <CONTEXT_NAME>_ifile.ora.
With one small change, this file can be used on the production database environment when it acts as a standby during a switchover to another server for planned maintenance – modifying the HOST name of the standby service definition to point to the correct location on switchover.
A sample <TNS_ADMIN>/<CONTEXT_NAME>_ifile.ora file, set up for primary site usage:
*I have not seen any <CONTEXT_NAME>ifile.ora ; file in $TNSADMIN directory, Then how do i configure FAL , Where do i need to configure FAL parameters .*Hi,
As per metalink note :
See here.
As the ORACLE user on the Primary database server, in the <TNS_ADMIN> directory, create an include file with entries for the standby database and for the
FAL (fetch archive logs) server for your tnsnames.ora configuration file.
Could you explain me what does it mean...?
*Check the last line of your tnsnames.ora file for the name of the ifile, and match it exactly (matching upper and lower case). The file name will have this format: <CONTEXT_NAME>_ifile.ora.*
Here is
With one small change, this file can be used on the production database environment when it acts as a standby during a switchover to another server for planned maintenance – modifying the HOST name of the standby service definition to point to the correct location on switchover.
A sample <TNS_ >/<CONTEXT_NAME>_ifile.ora file, set up for primary site usage: -
Resolve database service name using in SQL
Hi all!
My question is:
Is it possible to resolve database service name (e.g. TNS) from SQL only (without logging into the server with oracle user and execute tnsping)?
I'll give you a bit background about my question:
In DataGuard, if you query v$archive_dest, you can see the SERVICE NAME of the standby database in the STANDBY records. I would like to know what is the real server name and database instance of the standby database.
I don't want to login to the primary server with oracle user (let's say that I can not - it's a program really, not me...).
Let's also say that the only user I have is a read-only user to the database (with grants to all tables and views, but cannot execute privileged DBMS sys packages).
Running "SQL> host tnsping NAME" doesn't do the job, since this is only for SQL plus.
Doe's anyone have any idea? maybe v$ view that contains the TNS resolution (tried to find, no success)? maybe a tnsping alike command/function?
Thanks a lot!
MaayanMaayanB wrote:
I'll explain the reason.
I'm working on an agentless product that connects to databases, storage and hosts, and models them into a small CMDB.
Since my product needs to model the "STANDBY" relationship between primary and standby DataGuard databases - I need to be able to resolve the value of the "DESTINATION" field from "V$ARCHIVE_DEST", where TARGET IN ('STANDBY','REMOTE').
I could login to the server and execute "tnsping DBNAME", but the problem is that when a server has more than one ORACLE_HOME (hence, more than one tnsname.ora file), I need to make sure that the user I'm using to login to the server has all environment variables conigured properly for each database installed on the server (BTW, the unix user is also a "naked" user with no privileges except the sudo's defined for it).
So I assume that the best way to be sure that the environment variables are correctly defined is when I login to the database.
This is the reason I need to resolve service names using SQL.
BTW, the database process somehow uses the Oracle Net Services to resolve the same value when it sends the redo log files to the standby server - and I'd like to resolve it the same way (or other, if not possible). If it uses the sys privileges, and it executes the package that lets you execute something on the server ("tnsping", in this case), and this is the only way it can be done - I need to start thinking on a different way to resolve the problem.What you are missing is that when "the database process somehow uses the Oracle Net Services to resolve the same value when it sends the redo . . ." is that Net services is NOT just resolving the name for the database. It is also handling the actual transport of the files. That name resolution is not passed back to the database.
>
Anyway, I'm not a hacker or something alike, It's just that my product doesn't know how to pick up the phone and dial :) -
Deleting applied archives from standby
Hello Guys,
We have oracle 10g rel 2 on hp-ux
I feel this common question for dataguard implementation
Just want to check best way of deleting archives automatically from standby database,i have 2 methods in mind
as below
1)At os level shell script-finding last seqno from alert log at standby/or query v$views(select max(sequence#) from v$archived_log) ,passing it to script
using rman as :*delete archivelog until sequence seqno;*
or deleting at os level upto this seqno
(Making script is not issue with this functionality and scheduling it in cron)
2)by RMAN at standby
set alter system set "_log_deletion_policy"='ALL' scope=spfile;
set CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;
however i have no plans to take backup at standby,still can i use above command
is it reliable i faced some issues in past inspite of this configurations archives were not deleted at standby
Please give your views is there any other method to delete archives automatically ,and which one is more preferred
and reliable method/best method
Thanks804719 wrote:
Hello Guys,
We have oracle 10g rel 2 on hp-ux
I feel this common question for dataguard implementation
Just want to check best way of deleting archives automatically from standby database,i have 2 methods in mind
as below
1)At os level shell script-finding last seqno from alert log at standby/or query v$views(select max(sequence#) from v$archived_log) ,passing it to script
using rman as :*delete archivelog until sequence seqno;*
or deleting at os level upto this seqno
(Making script is not issue with this functionality and scheduling it in cron)
2)by RMAN at standby
set alter system set "_log_deletion_policy"='ALL' scope=spfile;
set CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;
however i have no plans to take backup at standby,still can i use above command
is it reliable i faced some issues in past inspite of this configurations archives were not deleted at standby
Please give your views is there any other method to delete archives automatically ,and which one is more preferred
and reliable method/best method
ThanksConfigure RMAN to purge archivelogs after applied on standby [ID 728053.1]
logdeletion_policy parameter is static, so which you cant change dynamically, PRimary should bounce, If it is fine then you can go ahead.
If you do not have time, then prepare an RMAN script to delete the archives. -
Create Multilevel Standby database
HI All,
We have a 10.2.0.2 primary database with a physical standby database.
We would like to create 2 more physical standby databases for the same primary but, we dont want to have the logs shipping from primary database as it is prod.
Is there any way where we could ship the logs from 1st standby to 2nd to 3rd standby.
To me more precise we want to create multilevel standby databases primary--->stby1---->stby2---->stby3.
Thanks,
Anil.What you describe is referred to as "cascading standby databases"
Let me point you to this thread where I already answered a similar question:
cascade dataguard
Bottom line: You don' need cascading standby - there is as good as no measurable performance impact on the primary with multiple standby databases compared to only one standby.
The only valid reason (it was not performance) for cascading standbys vanished with 11gR2
Kind regards
Uwe Hesse
http://uhesse.wordpress.com -
I have a simple question - using Dataguard 10gR2 is it possible to open the standby database and perform queries requiring sorting? I mean is the temporary tablespace available for writing?
but is that similar to "alter database open read only"? because if that is the case only queries without the need to perform any use of the TEMP tablespace can be executed...
-
5 Dataguard questions on implementation and maintainence
I have created Oracle10g Dataguard Physical standby. Everything seems to working properly. I switch a log@primary and i see it applied at standby. In OEM the Primary instance is shown as "Primary" and Dataguard Normal.
Questions
=======
1.I used cold backup to create physical standby where i copied just the datafiles. I DID NOT copy the online logfiles from primary DB . Is this ok?
Reason i am asking is, I am seeing this in alertlog (Please see in Bold below). Could this message in alert be ignored?
Fri Mar 14 16:11:55 2008
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[5]: Assigned to RFS process 9652
RFS[5]: Identified database type as 'physical standby'
Fri Mar 14 16:11:57 2008
Media Recovery Waiting for thread 1 sequence 140 (in transit)
Fri Mar 14 16:12:09 2008
RFS[4]: Archived Log: '/b03/archive/PRI/arch1_140_649240729.arc'
Primary database is in MAXIMUM PERFORMANCE mode
RFS[4]: No standby redo logfiles created
Fri Mar 14 16:12:12 2008
Media Recovery Log /b03/archive/PRI/arch1_140_649240729.arc
Media Recovery Waiting for thread 1 sequence 141 (in transit)
Fri Mar 14 16:12:58 2008
2. Physical standby was created in default mode " MAX PERFORMANCE" but i followed the manual and i realize i created standby redo logs at primary DB.
Is it true we do not need standby redo logs for MAX PERFORMANCE mode?
3. What is the quickest way to create a physical standby taking into consideration the downtime of the primary database.
4. Can we setup Dataguard for a live running production database (assuming prod is all set with prepare steps as laid out in manual) without downtime.
5. I hear dataguard management involves lot of shell scripting for log shipping, failover, switchover etc. Looking at 10g manual all these appear to be handled automatically if configured. Is it true that all the Dataguard functionality is auto and does not need shell scripting?
These are the things came up to mind. Please list any others you can think of for a Dataguard implementation. Any help greatly appreciated.
Thanks and have a great time.
S~My question is , I havent created either online logfiles or standby log files on the secondary database, then how is RFS process applying the logs to the standby database?
If you do not create standby log files on the secondary database, then RFS process will apply logs from primary DB's archieved redo logs, refer 5.1 Introduction to Redo Transport Services.(http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/log_transport.htm)
Also i see entries in v$log@standby, since i haven't created log files@standby where is this info getting from?
It will be through the entry in Stndby DB parameter file "LOG_FILE_NAME_CONVERT=
'/arch1/chicago/','/arch1/boston/','/arch2/chicago/','/arch2/boston/'
Thanks -
Dataguard Interview questions and most frequeently asked DG issues
Hi Gurus,
I am new to this forum and happy to be a part of it.
Can someone help me in posting " Dataguard Interview questions and most frequeently asked DG issues" as i am preparing for the interviews.
And also share the enhancements to DG in 11g.
Thanks in advance.I'm not impressed by any of the questions at any of the linked sites provided so here are the one's I would expect someone to be able to answer:
1. What is the difference between Physical and Logical Data Guard in terms of how they work and how they are used in the enterprise?
2. What is the difference between vanilla Data Guard and Active and Snapshot?
3. How do you enable the Data Guard Broker process and why and when would you want to?
4. Who is Larry Carpenter and why should you care?
5. What parameters in using orapwd are critical for success?
6. What would you recommend as a value for SEND_BUF_SIZE and why?
7. Given a primary production database, and a full RMAN backup that takes 1 hour to fully restore ... how long would it take you to implement Physical Data Guard from the time you started working?
If the answer to question 7 is greater than 2 hours ... my assumption would be that you probably had never done it before and it wouldn't matter that you got the first six questions correct. -
I want to implement Dataguard between non-asm instances. My question is how to move data from non-asm to asm box.
Thanks,Sure. The location of the data files is irrelevent to DataGuard-- DataGuard is only concerned with the change vectors (i.e. the redo information).
Justin -
Hi:
I have dataguard implemented for version Oracle 10gR3. During migration, we had to import from old server to new server. While import, we had to turn off Archive Log for about 2hrs to speed up the import process. Once the import was done, we enabled the Archive log. During this switch, DG Physical standby failed. When i try to reinitialize, the standby is not applying any more logs from teh time the Archivelog was disabled.
My question is - Shoul i recreate the DG standby by dropping the current one which is lagging more than 50 logs or can i repair the standby to start applying the logs and move forward?
Please advise.
Thanks
Here are few commands i used to sync Standby with Primary:
--On standby in MOUNT state: "alter database recover managed standby database disconnect from session;"
--Verify new archived redo log file applied- few from the list
1 SELECT SEQUENCE#,APPLIED FROM V$ARCHIVED_LOG
2* ORDER BY SEQUENCE#
SEQUENCE# APPLIED
2397 YES
2398 YES
2399 YES
2400 YES
2442 NO
2443 NO
2444 NO
2445 NO
2446 NOYes. When you say 're-initiate'--recreate from scratch by dropping the current one? When i drop the current one and start the recreation - should this have any impact on the primary? I believe it will not bounce or take anything offline on the primary right? Just want to confirm....thanks.
-
Oracle 10gR2 Dataguard quick question
Hi -
Just a quick question about Oracle 10gR2 Dataguard. I'm in the process of creating dataguard standby, which is running for few hours and could take few more hours because of the size and the standby's network latency, and i'm using OMS to create the DG. I'm in a situation now to create new tablespace(A) and also one more datafile to the existing tablespace(B).
Question is: How would this new tablespace and the new datafile in the existing tablespace affect the DG standby which is about to finish in couple hours? Will the DG pickup the new changes from the primary? Or, will it be done with error from the mismatch of the number of files? The issue is that i can't wait for the standby creation to be done as the additional tablespace and datafile requirement is production critical, and should be added right away.
note: standby_file_management is set to auto.
Thanks for your response.
regards.Your post is a bit vague, as OMS is an acronym for Oracle Management Server, which is a service only.
If you would have stated you are using Database Control, or RMAN duplicate database, the picture would have been much clearer.
Database Control uses rman duplicate database.
Recovery is the mandatory implicit last step of this procedure to pick up all changes since you started the duplicate.
One word of warning: Network latency is one thing to avoid like hell in a standby configuration.
It might even slow down your production database.
Sybrand Bakker
Senior Oracle DBA -
DataGuard postings relocated -- not a technical question
Hello,
I have seen from last night DataGuard posts is moved from Database - datagaurd to Database - high availability.
By this changes, there would be some confusion for OP's.
Normally any OP first go to Database & then he search for "DataGuard", when he cant found then he/she try to post in "Database - General", So by this process its going to be less flow/usage further in data guard
How to Avoid miscommunication to OP?
Why these sudden changes?
Is this change really helps?
Thanks.
CKPT.oracletechnet wrote:
We have consolidated some of the Database-related forums into subfolders; the list was becoming much too long.
The forums URLs themselves have not changed so there really should be minimal disruption.Yes of course in database there is a big list. Correct.
But from last week there is less flow comparatively after changes been made to sub folders. Looks OP is posting into database - general, I saw some of the threads too, which are not routed to dataguard.
I have one idea, if it's wrong let me know.
I I have a question in ASM, Im not new so I know where is this folder, so I can go and post there. No issues.
Some one who new to OTN, may be he or may mo be known where that folder exist.
So, for all the questions, there would be only one template to post, but add extra popup scroll button, which consists of all the divisions. It's like example of (answered,unanswered,all) threads selection menu. So that while posting by any OP he/she has to choose one division where he/she likes to post.
If I give subject line, description, at the same time I select where I want to post by the popup option. So that it question will be routed to the relevant division. Again there would be no work for moderators to move threads from one division to another division.
Hope it clears.
Maybe you are looking for
-
I got a problem with JavaScript on my selfmade homepage, Win only, Linux works!
Hi there! My site is still in building process. But I've reached the point to get to designing, the technical issues are worked out, except for this one. Funnily with FF on Linux all works fine, but on Windows (7) it doesn't quite workas it should. H
-
How to fetch data from single database table using 2 internal tables.
Hi friends, i am a new user of ABAP and also SDN. i need a help. i want to fetch data from one database table based on primary keys of 2 internal tables. how to put in where clause. Thanks in advance.
-
Loop through tables based on data dict values
Hi, I working on an old v7.3.4 database that I'm not familiar with and I want to loop through the tables and count the occurrence of a field value based on table names i've retrieved from the data dictionary. None of the tables have relational keys d
-
I recently installed iTunes on a new laptop with Windows 7. Why do I get the error "iTunes library file cannot be saved. An unknown error occurred (-50)?"
-
How do i reattach Unibody Enter Key????
I've searched for almost 5-6 months now, and my Enter key is still screwed up cause there is no where to go to get help.