Changing the archive destination in standby database?

My DB is running on Oracle 9.2.0.6.0. I have data guard for my primary database.
Now i wanted to change the archive destination only standby database. What is the process? Any response or any link is appreicated. Thanks

The standby database wouldn't generate archivelogs until and unless it is opened (eg in a failover). So, although there is a definition for the log archive destination in the standby's init.ora / spfile, it is used only to read archivelogs shipped from the primary.
If you are talking of the destination that the primary's archivelogs are shipped to on the standby, technically once the archivelogs are applied on the standby, they are not required and can be deleted. You would be able to configure this.

Similar Messages

  • Online Redolog Archiving on Logical Standby Databases!!

    Hi,
    Can I safely stop archiving on logical standby database? It has been inherited from primary database at the time of creation, but I don't see any reason why to keep it enabled while it's consuming unnecessary disk space on our server!!
    Any body can give a valid reason to keep it enabled??
    Thanks

    hi
    u dont need archiving on standby database as standby database reads archive files that come from primary database.its simply wastage of resource.stand by database was created from primary by taking a full backup.and to apply the archive files in case of failure u need atleast 1 backup of stand by database .and i assume u wont go for taking backup of standby database.
    just worry about the archives of primary database.
    kanchan
    OCP ( 9i,10g)

  • Powershell Script to change the target destination on a shortcut file.

    Hi All,
    I am in a middle of a new file server implementation and have come across a problem where the items on the old file server has been archived and moved to another server and in place a shortcut is left at the original location. The current target of those
    shortcut is going to be changed and thus I need to change the Target destination on those various shortcuts files. I am new to powershell and will really appreciate if someone can assist me with a powershell script for the below steps:
    To find all shortcut files (Excel, word, powerpoint and other types) whose current target destination is \\abcserver\z\abcpath
    Change the Target destination to \\xyzserver\z\abcpath on the shortcut file and apply the change.
    Effectively only change shortcut files whose current target begins with "\\abcserver\" and change to "\\xyzserver\"
    Search for the next shortcut and continue changing it.
    Hope the above makes sense and appreciate the assistance.
    Thanks!

    Did you look?
    https://www.google.com/?gws_rd=ssl#newwindow=1&q=powershell+change+shortcut+path
    ¯\_(ツ)_/¯

  • BRTOOLS - How to change the backup destination ?

    BRTOOLS - Database Backup
    The default backup destination is /oracle/DEV/sapbackup.
    How can I change the Backup destination to a new mount point or a new place ?

    You can change the backup destination by editing file init<dbsid>.sap, parameter is backup_root_dir
    It is stored in directory <ORACLE_HOME>/dbs (UNIX) or <ORACLE_HOME>\database (Windows).

  • Manually apply archived log to standby database.

    Hi all,
    I am working on oracle 10g EE(10.2.0.4).I am having a very difficult database switchover case in my hand.
    1.> There are two database .one primary(prim) and another standby(standby).
    2.> Initially both of them was configured as oracle data guard, where prim was primary and standby was standby using rman .(RMAN>duplicate target database for
    standby dorecover).
    3.>But the rate of generation of archivelog is very high( 20 archivelog per hour with 200mb each).
    4.> So automatic shipping of archivelog has been disabled from primary.(log_archive_dest_state_2=defer and nullifying the value of log_archive_dest_2).
    5> Now after a period of time archived logs are shipped to dr site manually and applied manually.(alter database recover automatic standby database;)
    6.> Now there is a hardware problem occured at primary..it will take 72 hours to come up.
    How can i use standby database as primary for that 72 hour.As archive log apply is manually done and parameters are being changed,can i switch over these two?
    Is it possible to switchover and switch back these two database with such a configuration?

    How can i use standby database as primary for that 72 hour.As archive log apply is manually done and parameters are being changed,can i switch over these two?
    Is it possible to switchover and switch back these two database with such a configuration?
    As of now you can perform failover your standby to primary database. you should have flashaback enabled, so you have to create a restore point.
    Then it can be opened in read & write mode, So once you finished again you can go back to that point.
    http://docs.oracle.com/cd/B19306_01/server.102/b14239/manage_ps.htm#i1017111
    The above case applicable if you ready to loose, But it doesnt make sense. But in your case this doesnt work. Because once you start use of Standby as primary, there would be live/production data, which you need very much.
    So there is lot of work to do.
    You have to rebuild standby database and then switchover back to same location. So its a little trip work.
    Have you enabled Dataguard Broker ?
    Edited by: CKPT on Mar 13, 2012 1:43 PM

  • How to change COMPATIBLE with a physical standby database?

    Hello.
    The obvious answer is do it on both the primary and the standby at the same time... since the reference manual says : "When using a standby database, this parameter must have the same value on both the primary and standby databases.".
    However, I was wondering, I have a 10.2.0.3 DB with compatible=9.2.0.5. What will happen if I leave the parameter to 9.2.0.5 on the standby and just make the change to 10.2.0.3 on the primary? Would I be able to continue to apply the logs on the physical standby? Would I be able to open it ? (I understand that the transport won't probably work anymore and that I won't be able to switchover)
    I guess those 2 questions are stupid but I haven't found any clear statement yet.
    Please stay tolerant. Thank you.
    Gregory
    PS: I know what are the alternatives.

    So the answer is obviously: We cannot do that. That completely makes sense btw. I tried with 10.2.0.1 to 10.2.0.4 and I got:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 10/22/2008 18:35:55
    RMAN-11003: failure during parse/execution of SQL statement: alter
    database recover logfile '/u01/app/oracle/oradata/WHITE/redo02.log'
    ORA-00331: log version 10.2.0.4.0 incompatible with ORACLE version 10.2.0.1.0
    ORA-00334: archived log: '/u01/app/oracle/oradata/WHITE/redo02.log'
    I should have think about it before I asked. That would have meant we could revert the database from 10g to 9i any time... And the bootstrap changes are not stored in the redo log...
    Gregory

  • Transfering archive logs in standby database

    hi,
    i am trying to create a standby database for a a test scenario using oracle 10g R2 and windows xp
    Primary DB = primary
    standby DB=stby
    iam able to ping databases from each other using tnsping , but iam not able to transfer archive logs from primary to standby
    pfile for primary is
    primary.__db_cache_size=67108864
    primary.__java_pool_size=4194304
    primary.__large_pool_size=4194304
    primary.__shared_pool_size=88080384
    primary.__streams_pool_size=0
    *.audit_file_dest='C:\oracle\product\10.2.0/admin/primary/adump'
    *.background_dump_dest='C:\oracle\product\10.2.0/admin/primary/bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='C:\oracle\product\10.2.0\oradata\primary\control01.ctl','C:\oracle\product\10.2.0\oradata\primary\control02.ctl','C:\oracle\product\10.2.0\oradata\primary\control03.ctl'
    *.core_dump_dest='C:\oracle\product\10.2.0/admin/primary/cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_name='primary'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=primaryXDB)'
    *.job_queue_processes=10
    *.log_archive_dest_2='SERVICE=stby'
    *.log_archive_dest_state_2=ENABLE
    *.open_cursors=300
    *.pga_aggregate_target=16777216
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=167772160
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='C:\oracle\product\10.2.0/admin/primary/udump'
    log_archive_dest_1='LOCATION=C:\oracle\product\10.2.0\db_1\database\archive'
    log_archive_dest_state_1=ENABLE
    LOG_ARCHIVE_CONFIG='DG_CONFIG=(primary,stby)'
    pfile from standby
    primary.__db_cache_size=75497472
    primary.__java_pool_size=4194304
    primary.__large_pool_size=4194304
    primary.__shared_pool_size=79691776
    primary.__streams_pool_size=0
    *.audit_file_dest='C:\oracle\product\10.2.0\admin\adump'
    *.background_dump_dest='C:\oracle\product\10.2.0\admin\bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='C:\oracle\product\10.2.0\oradata\stby.ctl'
    *.core_dump_dest='C:\oracle\product\10.2.0\admin\cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_name='primary'
    db_unique_name='stby'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=primaryXDB)'
    *.job_queue_processes=10
    *.open_cursors=300
    *.pga_aggregate_target=16777216
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=167772160
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='C:\oracle\product\10.2.0\admin\udump'
    standby_archive_dest='C:\oracle\product\10.2.0\stbyarch'
    db_file_name_convert='C:\oracle\product\10.2.0\oradata\primary','C:\oracle\product\10.2.0\oradata'
    log_file_name_convert='C:\oracle\product\10.2.0\oradata\primary','C:\oracle\product\10.2.0\oradata'
    standby_file_management=AUTO

    You do not point to the standby database from your primary, in order to get the archivelogs transfered. You need to set at least the parameter LOG_ARCHIVE_DEST_2 like this:
    SQL>alter system set LOG_ARCHIVE_DEST_2='SERVICE=stdby VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=stdby';stdby has to be resolved by the tnsnames.ora on the primary server. Have a look here:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ps.htm#i67520
    That explains all you need to do to create a physical standby briefly.
    Kind regards
    Uwe
    http://uhesse.wordpress.com

  • Table to check unregistered archive logfiles in standby database.

    Hi,
    Can you please let me know the table or query to check unregistered logfiles in standby database? (For 9i version)
    Regards,
    Nagendra Chillale

    Nagendra Chillale wrote:
    Yes satish, i know. :)
    I know we can check alert log to ensure if the archive logfile was registered. Just grep for PHYSICAL or the specific sequence number and see for ALTER DATABASE PHYSCIAL command.
    grep PHYSICAL alert_$ORACLE_SID.log
    grep <sequence> alert_$ORACLE_SID.log
    Regards,
    Nagendra ChillaleIf you already knew this view was not available in 9i and that the method for finding out unregistered logs is through alert log, I don't see why you created this thread.

  • Changing the Host Name in Lite Database

    Hi,
         I am using oracle 10g Database release 2 and oracle 10g Lite Database Release 3
    OS is Windows 2003 Server
    I changed the host name
    “Old Name Oracle10g New Name OracleTENR1”
    Also change the host name in Listener.ora and tnsname.ora after that i restart the machine
    I checked the Database status (it is in OPEN STATE only )
    And then I start the mobile server it's not working ….
    How to change the host name in the oracle 10g Lite Database ?
    Please Advice
    Thank U
    SHAN

    hi,
    Thanks Fot the Reply ......
    I have changed the hostname in webtogo.ora
    Mobile Server is Working...
    But the Problem is "with the Browser http://localhost/webtogo it shows this error message in the Screen"
    500 Internal Server Error
    java.lang.NullPointerException     at oracle.lite.web.util.TaggedHtml.parse(Unknown Source)     at oracle.lite.web.util.TaggedHtml.init(Unknown Source)     at oracle.lite.web.WebtogoLogonPage.init(Unknown Source)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.loadServlet(HttpApplication.java:2231)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4617)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4541)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:740)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)     at java.lang.Thread.run(Thread.java:595)
    Please Advice.....
    thank U
    SHAN

  • Changing the default destination file when downloading

    when downloading the latest version of itunes i can't change the destination file, this is a problem as the file it is trying to download to no longer exists. i click install, but i can't click on any of my other files to change it :S and when i click change it tells me the file is unavailable then aborts instalation.
    thanks in advance

    I couldn't understand why this happening.
    To make sure change you may see this change in deployment area.
    Like <Appserver Install _dir>\appserv7\domains\domain1\server1\applications\j2ee-modules\<yourapplication name> directory
    HTH

  • How to change the "Current Destination Folder" to install iTunes

    How can I change the Destination Drive during the installation of iTunes?  The default is "C:" and it cannot be changed

    Hi,
    Check in OMSY Transaction that, Which current month and year is having your comapny code.
    and go to T.Code MMPV
    enter Next Month of that cureent period and Year
    and Execute. You find the message that your current period has changed.
    Do the same process month by month till reaches to current period and year.
    Let me know if you have further queries.
    Padma.

  • How do you change the email destination when you forgot your security question?

    Hey! First of all, Thank you for noticing my post! Haha
    Alright.. Soo.. This Apple ID was made a long time ago since my iPhone 5 was bought. I was planning to buy an ingame item but Vertification was needed so I was like yeah ok sure. XD Then it started giving me Security questions.
    I'm extremely sure I forgot both of the answers to my Security Questions so I decided to change it.
    I Went to Appleid.apple.com, logged in successfully, pressed the forgot the answer and it was said to sent to a YAHOO Email.
    I used to have this Yahoo Email but I forgot about it since Yahoo decided to deactivate due to inactivement so now I can't change my security answers so I can't proceed with my purchase.
    I was wondering if there's a way to change the email ( yahoo ) to my current gmail since I'm way more active on it and I
    can access it easier..?

    Alternatives for Help Resetting Security Questions and/or Rescue Mail
         1. If you have a rescue email address or a Security Questions issue, then see:
             If you forgot the answers to your Apple ID security questions - Apple Support.
             Manage your Apple ID primary, rescue, alternate, and notification email addresses - Apple Support
         2. Fill out and submit this form. Select the topic, Account Security. You must
             have a Rescue Email to use this option.
         3. This is the only option if you do not already have a valid Rescue Email.
             These are telephone numbers for contacting Apple Support in your country.
             Apple ID- Contacting Apple for help with Apple ID account security. Select
             the appropriate country and call. Ask to speak to the Account Security Team.
         4. Account security issues almost always require you to speak directly to an
             Apple representative to securely establish your identity as the account holder.
             You can set it up so that Apple calls you, either immediately or at a time
             convenient to you.
                1. Go to www.apple.com/support.
                2. Choose Contact Support and click Contact Us.
                3. Choose Other Apple ID Topics and choose the appropriate topic for
                    your issue.
                4. Follow the onscreen instructions.
             Note: If you have already forgotten your security questions, then you cannot
             set up a rescue email address in order to reset them. You must set up
             the rescue email address beforehand.
    Your Apple ID: Manage My Apple ID.
                            Apple ID- All about Apple ID security questions.

  • Upgrading the primary and physical standby database

    Solaris 9
    oracle 9i (9.2.0.8)
    upgrade to 10g (10.2.0.3)
    Hi,
    I would like to know how to upgrade database in dataguard envronment.(primary and remote physical standby database)
    Is rolling upgrade possible in this case?
    Or any steps or Document is appreciated.
    Thanks.
    Message was edited by:
    user539835

    Read this Metalink Note:407040.1

  • How can I change the port of a running database ?

    Hi Friends,
    on my laptop there is running a 9i DB with port 1521 and a 10gR2 DB with port 1521 also.
    The tnsping on these db's is successfully and
    with any tools I get the error : ORA-12505 .
    How can I change a port number e.g. of the 10g DB ?
    Thanks,
    Friedhold

    These tools you are talking about, did you configure the tnsnames for them?
    If you plan to change the default listening port, you need to modify the listener.ora file under $ORACLE_HOME/network/admin
    After 9i, Oracle has service registration
    A feature by which the PMON process automatically registers information with a listener. Because this information is registered with the listener, the listener.ora file does not need to be configured with this static information.
    You can try to run one listener, see if both instances can register themselves in even they are different versions.

  • How to change the download destination for all users in a same machine?

    Hi !
    Can anybody help me?
    This is the scenario:
    My application is going to be deployed in PCs with high rotation and politics inside the company those machines can't persist user information outside a session. This means that an user always is a new user in a PC, and when he logs off, his information (.../documents and settings/UserName/) is deleted by a central machine.
    The problem is that my users always have to download the application by JWS, because JWS saves (or caches) the application inside user folders.
    I know that it's possible to change download destination by a logged user, not like a global configuration.
    My question is:
    It is possible to configure the JWS properties (or something) to ensure that there will be only one .jar per machine not per user in the machine?
    -Diego
    Edited by: Diego_Trejos on Feb 16, 2009 1:06 PM

    You can set up a system cache for sharing jars: See here: http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/enterprise_config.03.06.html

Maybe you are looking for

  • Can't see my win7 library on my mac, yet I can see mac's in windows (itunes 11)

    Let me start by saying that I did not use Home Sharing before, It's my first time I tried to use that. I have 2 computers, one of them is PC, connected to router via ethernet cabel, and the second one is MBP, connected to the network by wifi. I set u

  • How to increment Font Size in Fraction say 14.1,14.2

    Please reply soon urgent

  • Is there a method for suggesting apps that don't exist yet?

    As a frequent user of call forwarding, it would be great if when I input a phone number it displays as one of my Contacts. This would help avoid mistakes, such as mistyping my home phone number; I might miss that I inputted one wrong digit, but if Ho

  • Instanceof operator treatment

    Hi I am new bie in java, Following is my code. public class Test {     public static void main(String[] args) {         Test test = new Test();         System.out.println(test instanceof T);         System.out.println(test instanceof I); interface I

  • Ipod wont sync

    so recently i got my computer reformatted i have 2 hard drives in it one with all my stuff on it and the other is new so i tried to sync my ipod after i reformatted and now it wont sync the songs and video comes up with 2 error messages itunes could