Dataguard without archivelogs

Dear DBAs,
Im going to create a logical standby database, on a RAC server containing also the primary, but what i want is that the logical database don't generate archivelogs to avoid the duplicate. Only the primary will generate archivelog to be shipped to the physical standby.
In fact i'm using the LGWR SYNC between the primary and the logicat stdb.
is it possible??
Thank you in advance
Regards

*.fal_client='TESTS'
*.fal_server='TESTP'On primary what you set for fal_client ?
Check service TESTP is accessible from standby node.
GAP - thread 2 sequence 10902-10995Looks like your primary is RAC, So you need to set fal_server to service name of both the primary node and FAL_CLIENT on both the primary node.
Virag

Similar Messages

  • Recover from hotbackup without archivelog-for help

    Because user error, three tables are deleted on may 1,2007. so, I restore db datafiles from tape, which is hot backup on apri 21,2007.
    Copy the datafiles to other os,and recover.
    But, the archivelog required is lost.as follows:
    $ sqlplus "/ as sysdba"
    SQL*Plus: Release 8.1.7.0.0 - Production on Fri Jun 15 09:54:50 2007
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    Connected to an idle instance.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 79408828 bytes
    Fixed Size 102076 bytes
    Variable Size 22364160 bytes
    Database Buffers 56762368 bytes
    Redo Buffers 180224 bytes
    Database mounted.
    SQL> select to_char(checkpoint_change#) from v$database;
    TO_CHAR(CHECKPOINT_CHANGE#)
    9216842117529
    SQL> select file#,to_char(checkpoint_change#) from v$datafile_header;
    FILE# TO_CHAR(CHECKPOINT_CHANGE#)
    1 9216842117530
    2 9216842117572
    3 9216843490042
    4 9216843490496
    5 9216843490502
    6 9216843490513
    7 9216843490525
    8 9216842117536
    9 9216842117548
    10 9216843490536
    10 rows selected.
    SQL> show parameter _all
    NAME TYPE VALUE
    allowresetlogs_corruption boolean TRUE
    fast_start_parallel_rollback string LOW
    optimizer_percent_parallel integer 0
    parallel_adaptive_multi_user boolean FALSE
    parallel_automatic_tuning boolean FALSE
    parallel_broadcast_enabled boolean FALSE
    parallel_execution_message_size integer 2152
    parallel_instance_group string
    parallel_max_servers integer 5
    parallel_min_percent integer 0
    parallel_min_servers integer 0
    NAME TYPE VALUE
    parallel_server boolean FALSE
    parallel_server_instances integer 1
    parallel_threads_per_cpu integer 2
    recovery_parallelism integer 0
    SQL> alter session set events '10015 trace name adjust_scn level 10';
    Session altered.
    SQL> recover database using backup controlfile until cancel;
    ORA-00279: change 9216842117530 generated at 04/21/2007 05:42:05 needed for
    thread 1
    ORA-00289: suggestion : /home/newdb/newdb_arch/arch_1_12320.arc
    ORA-00280: change 9216842117530 for thread 1 is in sequence #12320
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    CANCEL
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01195: online backup of file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/disk1/oradata/orcl/system01.dbf'
    ORA-01112: media recovery not started
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    Alert_orcl.log as follows:
    SMON: enabling cache recovery
    Fri Jun 15 11:10:23 2007
    Errors in file /home/newdb/admin/orcl/udump/orcl_ora_20312.trc:
    ORA-00600: internal error code, arguments: [2662], [2145], [4137307620], [2145], [4138639964], [12582914], [], []
    Fri Jun 15 11:10:23 2007
    ARC0: Completed archiving log# 1 seq# 2
    Fri Jun 15 11:10:24 2007
    Errors in file /home/newdb/admin/orcl/udump/orcl_ora_20312.trc:
    ORA-00600: internal error code, arguments: [2662], [2145], [4137307620], [2145], [4138639964], [12582914], [], []
    Fri Jun 15 11:10:24 2007
    Error 600 happened during db open, shutting down database
    USER: terminating instance due to error 600
    Instance terminated by USER, pid = 20312
    ORA-1092 signalled during: alter database open.
    Can you give some suggestion?

    I have used hidden parameter:_allow_resetlogs_corruption.but,it is not usefull.
    the datafiles have been consistent.
    i have used command as follows:
    alter session set events '10015 trace name adjust_scn level 10';
    why not can open the db?
    Message was edited by:
    [email protected]

  • Dataguard failed archivelog updates

    Hi all,
    11.2.0.1
    Aix 6.1
    We usually encountered archivelog failure to update the standby database due to voluminous transaction during batch time.
    These usually happened during paydays every 15th or 30th of the month. The voluminous acrhives can not accommodated
    by the network bandwidth so we manually transfer it and apply to the physical standby database.
    Can you share me your scripts that handles this situation?  Someone advised to create a script that checks if acrhive log gaps
    is > 10 . Then zip all the gaps archivelogs and ftp it to the standby server, and unzip, and then apply.
    I am not good in writing scripts and I am also afraid that I might mess the process and might delete the logs erroneously.
    By the way how do you count if gaps is > 10? Can it be queried in the database views?
    Please share your scripts....
    Thanks,
    zxy

    yxes2013 wrote:
    Hi all,
    11.2.0.1
    Aix 6.1
    We usually encountered archivelog failure to update the standby database due to voluminous transaction during batch time.
    These usually happened during paydays every 15th or 30th of the month. The voluminous acrhives can not accommodated
    by the network bandwidth so we manually transfer it and apply to the physical standby database.
    Can you share me your scripts that handles this situation?  Someone advised to create a script that checks if acrhive log gaps
    is > 10 . Then zip all the gaps archivelogs and ftp it to the standby server, and unzip, and then apply.
    I am not good in writing scripts and I am also afraid that I might mess the process and might delete the logs erroneously.
    By the way how do you count if gaps is > 10? Can it be queried in the database views?
    Please share your scripts....
    Thanks,
    zxy
    If you are incapable to do your job, then resign & find a job you are qualified to do.
    why do you expect us to do YOUR job for YOU?
    You get paid to produce such items. We don't!
    All we get from you are lies, mis-truths, & whines.

  • Archivelog VS Noarchivelog

    In order to perform an online Full database backup. The database has to be in ARCHIVELOG mode. Am I right ?
    I just wanna find out why the Database canot be in NOARCHIVELOG to perform Full database backup ?
    What happen if i try to perform Full backup while my database is in NOARCHIVELOG ?
    Thanks

    In order to perform an online Full database backup. The database has to be in ARCHIVELOG mode. Am I right ?..YES
    I just wanna find out why the Database canot be in NOARCHIVELOG to perform Full database backup ? ..due to the following reasons;
    When you want to take the online backup you need to keep tablespaces in backup mode, which is only possible if your DB is in Archivelog mode. You can't put tablespace in backup mode if your DB is in noarchive log mode.
    you can also take online backups via RMAN utility, if your db is in archivelog mode.
    What happen if i try to perform Full backup while my database is in NOARCHIVELOG ?Say, your database in noarchive mode and you have copied all you datafiles via copy command or anything. If any of the datafile got corrupted you just can't copy only that particular datafile to recover your database. The copies which you take are invalid and useless without archivelogs.
    SJH
    OCP DBA

  • Oracle recommended location for archive logs in  oracle 10g rac

    Hello All,
    We would like to know the oracle recommended location for the archive logs in oracle10g RAC .we are using ASM.
    Thanks...

    user4487322 wrote:
    thanks. Is it the recommended setting ,if we go for a DR setup?I mean archive logs in ASM.If you can use dataguard, the archivelog copy to the standby system would be handled by Oracle and it supports ASM.
    Just remember, what ever your strategy, the archivelogs must be in a SHARED location (where all nodes can read/write to this location.)

  • Problem in recovering the database!!!

    Hi All,
    I created a new database and wanted to restore the backup of another database into it, I created the required tablespaces and started restore of backup from RMAN using
    run {
    allocate channel 'dev_0' type 'sbt_tape'
    parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=orcl,OB2BARLIST=DAILY_HISDBS01_ORACLE-DB_ONLINE_5W,OB2BARHOSTNAME=hisdbs01.kfmc.med)';
    restore controlfile from 'c-1179279249-20090511-02';
    alter database mount;
    release channel 'dev_0';
    The controlfile got restored successfully, then I tried to restore & recover the database
    run {
    allocate channel 'dev_0' type 'sbt_tape'
    parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=central,OB2BARLIST=DAILY_HISDBS01_ORACLE-DB_ONLINE_5W,OB2BARHOSTNAME=hisdbs01.kfmc.med)';
    restore database;
    recover database;
    release channel 'dev_0';
    The restore was successful, but when I tried to open the database with resetlogs option
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '+DATADG/orcl/datafile/system.295.686609187'
    SQL> recover database using backup controlfile until cancel;
    ORA-00279: change 1136286903 generated at 05/11/2009 02:08:22 needed for thread1
    ORA-00289: suggestion : */arch/archivelog/1_8493_651861624.dbf*
    ORA-00280: change 1136286903 for thread 1 is in sequence #8493
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    cancel
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '+DATADG/orcl/datafile/system.295.686609187'
    ORA-01112: media recovery not started
    The recovery process is looking for */arch/archivelog/1_8493_651861624.dbf* this archivelog, but this archivelog file is not present at that location, the restore process should have restored all the archivelogs as well, actually no archivelogs got restored, how can I recover the database without archivelog logs? it is not possible at all.
    PLEASE tell me how can I make the database work?

    Thanks Hemant !!!
    I restored the archivelogs using the script below
    run {
    allocate channel 'dev_0' type 'sbt_tape'
    parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=central,OB2BARLIST=DAILY_HISDBS01_ORACLE-DB_ONLINE_5W,OB2BARHOSTNAME=hisdbs01.kfmc.med)';
    restore ARCHIVELOG FROM TIME 'SYSDATE-5' UNTIL TIME 'SYSDATE';
    release channel 'dev_0';
    then recoverd the database and applied the requested archivelog file and opened the database with resetlogs, it is now successfully recovered upto the point I wanted it to be.

  • NOARCHIVELOG mode and RMAN

    Is there any way to hot backup of a tablespace without ARCHIVELOG being set to true? Or must I hot backup each individual datafile instead of the whole tablespace? It has been decided here that archiving will not be used so I'm kind of in a bind about this. Or am I doomed to cold backups only?
    Thanks for any information.
    Thomas Nelson

    We've also got a test database in NOARCHIVELOG. We decided to
    take the database down from 'open' to 'mounted' (shutdown +
    startup mount) and perform a regular full RMAN backup before
    opening the database again. Is this the recommended path?
    Regards,
    per

  • How to implement Data guard

    hi all
    I am new to data guard.I want help to implement dataguard.so can anybody tell me link for good document,video to implement dataguard.

    I am new to data guard.I want help to implement dataguard.so can anybody tell me link for good document,video to implement dataguard.What is the version is it 10g or 11g?
    is it Windows/Unix?
    You can follow emre baransel mentioned documents and also some more here.
    if 11g you can implement dataguard without any backup. However mentioning both the links. Go through.
    *Creating a Standby Database on a new host [ID 374069.1]*
    *How to create physical standby database with 11g RMAN DUPLICATE FROM ACTIVE DATABASE [ID 747250.1]*
    *Step By Step Guide To Create Physical Standby Database Using RMAN [ID 469493.1]*

  • Online Backup is needed everyday??

    Hello All,
                   For our ECC 6.0 System,OS=HP UNIX,Database=Oracle 9i
    We are taking only Offline backup everyday...No Online backup is taken.Can we restore the system completely if it crashes??Is there any necessity to take the Online Backup daily??But we are taking File system Backup everyday from HP-Unix.What startegy is followed for SAP Best practise??

    Hi,
    back into the purpose of the backup : enable to restore data to its latest stable condition while system or database is crashed.
    backup offline : you can restore database back only until the latest offline backup.
    say you are doing the last offline backup on Dec 1, 2009, so if your system is crash now, you can only bring your system back to Dec 1, 2009. No matter if you are have full-set of archivelog, it will useless.
    backup online : you can restore database back until the last archivelog you can save before crash.
    say you are doing the last online backup this morning and regularly backup your archive log, so if your system is crash now, you can restore your online backup followed by applying your saved archivelog to bring your database to the latest condition (equivalent to the last archivelog you have). say the last online backup is 5AM this morning, and you backup archivelog every hour, and on on 7.15AM system is crash, you can restore online backup taken on 5AM, plus restoring (applying) archivelog on 6AM and 7AM, and then bring your database up. in this case, you may lost data from 7AM to 7.15AM if archivelog created during this time can't be save (during system/database crash). if you have enough time to save archivelog created between 7AM and 7.15AM, you can prevent or minimize data loss.
    suggestion for you :
    offline backup : once a week
    online backup : once a day
    archivelog oracle backup : every hour (or depends on how many archivelog created per hour on your system)
    filesystem (vg00 or internal disk) backup : once a month, before applying patch and after applying patch
    compared to our system:
    offline backup : once a month (due to huge database we have)
    online backup : once a day
    archivelog oracle backup : every hour
    filesystem (vg00 or internal disk) backup : once a month, before applying patch and after applying patch
    remember, online backup without archivelog backup (on Oracle system) is nothing.
    and filesystem  (vg00 or internal disk) backup (usually using ignite backup) is important to maintain stable version of filesystem (vg00 or internal disk) which contain OS (HPUX) and other important files not stored on external storage.
    hope it help you,
    rgds,
    Alfonsus Guritno

  • Bearing Data Loss

    Hello Experts,
    I have taken backup full on 21 JULY 2011 9:00 am and I have taken archivelog all backup 21 JULY 5:00 pm and then in the next morning I took another full backup on 22 JULY 2011 9:00 am,now i have confusion about the archivelog all backup is it still required after full backup taken on 22 JUL 2011 9:00 am
    we can bear data loss and I want to restore the database till last full backup of 22 JULY 2011 09:00 am or assume I have lost my archive backup and archive files too,can we restore database without archivelog backup and files ?
    Thanks in advanced
    Regards,
    Asif
    Edited by: Asif Hussain on Jul 21, 2011 11:29 PM

    If My database has created more than 1000 archivelog files since 6 month before to till date,so I have required all archive files till today with Full backup ?
    Ans: No, you need all the archive logs after your last full backup taken.
    DB Created: 1st Jan, 2011
    Last Full RMAN backup: 20th July, 10:00 AM
    Then to recover the database without any data loss you need full backup of 20th July 10:00AM + all archive logs after the full backup.
    ## Time based recovery
    startup mount;
    restore database until time "TO_DATE('29/10/10 19:00:00','MM/DD/YY HH24:MI:SS')";
    recover database until time "TO_DATE('29/10/10 19:00:00','MM/DD/YY HH24:MI:SS')";
    alter database open resetlogs;
    ## SCN based recovery
    startup mount;
    restore database until scn 10000;
    recover database until scn 10000;
    alter database open resetlogs;
    ## log sequence based recovery
    startup mount;
    restore database until sequence 100 thread 1;
    recover database until sequence 100 thread 1;
    alter database open resetlogs;
    Regards
    Asif Kabir

  • Sysaux tablespace corrupted.

    Hi,
    Sysaux tablepace corrupted. when recover sysaux tablespace it is asking archfiles. but archfiles is expired. how to overcome from this issue? can we recreate sysaux tablespace
    Thanks

    Krishna Agnihotri wrote:
    Hi user2017273
    Kindly explain what do you mean of sysaux tablespace corruption, How you have identified this issue.
    there are two type of corruption > Physical and Logical
    are you able to identified the corruption is in which segment or is this in any free segment. if this is in free segment then you need not to worry. and if corruption is in any segment then what is the segment type > Table, Index or LOB....
    kindly give your finding with above plan, so that i can help to recover/recreate your sysaux tablespace.
    Krishna,
    I am not sure that for a tablespace, there is anything like a logical corruption. That said, whether its a logical or physical corruption, since its a tablespace which is meant for the db's internal tables and since the OP doesn't have any archive logs to recover it and he is on a patched system, its better than he should work with OSS. Because without archivelogs, any kind of corruption recovery would be impossible and logical corruption is not something that I have seen a lot. So going to support would be the best thing to do to avoid further complexities IMO.
    Aman....

  • Help me! ORA-01172 during database startup,and I can't recover it

    Hi,
    I use oracle 7.3.4.0.0 on Windows 2000 Adv server. My Cluster met some problem, the clustsvc quit unexpectedly,and cluster admin application hang, so I restarted the computer. But after I restart,I can't start my ORACLE_SID, I met ORA-01172, Instance recover stuck at block 49, file #1,can't aplly change SCN 0000000.0a435675,it isnot the next change,...ORA-00600 ....... My DB is NOARCHIVELOG, and file #1 is SYSTEM tablespace, and I have no recent copies of these datafiles. So I can't recover from the problem. I use dbverf73 checked all the datafiles, they all have no corrupt blocks. How can recover the database?
    Please help me! A lot of thanks!

    Check Oracle support for the ORA-00600 error.
    Recover a database without ARCHIVELOG and without a cold backup is impossible as far as i know...
    Fred

  • Standby without DataGuard

    Hi,
    I've successfully created a standby for a single node Primary Database in 10g on Redhat Enterprise Linux 4.0 Update 4.0. I'm planning to add one more standby site to the same primary database. Now, my question is...
    1. Is it possible to setup more than one standby without the help of DataGuard.
    2. If possible, please guide me how to do it(step-by-step).
    Thanks in advance...
    Mahesh

    If you've already configured one Standby without DataGuard, you'd use the same method for the second standby.
    Since we do not know your scripts and how you are propagating archive logs and putting the standby in recovery mode -- all of which would be "custom" methods in the absence of DataGuard -- we can't really advice you . Because it is difficult to advice on extensions to a customisation without looking at a customisation.
    Many sites have implemented a scripted Standby without DataGuard using methods available since Oracle7. However, the frequency and method of archivelog propagation and how and when the standby database "wakes up" to apply the archivelogs etc are all site specific.
    Let's say that you DO use the ARCH process on the primary database to propagate archivelogs to the Standby destination site. Since Oracle 10g allows multiple log_archive_dest_n sites, you can just add one more site and have the archivelogs propagate to the additonal site. However, there are other parameters (eg MANDATORY/OPTIONAL, REOPEN, DELAY etc) that you would set based on your requirements.
    The two standby instances would be independent {unaware} of each other -- you can script delays between the archivelogs so that the two standby aren't always at the same level (this allows "fallback" to an "older version of the database" when necessary). You could have one standby stop recovery and open read only for some time.
    Short Answer : Yes, it is possible to have multiple "standby"s without DataGuard.
    Correct Answer : How you do it depends on how you want to extend your current implementation.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Urgent help : Need to recover a database without backup and archivelogs

    Hi,
    We are in urgent need to recover a database without backup and archivelogs
    one datafile seems corrupted
    SQL> recover automatic database until cancel using BACKUP CONTROLFILE;
    ORA-00279: change 10527325422479 generated at 07/27/2011 03:13:04 needed for
    thread 1
    ORA-00289: suggestion : /pys/u5/oradata/PYS/PYSarch/arch0001.0000181845.arc
    ORA-00280: change 10527325422479 for thread 1 is in sequence #181845
    ORA-00278: log file '/pys/u5/oradata/PYS/PYSarch/arch0001.0000181845.arc' no
    longer needed for this recovery
    ORA-00308: cannot open archived log
    '/pys/u5/oradata/PYS/PYSarch/arch0001.0000181845.arc'
    ORA-27037: unable to obtain file status
    HP-UX Error: 2: No such file or directory
    Additional information: 3
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    CANCEL
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/pys/u2/oradata/PYS/pay_system_01.dbf'

    N Gasparotto wrote:
    bsac14 wrote:
    my database is in no archive mode
    can you please tell how to restore
    yes it is a datafile corruptionYou did not say how you defined that's a datafile corruption. You provide minimum to zero information.
    I just need to bring the database up,no need any exact data
    I can refresh from prod laterThen drop and recreate database. Basically and since you are not in archive mode, no recover is possible. Period.
    Nicolas.Hi,
    How did you come to the conclusion that your datafile is corrupted? Can you provide and supported logs?
    Regards .....

  • Can we put RAC database in Archivelog mode without shutting down

    All,
    Can we put RAC database in Archivelog mode without shutting down.
    Currently our new production database (2 node RAC) is in no archive log mode, Need to enable archive log in the database...
    I believe we need to set the cluster_database=false and then put the DB in archive log mode then we need to bounce the database to take effect...
    Just curious to know in 11gR2 ...Can we put the RAC database in archive log mode without any downtime ...?

    Even RAC or non-RAC, database should bounced and enable/disable archive log mode from mount status.

Maybe you are looking for

  • Ipod wire not working?

    So starting around December, my ipod would be so difficult to connect. When I'm trying to charge it and I move my ipod, it would unconnect and reconnect even though the wire is still attached to the ipod. I thought it was an ipod wire problem so I bo

  • Can anyone get song info or I-pod menu to display on a external monitor?

    I would like to use a monitor in my vehicle to display the music info instead of the small I-pod screen. Anybody got any ideas?

  • Query execution is faster - as SYS user vs. application user in 11.1.07

    In +11.1.0.7+ database, we have noticed execution of an application process as SYS user is faster than the application user. To quantify this execution time was 2 hours as application user and same process when executed as SYS user completed in 1 hou

  • Clas cast exception

    I have a stateless session bean which i am calling from jsp page.Everything was working fine,but bean started giving class cast exception to JSP.I didn't change any thing in bean.At the same time if i am deploying this bean in other system It's worki

  • Failed to Run Task Sequence Failed to Run Task Sequence 0x80004005

    Please help me with this error. i tried everything with the forums and internet blogs non of work for me. Pls find out the Trace below and help me to sought out this problem. Failed to Run Task Sequence 0x80004005 <![LOG[LOGGING: Finalize process ID