In stand by database
how can set this parameter.
db_file_name_convert
log_file_name_convert
thanx for ur reply nicolas
i am set this two parameter in my init.ora file...
i am create stand by database on my some host ( mean primary database already running on some machine.)/
i am set this two parameter like it is right or wrong plz check it.
db_file_name_convert = 'd:\oracle\product\10.1.0\oradata\db01\','c:\oracle\sdydb\';
log_file_name_convert = 'd:\oracle\product\10.1.0\oradata\db01\','c:\oracle\sdydb\';
Similar Messages
-
Can we run application services when physical stand by database is in read
can we run application services when physical stand by database is in read only mode
i Want to up the EBS application services and check login when phyiscal standby database is in read only mode.
Is it possible? for checking dataguard database application as well.but i just want to know that can i start EBS application services and nagivate the application.Without distrubing my primary database and application.You should not do as the moment you open the standby database it becomes invalid.
Thanks,
Hussein -
Adding Temp tablespace to physical stand by database?
I am getting the below error when i try to load data using SQL loader from physical stand by database to another database after making the physical stand by database in read only mode.
ORA-25153: Temporary Tablespace is Empty.
On primary database when i query
SQL>select ts#,name from v$tablespace;
TS# NAME
2 TEMP
On physical stand by when i query
SQL>select ts#,name from v$tablespace;
TS# NAME
2 TEMP
On primary DB when i query
select name from v$tempfile where ts#=2;
NAME
/dev/vx/rdsk/oradata/tempfile0101
On standby when i query
SQL>select name from v$tempfile where ts#=2;
no rows selected
At this point do i need to add datafile to the TEMP tablespace of stand by database or just need to add TEMP tablespace to stand by database.?
DB version:9.2.0.6
Thank You all...Can you make sure that /dev/vx/rdsk/oradata/tempfile0101 is copied to standby site during the standby creation. Often it happens that the hot backups are copied to standby ste and generally they dont contain temp files. If the files is present , then i'll suggest you to do a quick bounce of standby instance to make sure that controlfile attempted to access it. You can also try recreating the standby control file on promary and copy it to standby site along with the tempfile and start the instance with new control file.
If you want to add temp files to the standby instance, the only option you have is to add them on primary site. If you have standby_file_management as auto they will get copied over. If not you can copy the files to standby instance and restart the recovery.
Please let us know if any of the hints are applicable to your case.
-Ravi -
Hi guys,
OS: Windows Server 2003 (32 bit)
DB Version: 10.2.0.3
Question:
Simple question I guess but still I'm failing to understand the logic. Will the changes applied on the primary database also occur in the stand-by, for instance if I delete a table in the primary database, will that also take effect in the stand-by database?
Regards,
DurbaniteHave you had a log switch to create a new archived redo log in that time?? the change will only be transported across to the standby when it gets writted to an archived redo log that is then sent to the standby and applied (if using physical standby)
If not, in sqlplus, do : alter system switch logfile+; and watch it get sent to the standby and then check the if the table is still there or not.
HTH,
Ric. -
Open stand by database to run scripts
hello all,
I am having one physical stand by database which is synchronized with production database.Now i am have some scripts which extracts data.But i want to run this scripts on stand by database which is in recovery mode.Now i want to make the stand by database in read only mode and after executing the scripts make it back to stand by database in recovery mode.My plan to make the stand by database is as follows.
SQL>connect / as sysdba
SQL>recover managed standby database cancel;
SQL>alter database open;
Now i want to make it back to physical standby database and my plan is as below.
SQL>connect / as sysdba
SQL>shutdown immediate;
SQL>alter database mount standby database;
SQL>recover managed standby database disconnect;
Will the above scripts run for my purpose.I don't have a test server to test it.
DB version:9.2.0.6
Thank You All...First off, I would say that not having a test environment to test this sort of thing is exceptionally short-sighted. If the database is important enough to go through the effort of setting up a physical standby, it is well worth having a proper test environment so that you can test scripts before applying it to production.
Second, you will want to review the documentation for [opening a physical standby database for read-only access|http://download.oracle.com/docs/cd/B10501_01/server.920/a96653/manage_ps.htm#1014483] which walks through a different set of steps than you have outlined here. I wouldn't dream of running the documented script on a production environment, though, without having first run it in some sort of test environment.
Justin -
Manually Apply Archived log to stand by database
Hi all,
I'm using Oracle 10g. So, we need to apply the archived logs of Primary database to stand by database, but this process must be manually.
A "robot" copy the archived logs to destination. I need to get these archived logs from destination and manually apply to stand by database.
How can I do this?
thank you very much!!!!How can I do this?First stop current recover process as
alter database recover managed standby database cancel;Then transfer all need archive logs from primary to standby side and apply these manually using below command.
recover standby database until cancel
/*this command will ask full path of archive logs
and give these then finally enter "CANCEL" word*/Finally you can continue normal/automatic state using
alter database recover managed standby database ; -
Create Stand by database difference server
Dear all,
I copied physical datafiles whole database from production to stand by database.
After then i reconfig and start stb db.It's works well.But when i test updated and commit transaction from prod and i copied archive files into stb db and i tried to recover as following command:
sql> recover database;
ORA-00283: recovery session canceled due to errors
ORA-00264: no recovery required
What happend?
Thks for advance !
CharaHi,
ORA-00264:no recovery required
Cause: An attempt was made to perform media recovery on files that do not // need any type of recovery.
Action: Do not attempt to perform media recovery on the selected files. Check to see that the filenames were entered properly. If not, retry the command with the proper filenames.
Cheers -
Rman back up on stand by database
Hi all,
I created one stand by database. log shipping is not in place yet.
I manually copied rman files and archive files from the primary database and copied to standby.
Whenever I was trying to restore the database. it gives me below error. please see and let me know if I am doing it wrong.
Recovery Manager: Release 10.2.0.3.0 - Production on Tue Sep 28 11:20:16 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: WTFNL (DBID=3371173325, not open)
RMAN>
using target database control file instead of recovery catalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of configure command at 09/28/2010 11:20:16
RMAN-05021: this configuration cannot be changed for a BACKUP or STANDBY control file
RMAN>
Recovery Manager complete.
RAMAN backup completed.
Tue Sep 28 11:20:16 EST 2010
ThanksMake sure from where you are giving commands...
Oracle Error :: RMAN-05021
this configuration cannot be changed for a BACKUP or STANDBY control file
Cause
The user attempted to modify the configuration which cannot be changed for a BACKUP or STANDBY control file while the mounted control file was either BACKUP or STANDBY. The following configurations can be changed only when connected to primary database instance that has CURRENT/CREATED control file type mounted: CONFIGURE RETENTION POLICY CONFIGURE EXCLUDE CONFIGURE ENCRYPTION CONFIGURE DB_UNIQUE_NAME
Action
Connect to primary database instance and execute the command. -
Redolog operation from primary to stand by database
We have primary and stand by database and our primary database is generating too much redo logs. what I learnt is reading of redlogs from primary is sequential operation. Basically this operation is taking more time. So is there any way to parallel the process of reading of redo logs from primary database.
Or I want a confirmation from oracle experts that this cant be done.Hi,
The process has to be serial from log to log as later events may be dependant on earlier events.
For an individual log increasing the value of recovery_parallelism from it's default of 0 may help in your standby.
Cheers,
Harry -
How to apply missing arching logs in a logical stand by database
hi,
I have created logical stand by data base for our production.It was working fine.We have not set the value for standby_archvie_dest and it send the archive files to $ORACLE_HOME/dbs, due to high volume transavtion many files generated and $ORACLE_HOME mount got filled and logical stan by apply stopped working and Db went down as well.
I tried to apply the files once i bought back the instance but after applying one archivie file it stopped applying further.
and logical stand by not working appropriately.
Please let me know that is there is a mechanism to apply the missing logs?
DB version : 10.2.0.5
OS :OEL 5
regards
ManojHi,
Since then the issue happened I have noticed archives are not shipping.
Following are the outputs
SQL> ALTER SESSION SET NLS_DATE_FORMAT = 'DD-MON-YY HH24:MI:SS';
Session altered.
SQL> COLUMN STATUS FORMAT A60
SQL> SELECT EVENT_TIME, STATUS, EVENT FROM DBA_LOGSTDBY_EVENTS ORDER BY EVENT_TIME, COMMIT_SCN;
EVENT_TIME STATUS
EVENT
18-MAR-12 11:11:35 ORA-16111: log mining and apply setting up
18-MAR-12 22:34:26 ORA-16226: DDL skipped due to lack of support
alter database begin backup
18-MAR-12 22:34:26 ORA-16226: DDL skipped due to lack of support
alter database end backup
EVENT_TIME STATUS
EVENT
18-MAR-12 22:49:25 ORA-16226: DDL skipped due to lack of support
alter database backup controlfile to '/tmp/PCEGYK_control.ctl'
18-MAR-12 22:49:25 ORA-16226: DDL skipped due to lack of support
alter database backup controlfile to trace
18-MAR-12 22:49:25 ORA-16226: DDL skipped due to lack of support
create pfile='/pcegyk/backup/hot_backups/18032012_2234/initPCEGYK.ora_from_spfil
EVENT_TIME STATUS
EVENT
19-MAR-12 00:04:40 ORA-16227: DDL skipped due to missing object
grant select,insert on sys.ora_temp_1_ds_218894 to "SYSADM"
19-MAR-12 00:04:41 ORA-16227: DDL skipped due to missing object
grant select,insert on sys.ora_temp_1_ds_218895 to "SYSADM"
19-MAR-12 00:04:41 ORA-16227: DDL skipped due to missing object
grant select,insert on sys.ora_temp_1_ds_218896 to "SYSADM"
EVENT_TIME STATUS
EVENT
19-MAR-12 00:04:41 ORA-16227: DDL skipped due to missing object
grant select,insert on sys.ora_temp_1_ds_218897 to "SYSADM"
19-MAR-12 00:04:41 ORA-16227: DDL skipped due to missing object
grant select,insert on sys.ora_temp_1_ds_218898 to "SYSADM"
19-MAR-12 00:04:41 ORA-16227: DDL skipped due to missing object
grant select,insert on sys.ora_temp_1_ds_218899 to "SYSADM"
EVENT_TIME STATUS
EVENT
19-MAR-12 00:19:26 ORA-16227: DDL skipped due to missing object
grant select,insert on sys.ora_temp_1_ds_218900 to "SYSADM"
19-MAR-12 00:19:26 ORA-16227: DDL skipped due to missing object
grant select,insert on sys.ora_temp_1_ds_218901 to "SYSADM"
19-MAR-12 00:19:26 ORA-16227: DDL skipped due to missing object
grant select,insert on sys.ora_temp_1_ds_218902 to "SYSADM"
EVENT_TIME STATUS
EVENT
20-MAR-12 03:28:09 ORA-16111: log mining and apply setting up
20-MAR-12 03:31:54 ORA-16128: User initiated stop apply successfully completed
20-MAR-12 03:55:13 ORA-16111: log mining and apply setting up
EVENT_TIME STATUS
EVENT
20-MAR-12 04:17:38 ORA-16128: User initiated stop apply successfully completed
20-MAR-12 04:17:54 ORA-16111: log mining and apply setting up
20-MAR-12 21:20:20 ORA-16111: log mining and apply setting up
21 rows selected.
SQL>
===========================
SQL> SELECT FILE_NAME, SEQUENCE#, FIRST_CHANGE#, NEXT_CHANGE#,TIMESTAMP, DICT_BEGIN, DICT_END, THREAD# FROM DBA_LOGSTDBY_LOG ORDER BY SEQUENCE#;
FILE_NAME
SEQUENCE# FIRST_CHANGE# NEXT_CHANGE# TIMESTAMP DIC DIC THREAD#
/pcegyk/oracle/product/102/dbs/archPCEGYK_1_138743_679263487.arc
138743 7.4580E+12 7.4580E+12 19-MAR-12 06:33:16 NO NO 1
/pcegyk/oracle/product/102/dbs/archPCEGYK_1_138744_679263487.arc
138744 7.4580E+12 7.4580E+12 19-MAR-12 06:36:22 NO NO 1
/pcegyk/oracle/product/102/dbs/archPCEGYK_1_138745_679263487.arc
138745 7.4580E+12 7.4580E+12 19-MAR-12 06:39:21 NO NO 1
FILE_NAME
SEQUENCE# FIRST_CHANGE# NEXT_CHANGE# TIMESTAMP DIC DIC THREAD#
/pcegyk/oracle/product/102/dbs/archPCEGYK_1_138746_679263487.arc
138746 7.4580E+12 7.4580E+12 19-MAR-12 06:41:25 NO NO 1
/pcegyk/oracle/product/102/dbs/archPCEGYK_1_138747_679263487.arc
138747 7.4580E+12 7.4580E+12 19-MAR-12 06:43:24 NO NO 1
/pcegyk/oracle/product/102/dbs/archPCEGYK_1_138748_679263487.arc
138748 7.4580E+12 7.4580E+12 19-MAR-12 06:45:21 NO NO 1
FILE_NAME
SEQUENCE# FIRST_CHANGE# NEXT_CHANGE# TIMESTAMP DIC DIC THREAD#
/pcegyk/oracle/product/102/dbs/archPCEGYK_1_138749_679263487.arc
138749 7.4580E+12 7.4580E+12 19-MAR-12 06:48:07 NO NO 1
/pcegyk/oracle/product/102/dbs/archPCEGYK_1_138750_679263487.arc
138750 7.4580E+12 7.4580E+12 19-MAR-12 06:50:19 NO NO 1
/pcegyk/oracle/product/102/dbs/archPCEGYK_1_138751_679263487.arc
138751 7.4580E+12 7.4580E+12 19-MAR-12 06:52:52 NO NO 1
FILE_NAME
SEQUENCE# FIRST_CHANGE# NEXT_CHANGE# TIMESTAMP DIC DIC THREAD#
/pcegyk/oracle/product/102/dbs/archPCEGYK_1_138752_679263487.arc
138752 7.4580E+12 7.4580E+12 19-MAR-12 06:55:32 NO NO 1
/pcegyk/oracle/product/102/dbs/archPCEGYK_1_138805_679263487.arc
138805 7.4580E+12 7.4580E+12 19-MAR-12 15:33:26 NO NO 1
=================
SQL> SELECT APPLIED_SCN, NEWEST_SCN FROM DBA_LOGSTDBY_PROGRESS;
APPLIED_SCN NEWEST_SCN
7.4580E+12 7.4580E+12 -
Stand by database at same node
Hi,
I tried to configure a Data Guard. both primery and Standby databases are configured at same node but i am facing problems when trying to open standby database in read only mode i get the following error
ERROR at line 1:
ORA-16004: backup database requires recovery
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: 'D:\D:\ORACLE\ORADATA\CHILDDB\SYSTEM01.DBF'
i am using version 9.2.01
ZakaHi,
There is error in the datafile location it shows D:\D:\, check your control file.
Regards
Anurag -
Creating a Stand By DataBase for Production
Hi,
One more question How to do create a Standy Database for the Production
Database.
Can one tell the procedure to create a Standy By database ??
Thanks,
Pavan KumarThat's documented in the Data Guard Concepts and Administration manual. Chapters 3 & 4 cover creating physical and logical standby databases.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/partpage1.htm
Of course, since you didn't mention what version of Oracle you're using, I picked the 10.2 documentation to link to. You can find other manuals online at http://tahiti.oracle.com if you're using a different version.
Justin -
Create stand by database without dataguard
HI ALL,
I m using oracle 10g as live database, in another machine i m having test database but i want to make it as standby datbase. what steps i need to follow for this requirement without the use of dataguard?
Early reply will be awaited.
Thnx & regards
SurendraHi,
See this.
http://www.databasejournal.com/features/oracle/article.php/3682421/Manual-Standby-Database-under-Oracle-Standard-Edition.htm
Regards! -
Hi all,
I am testing data guard at my laptop with winxp, i m using Oracle 9.2 version.
Data guard is implemented and working fine.
The problem i am facing is very slow response from standby database, it takes so much time while startup, change recovery mode and changing read only mode. Where as primary database is working fine.
Any idea what could be the reason.
Regards,
Asimcouple of days earlier i implement data guard on the same laptop, at that time primary and standby database was working fine no performance (slow) issues, then i need to reinstall windows, now when i once again configured data guard and face the stated (standby slow) problem.
I have tested some hit and trials and finally stop all other database basis and started only standby in nomount mode but same problem.
:-) I agree with your point, this is a not a normal behaviour.
Further i think to solve this problem, i might reinstall windows, probably then this problem will be solved and some one new might arise.
Regards, -
Stand by database to primary database creation
Hi
I want to create Primary (new database) from my standby database by using RMAN. kindly tell me how this is possible.
Thanks
KrishnaNever done it. The document covers it : (assumes failover )
Data Guard Concepts and Administration E10700-02
"13.7.1 Converting a Failed Primary into a Physical Standby Using RMAN Backups"
I know this is not what you asked for however its worth a look too:
Flashing Back a Failed Primary Database into a Physical Standby Database
http://download.oracle.com/docs/cd/E11882_01/server.112/e17022/scenarios.htm#i1049997
Best Regards
mseberg
My last failover test if it helps:
http://www.visi.com/~mseberg/Data_Guard_Failover_Test_using_SQL.pdf
Edited by: mseberg on Nov 19, 2011 8:57 AM
Maybe you are looking for
-
How to change a DIVISION in Sales Order which is already saved?
Hi, I want to change only the division in Sales Order which is already created and saved. Which means I already created sales order with sales area GB50/02/12 and now I want to change that division to 14. Please note that it has no reference docs and
-
Switching off summarization of postings from T&E to FI- URGENT
HI All This is a Statutory requirement for Poland 1.In PR05 When the Expense types are Same but appear as 2 different line items ( e.g claimant going from Mumbai too Pune and then from Pune to Nasik there is two entries but the Expense type used is t
-
Is there a way to move my keyboard shortcuts and preferences from CS3 to CS5?
I just loaded CS5 and I'm starting to work with it. Big difference from CS3 and I'm finding things don't work the same at all. Anything i can do to make this seem more familiar, like using the same keyboard shortcuts and workspaces?
-
Does Apple plan to update iWeb?
I've enjoyed using iWeb 09 for just over a year, but I'm beginning to wonder if this program is going to be around in the future. I'm a small business guy with limited time to spend on making a web site, so if Apple is going to ditch iWeb I think I'd
-
Hi Friends , When a material is created (MM01) , using user exit i want to create an event which triggers the workflow. I'm confused of function module to be used for creating event. SWE_EVENT_CREATE or SW