newspaper archived in full growth

Hi all

I have facing cases in our database, my archived log growing too fast,

I have the database in version 11g with aix operating system.

My redolog files size is 1 G and 2 Group 1 group 2 file.

and my archived log generated every 2 minutes with a size of 1 G.

a describet it why and how identify which statement or data that make it.

Thanks for the suggestion

concerning

Imrons

There are things to know what casue LMD this and you can reduce the amount of redo with some advice

You can look in the Interior of the newspapers archived using logminer.

Disable unnecessary maintenance jobs, consultants

If you delete all the data in a table, you use the command truncate instead of the delete command.

When using temporary loading and unloading data in a session, using a global temporary table rather than permanent.

on the other hand, have you seen "checkpoint is not complete" (it's very badly your db performance) messages to your alerts log. I think you should have more than 2 groups of redo log.

Concerning

Tags: Database

Similar Questions

  • RMAN-20242: specification does not match any newspaper archive in the catalogue

    Dear Experts,
    My rman script is as follows:
    4 > run
    5 > {}
    6 > allocate channel dev1 "Z:\Rbackup\DMP\db_t%t_s%s_p%p" type disc format
    7 > affect the format of disc type channel dev2 'Z:\Rbackup\DMP\db_t%t_s%s_p%p ';
    8 > backup database FILESPERSET 20;
    9 > archivelog backup until time ' sysdate-1' remove all entries;
    10 > release channel dev1;
    11 > output channel dev2.
    {12 >}

    The above script is executed every day at 14:00.
    Today accidentally I ran this script twice. The second round, wiped out the created first dmp. Indeed, I've lost the newspaper archive of sysdate-2 to sysdate-1. After that, I did a full backup.
    Now, if I have a full back, I lost 1 days newspaper Archives.
    Please tell me what are the consequences of this?

    Concerning
    Renjith Malet

    Renjith Madhavan wrote:

    if already backed up and those archives not exist in OS.... there is no worries on business requirements..because it is already in RMAN repositry
    

    What happens if I want to perform a recovery until a specified... time? Can't be a requirement of the company?

    Published by: Renjith Malet 5 December 2010 21:52

    If you want to perform incomplete recovery until the specified time (time base), then in this case, you must be have full backup taken before this time and backup all archivelogs this time full until your desired time.

  • destination of the newspaper Archive of current location to new location

    Hello

    I want to change my destination of the newspaper archive of current location to new location. Can you please give me the steps to change the destination of the journal archive

    No need to bounce the database.

    SQL > alter system switch logfile;

    and check the path to the new log archiving in this specific directory.

    Concerning
    Asif Kabir

  • specification does not match any newspaper archive in the recovery catalog

    RMAN > delete archivelog until time = ' sysdate-15';

    output channel: ORA_DISK_1
    output channel: ORA_DISK_2
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 151 devtype = DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid = 143 devtype = DISK
    specification does not match any newspaper archive in the recovery catalog


    Database 10.2.0.3.0 on win2008 (VMWARE)
    Thank you

    Honey says:
    RMAN > delete archivelog until time = ' sysdate-15';

    output channel: ORA_DISK_1
    output channel: ORA_DISK_2
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 151 devtype = DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid = 143 devtype = DISK
    specification does not match any newspaper archive in the recovery catalog

    Database 10.2.0.3.0 on win2008 (VMWARE)
    Thank you

    There is no archived redo log file corressponding your query. There is no archived for 15 days ago redo log file

  • Archive newspaper vs. Full Backup Concept

    Hello

    I just need some clarification on how backups and Archives Records work. Lets say from 13:00 I have archive records 1,2,3,4,5 and then I perform a full backup at 18:00.

    I take then generate logs archiving at 18:00 to get newspapers 6,7,8,9,10. Then, I stop at 23:00.

    If my interpretation is correct, the archive logs should allow me to restore oracle to a point in time anywhere between 13:00 and 23:00. But if I have only the full backup, then I can only restore to a single point, which is from 18:00. My understanding is correct?

    Archive logs only applied to data files during backup or only during a restore? There is no archive newspaper applied on the fly.

    Thanks in advance.

    thelok wrote:
    Thanks for the great explanation! If I can do a restore time to any time point since the data changed files have been written (or when I have the last set of data files backed up more archive logs). What you say, I can force the data files to write about recovery logs (by a control point with 'alter set archive current log' or 'backup database more archivelog'), and then I can delete all archive logs have an SCN less than the SNA control point on the data files. Is this true? It would be for the purpose of preservation of disk space.

    Hello

    See this example. I hope this explains your doubt.

    # My current date is 06-11-2011 17:15
    # I not have backup of this database
    # My retention policy is to have 1 backup 
    
    # I start listing  archive logs.
    RMAN> list archivelog all;
    
    using target database control file instead of recovery catalog
    
    List of Archived Log Copies
    Key     Thrd Seq     S Low Time            Name
    ------- ---- ------- - ------------------- ----
    29      1    8       A 29-10-2011 12:01:58 +HR/dbhr/archivelog/2011_10_31/thread_1_seq_8.399.766018837
    30      1    9       A 31-10-2011 23:00:30 +HR/dbhr/archivelog/2011_11_03/thread_1_seq_9.409.766278025
    31      1    10      A 03-11-2011 23:00:23 +HR/dbhr/archivelog/2011_11_04/thread_1_seq_10.391.766366105
    32      1    11      A 04-11-2011 23:28:23 +HR/dbhr/archivelog/2011_11_06/thread_1_seq_11.411.766516065
    33      1    12      A 05-11-2011 23:28:49 +HR/dbhr/archivelog/2011_11_06/thread_1_seq_12.413.766516349
    
    ## See I have archive logs from time "29-10-2011 12:01:58" until "05-11-2011 23:28:49" but I dont have any backup of database.
    
    # So I perfom backup of database including archive logs.
    
    RMAN> backup database plus archivelog delete input;
    
    Starting backup at 06-11-2011 17:15:21
    
    ## Note above RMAN forcing archive current log, this archivelog generated will be usable only for previous backup.
    ## Is not my case... I don't have backup of database.
    
    current log archived
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=159 devtype=DISK
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=8 recid=29 stamp=766018840
    input archive log thread=1 sequence=9 recid=30 stamp=766278027
    input archive log thread=1 sequence=10 recid=31 stamp=766366111
    input archive log thread=1 sequence=11 recid=32 stamp=766516067
    input archive log thread=1 sequence=12 recid=33 stamp=766516350
    input archive log thread=1 sequence=13 recid=34 stamp=766516521
    channel ORA_DISK_1: starting piece 1 at 06-11-2011 17:15:23
    channel ORA_DISK_1: finished piece 1 at 06-11-2011 17:15:38
    piece handle=+FRA/dbhr/backupset/2011_11_06/annnf0_tag20111106t171521_0.268.766516525 tag=TAG20111106T171521 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:16
    channel ORA_DISK_1: deleting archive log(s)
    archive log filename=+HR/dbhr/archivelog/2011_10_31/thread_1_seq_8.399.766018837 recid=29 stamp=766018840
    archive log filename=+HR/dbhr/archivelog/2011_11_03/thread_1_seq_9.409.766278025 recid=30 stamp=766278027
    archive log filename=+HR/dbhr/archivelog/2011_11_04/thread_1_seq_10.391.766366105 recid=31 stamp=766366111
    archive log filename=+HR/dbhr/archivelog/2011_11_06/thread_1_seq_11.411.766516065 recid=32 stamp=766516067
    archive log filename=+HR/dbhr/archivelog/2011_11_06/thread_1_seq_12.413.766516349 recid=33 stamp=766516350
    archive log filename=+HR/dbhr/archivelog/2011_11_06/thread_1_seq_13.414.766516521 recid=34 stamp=766516521
    Finished backup at 06-11-2011 17:15:38
    
    ## RMAN finish backup of Archivelog and Start Backup of Database
    ## My backup start at "06-11-2011 17:15:38"
    
    Starting backup at 06-11-2011 17:15:38
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=+HR/dbhr/datafile/system.386.765556627
    input datafile fno=00003 name=+HR/dbhr/datafile/sysaux.396.765556627
    input datafile fno=00002 name=+HR/dbhr/datafile/undotbs1.393.765556627
    input datafile fno=00004 name=+HR/dbhr/datafile/users.397.765557979
    input datafile fno=00005 name=+BFILES/dbhr/datafile/bfiles.257.765542997
    channel ORA_DISK_1: starting piece 1 at 06-11-2011 17:15:39
    channel ORA_DISK_1: finished piece 1 at 06-11-2011 17:16:03
    piece handle=+FRA/dbhr/backupset/2011_11_06/nnndf0_tag20111106t171539_0.269.766516539 tag=TAG20111106T171539 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:24
    Finished backup at 06-11-2011 17:16:03
    
    ## And finish at "06-11-2011 17:16:03", so I can recovery my database from this time.
    ## I will need archivelogs (transactions) which was generated during backup of database.
    ## Note during backup some blocks are copied others not. The SCN is inconsistent state.
    ## To make it consistent I need apply archivelog which have all transactions recorded.
    
    ## Starting another backup of archived log generated during backup.
    Starting backup at 06-11-2011 17:16:04 
    
    ## So automatically RMAN force another "checkpoint" after backup finished,
    ## forcing archive current log, because this archivelog have all transactions to bring database in a consistent state.
    
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=14 recid=35 stamp=766516564
    channel ORA_DISK_1: starting piece 1 at 06-11-2011 17:16:05
    channel ORA_DISK_1: finished piece 1 at 06-11-2011 17:16:06
    piece handle=+FRA/dbhr/backupset/2011_11_06/annnf0_tag20111106t171604_0.272.766516565 tag=TAG20111106T171604 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
    channel ORA_DISK_1: deleting archive log(s)
    archive log filename=+HR/dbhr/archivelog/2011_11_06/thread_1_seq_14.414.766516565 recid=35 stamp=766516564
    Finished backup at 06-11-2011 17:16:06
    
    ## Note: I can recover my database from time "06-11-2011 17:16:03" (finished backup full)
    ##  until "06-11-2011 17:16:04" (last archivelog generated) that is my recover window in this scenary.
    
    ## Listing Backup I have:
    ## Archive Logs in backupset before backup full start - *BP Key: 40*
    ## Backup Full database in backupset - *BP Key: 41*
    ##  Archive Logs in backupset after backup full stop - *BP Key: 42*
    
    RMAN> list backup;
    
    List of Backup Sets
    ===================
    
    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ -------------------
    40      196.73M    DISK        00:00:15     06-11-2011 17:15:37
            *BP Key: 40*   Status: AVAILABLE  Compressed: NO  Tag: TAG20111106T171521
            Piece Name: +FRA/dbhr/backupset/2011_11_06/annnf0_tag20111106t171521_0.268.766516525
    
      List of Archived Logs in backup set 40
      Thrd Seq     Low SCN    Low Time            Next SCN   Next Time
      ---- ------- ---------- ------------------- ---------- ---------
      1    8       766216     29-10-2011 12:01:58 855033     31-10-2011 23:00:30
      1    9       855033     31-10-2011 23:00:30 896458     03-11-2011 23:00:23
      1    10      896458     03-11-2011 23:00:23 937172     04-11-2011 23:28:23
      1    11      937172     04-11-2011 23:28:23 976938     05-11-2011 23:28:49
      1    12      976938     05-11-2011 23:28:49 1023057    06-11-2011 17:12:28
      1    13      1023057    06-11-2011 17:12:28 1023411    06-11-2011 17:15:21
    
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    ------- ---- -- ---------- ----------- ------------ -------------------
    41      Full    565.66M    DISK        00:00:18     06-11-2011 17:15:57
            *BP Key: 41*   Status: AVAILABLE  Compressed: NO  Tag: TAG20111106T171539
            Piece Name: +FRA/dbhr/backupset/2011_11_06/nnndf0_tag20111106t171539_0.269.766516539
      List of Datafiles in backup set 41
      File LV Type Ckp SCN    Ckp Time            Name
      ---- -- ---- ---------- ------------------- ----
      1       Full 1023422    06-11-2011 17:15:39 +HR/dbhr/datafile/system.386.765556627
      2       Full 1023422    06-11-2011 17:15:39 +HR/dbhr/datafile/undotbs1.393.765556627
      3       Full 1023422    06-11-2011 17:15:39 +HR/dbhr/datafile/sysaux.396.765556627
      4       Full 1023422    06-11-2011 17:15:39 +HR/dbhr/datafile/users.397.765557979
      5       Full 1023422    06-11-2011 17:15:39 +BFILES/dbhr/datafile/bfiles.257.765542997
    
    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ -------------------
    42      3.00K      DISK        00:00:02     06-11-2011 17:16:06
            *BP Key: 42*   Status: AVAILABLE  Compressed: NO  Tag: TAG20111106T171604
            Piece Name: +FRA/dbhr/backupset/2011_11_06/annnf0_tag20111106t171604_0.272.766516565
    
      List of Archived Logs in backup set 42
      Thrd Seq     Low SCN    Low Time            Next SCN   Next Time
      ---- ------- ---------- ------------------- ---------- ---------
      1    14      1023411    06-11-2011 17:15:21 1023433    06-11-2011 17:16:04
    
    ## Here make sense what I trying explain
    ## As I don't have backup of database before of my Last backup, all archivelogs generated before of my backup full is useless.
    
    ## Deleting what are obsolete in my env, RMAN choose backupset 40 (i.e all archived logs generated before my backup full)
    
    RMAN> delete obsolete;
    
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 1
    using channel ORA_DISK_1
    Deleting the following obsolete backups and copies:
    Type                 Key    Completion Time    Filename/Handle
    -------------------- ------ ------------------ --------------------
    *Backup Set           40*     06-11-2011 17:15:37
      Backup Piece       40     06-11-2011 17:15:37 +FRA/dbhr/backupset/2011_11_06/annnf0_tag20111106t171521_0.268.766516525
    
    Do you really want to delete the above objects (enter YES or NO)? yes
    deleted backup piece
    backup piece handle=+FRA/dbhr/backupset/2011_11_06/annnf0_tag20111106t171521_0.268.766516525 recid=40 stamp=766516523
    Deleted 1 objects
    

    In the example above, I could before running Backup "archivelog all delete" because they are not necessary, but as an example, I followed this unnecessarily. (archivelog backup and deletion after)

    Kind regards
    Levi Pereira

    Published by: Levi Pereira on November 7, 2011 01:02

  • Enter the number of process... missing newspaper archive!

    Hello

    Oracle Streams capture process is alternating between the State INITIALIZING and DICTIONARY of INITIALIZATION and not proceed after this State in order to capture the updates made on the table.


    We accidentally missing archivelogs and no log backup archive.

    Now I'm going to recreate the process of capture again.


    How can I start the new SNA, the capture process?

    And what is the way of dough to delete files from archive central server log, because
    YVERT used by the capture process?


    Thank you
    Faziarain

    Published by: [email protected] on August 12, 2009 12:27 AM

    Use dbms_Streams_Adm to add a capture, also do a dbms_capture_adm.build. You will see in v$ archived_log to the dictionary_begin of the column "Yes", which means that the first_change # this archivelog is first SNA appropriate to start the capture.

    "rman" is the way favorite in 10 g + to delete the archive that he is aware of the constraints of flow. If you cannot use rman to purge the archives, you must verify that the min required YVERT in your system by script and react accordingly.

    Since the 10g, I recommend using rman, but nevertheless, here's the script I did 9i in former time were rman ate the records by streams with appetite.

    #!/usr/bin/ksh
    # program : watch_arc.sh
    # purpose : check your archive directory and if actual percentage is > MAX_PERC
    #           then undertake the action coded by -a param
    # Author : Bernard Polarski
    # Date   :  01-08-2000
    #           12-09-2005      : added option -s MAX_SIZE
    #           20-11-2005      : added option -f to check if an archive is applied on data guard site before deleting it
    #           20-12-2005      : added option -z to check if an archive is still needed by logminer in a streams operation
    
    # set -xv
    
    #--------------------------- default values if not defined --------------
    # put here default values if you don't want to code then at run time
    MAX_PERC=85
    ARC_DIR=
    ACTION=
    LOG=/tmp/watch_arch.log
    EXT_ARC=
    PART=2
    #------------------------- Function section -----------------------------
    get_perc_occup()
    {
    
      cd $ARC_DIR
      if [ $MAX_SIZE -gt 0 ];then
           # size is given in mb, we calculate all in K
           TOTAL_DISK=`expr $MAX_SIZE \* 1024`
           USED=`du -ks . | tail -1| awk '{print $1}'`    # in Kb!
      else
        USED=`df -k . | tail -1| awk '{print $3}'`    # in Kb!
        if [ `uname -a | awk '{print $1}'` = HP-UX ] ;then
               TOTAL_DISK=`df -b . | cut -f2 -d: | awk '{print $1}'`
        elif [ `uname -s` = AIX ] ;then
               TOTAL_DISK=`df -k . | tail -1| awk '{print $2}'`
        elif [ `uname -s` = ReliantUNIX-N ] ;then
               TOTAL_DISK=`df -k . | tail -1| awk '{print $2}'`
        else
                 # works on Sun
                 TOTAL_DISK=`df -b . | sed  '/avail/d' | awk '{print $2}'`
        fi
      fi
      USED100=`expr $USED \* 100`
      USG_PERC=`expr $USED100 / $TOTAL_DISK`
      echo $USG_PERC
    }
    #------------------------ Main process ------------------------------------------
    usage()
    {
        cat < -e  -l -d -m  -r 
                                        -t  -c  -v 
                                        -s  -i  -g -f
    
                  Note :
    
                           -c compress file after move using either compress or gzip (if available)
                              if -c is given without -m then file will be compressed in ARCHIVE DIR
                           -d Delete selected files
                           -e Extention of files to be processed
                           -f Check if log has been applied, required -i  and -g if v8
                           -g Version 8 (use svrmgrl instead of sqlplus /
                           -i Oracle SID
                           -l List file that will be processing using -d or -m
                           -h help
                           -m move file to TARGET_DIR
                           -p Max percentage above wich action is triggered.
                              Actions are of type -l, -d  or -m
                           -t ARCHIVE_DIR
                           -s Perform action if size of target dir is bigger than MAX_SIZE (meg)
                           -v report action performed in LOGFILE
                           -r Part of files that will be affected by action :
                               2=half, 3=a third, 4=a quater .... [ default=2 ]
                           -z Check if log is still needed by logminer (used in streams),
                                    it requires -i  and also -g for Oracle 8i
    
                  This program list, delete or move half of all file whose extention is given [ or default 'arc']
                  It check the size of the archive directory and if the percentage occupancy is above the given limit
                  then it performs the action on the half older files.
    
            How to use this prg :
    
                    run this file from the crontab, say, each hour.
         example
    
         1) Delete archive that is sharing common arch disk, when you are at 85% of 2500 mega perform delete half of the files
         whose extention is 'arc' using default affected file (default is -r 2)
    
         0,30 * * * * /usr/local/bin/watch_arc.sh -e arc -t /arc/POLDEV -s 2500 -p 85 -d -v /var/tmp/watch_arc.POLDEV.log
    
         2) Delete archive that is sharing common disk with oother DB in /archive, act when 90% of 140G, affect by deleting
         a quater of all files (-r 4) whose extention is 'dbf' but connect before as sysdba in POLDEV db (-i) if they are
         applied (-f is a dataguard option)
    
         watch_arc.sh -e dbf -t /archive/standby/CITSPRD -s 140000 -p 90 -d -f -i POLDEV -r 4 -v /tmp/watch_arc.POLDEV.log
    
         3) Delete archive of DB POLDEV when it reaches 75% affect 1/3 third of files, but connect in DB to check if
         logminer do not need this archive (-z). this is usefull in 9iR2 when using Rman as rman do not support delete input
         in connection to Logminer.
    
         watch_arc.sh -e arc -t /archive/standby/CITSPRD  -p 75 -d -z -i POLDEV -r 3 -v /tmp/watch_arc.POLDEV.log
    
    EOF
    }
    #------------------------- Function section -----------------------------
    if [ "x-$1" = "x-" ];then
          usage
          exit
    fi
    
    MAX_SIZE=-1  # disable this feature if it is not specificaly selected
    while getopts  c:e:p:m:r:s:i:t:v:dhlfgz ARG
      do
        case $ARG in
           e ) EXT_ARC=$OPTARG ;;
           f ) CHECK_APPLIED=YES ;;
           g ) VERSION8=TRUE;;
           i ) ORACLE_SID=$OPTARG;;
           h ) usage
               exit ;;
           c ) COMPRESS_PRG=$OPTARG ;;
           p ) MAX_PERC=$OPTARG ;;
           d ) ACTION=delete ;;
           l ) ACTION=list ;;
           m ) ACTION=move
               TARGET_DIR=$OPTARG
               if [ ! -d $TARGET_DIR ] ;then
                   echo "Dir $TARGET_DIR does not exits"
                   exit
               fi;;
           r)  PART=$OPTARG ;;
           s)  MAX_SIZE=$OPTARG ;;
           t)  ARC_DIR=$OPTARG ;;
           v)  VERBOSE=TRUE
               LOG=$OPTARG
               if [ ! -f $LOG ];then
                   > $LOG
               fi ;;
           z)  LOGMINER=TRUE;;
        esac
    done
    
    if [ "x-$ARC_DIR" = "x-" ];then
         echo "NO ARC_DIR : aborting"
         exit
    fi
    if [ "x-$EXT_ARC" = "x-" ];then
         echo "NO EXT_ARC : aborting"
         exit
    fi
    if [ "x-$ACTION" = "x-" ];then
         echo "NO ACTION : aborting"
         exit
    fi
    
    if [ ! "x-$COMPRESS_PRG" = "x-" ];then
       if [ ! "x-$ACTION" =  "x-move" ];then
             ACTION=compress
       fi
    fi
    
    if [ "$CHECK_APPLIED" = "YES" ];then
       if [ -n "$ORACLE_SID" ];then
             export PATH=$PATH:/usr/local/bin
             export ORAENV_ASK=NO
             export ORACLE_SID=$ORACLE_SID
             . /usr/local/bin/oraenv
       fi
       if [ "$VERSION8" = "TRUE" ];then
          ret=`svrmgrl <> $LOG
                                     fi ;;
                          'delete' ) rm $ARC_DIR/$ARC
                                     if [ "x-$VERBOSE" = "x-TRUE" ];then
                                           echo " `date +%d-%m-%Y' '%H:%M` : $ARC deleted" >> $LOG
                                     fi ;;
                          'list'   )   ls -l $ARC_DIR/$ARC ;;
                          'move'   ) mv  $ARC_DIR/$ARC $TARGET_DIR
                                     if [ ! "x-$COMPRESS_PRG" = "x-" ];then
                                           $COMPRESS_PRG $TARGET_DIR/$ARC
                                           if [ "x-$VERBOSE" = "x-TRUE" ];then
                                                 echo " `date +%d-%m-%Y' '%H:%M` : $ARC moved to $TARGET_DIR and compressed" >> $LOG
                                           fi
                                     else
                                           if [ "x-$VERBOSE" = "x-TRUE" ];then
                                                 echo " `date +%d-%m-%Y' '%H:%M` : $ARC moved to $TARGET_DIR" >> $LOG
                                           fi
                                     fi ;;
                      esac
    
              done
          else
              echo "Warning : The filesystem is not full due to archive logs !"
              exit
          fi
    elif [ "x-$VERBOSE" = "x-TRUE" ];then
         echo "Nothing to do at `date +%d-%m-%Y' '%H:%M`" >> $LOG
    fi
    
  • Application of incremental backup on Standby to resolve the gap newspaper archive

    Hello

    I have a database of primary and Standby database both in ASM. Recently, my archive logs has been deleted and I'm trying to recover my database pending with the primary SNA-based incremental backup. But I face the error when I recover the database pending with the incremental backup, made in the primary database below.

    RMAN > recover database noredo;


    To go back to November 6, 13

    using the control file of the target instead of recovery catalog database

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 21 type of device = DISK

    channel ORA_DISK_1: from additional data file from the restore backup set

    channel ORA_DISK_1: specifying datafile (s) to restore from backup set

    destination for the restoration of the data file 00001: +STDBY/11gdb/datafile/system.258.8059

    21881

    destination for the restoration of the data file 00002: +STDBY/11gdb/datafile/sysaux.259.8059

    21967

    destination for the restoration of the data file 00003: +STDBY/11gdb/datafile/undotbs1.260.80

    5922023

    destination for the restoration of the data file 00004: +STDBY/11gdb/datafile/users.261.80592

    2029

    channel ORA_DISK_1: backup/u01/incr_for_stdby_07oo9fik_1_1 item reading

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of the command recover at 06/11/2013 13:22:27

    ORA-19870: error while restoring the backup/u01/incr_for_stdby_07oo9fik_1_1 element

    ORA-19573: failed to get exclusive enqueue for datafile 1

    Kind regards

    007

    Have you you stopped to re-apply?

    Select process from v$ managed_standby, including the process as "SIR % ';

    If there are processes, you must stop it.

    ALTER database recover managed standby database cancel;

    If the data hold is managed by broker, use DGRMRL

    DGMGRL > alter database set status = APPLY-OFF;

    Then try again.

    If still not resolved, can paste you here your steps and scripts?

    Concerning

    Mr. Mahir Quluzade

  • Flashback on DB restored and missing of newspaper archives.

    Hello

    We have built a test environment and created a copy of our production database.
    We have restored the database and restored at any given time.
    This done, ok.
    We do not yet have reset logs.
    We have set up the database in exclusive mode and tried to rollback the database.
    When we flash back, we get the message

    Error on line 1:
    ORA-38754: FLASHBACK Database not started; required redo log is not available
    ORA-38761: redo the sequence of journal 344659 1 wire, 2 incarnation could not have access.

    I've been reviewing the ORA-38754: FLASHBACK DATABASE NOT STARTED; REQUIRED REDO LOG IS NOT AVAILABLE [ID 560686.1]
    but it is an isolated server and rman gives the same error.

    The log files are on the MSDS and to r:\oracle\10g\archivelogs which is what log_archive_dest_1 seeks to. I checked the permissions and they are ok.
    Could you say why oracle can't see these files?

    Thank you
    Jim

    Hello

    Have you copied the archives of the Production Server to the Test Server (r:\oracle\10g\archivelogs location)? If so, then try to catalogue the archives that you copied to "r:\oracle\10g\archivelogs".

    RMAN>catalog start with 'R:\oracle\10g\archivelogs';
    

    Oracle requires also, flashback, flashback logs. Are they available?

  • Newspaper archive database pending apply to the production server.

    Dear all,

    How to apply for standby database archive log apply to the production server.

    Please help me.

    Thank you
    Manas

    Follow the steps of permutation.

    http://taliphakanozturken.WordPress.com/2011/10/28/physical-standby-database-switchover-failover-operations/

    Talip Hakan Öztürk
    http://taliphakanozturken.WordPress.com/

  • How to recover the data file in Oralcle 10 g...? No backups and no newspaper archiving

    All,

    I need to recover the data file 2, which is for the undo tablespace and it is in the State to recover and I need to recover the data files now.

    But the bad news is we have no backup at all and we have no archive logs (log archiving is disabled in the database)...

    In this case how can I recover the data file...?


    SQL > select a.file #, b.SID, a.status from v$ datafile a, v$ tablespace b where a.ts #= b.ts #;

    FILE NAME STATUS NO.
    ---------- ------------------------------------------------------------------------------------------ -------
    1 /export/home/oracle/flexcube/product/10.2.0/db_1/oradata/bwfcc73/system01.dbf SYSTEM
    * RETRIEVE /export/home/oracle/logs/bw/undotbs01.dbf 2 *.
    3 /export/home/oracle/flexcube/product/10.2.0/db_1/oradata/bwfcc73/sysaux01.dbf online
    4 /export/home/oracle/datafiles/bw/bwfcc73.dbf online
    5 /export/home/oracle/datafiles/bw/bwfcc73_01.dbf online

    SQL > archive logs list;
    Database log mode no Archive Mode
    Automatic archival disabled
    Destination of archive USE_DB_RECOVERY_FILE_DEST
    Sequence of journal online oldest 4940
    Current log sequence 4942

    Hello

    First, you must open a ticket with oracle Support and explore the options

    You can use this note to fix:
    RECOVERY OF A LOST IN A [ID 1013221.6] UNDO TABLESPACE DATA FILE

    If you are unable to drop Undo tablespace as Undo Segment recovery must

    You can download the trace file following the opening of the ticket

    SQL>Alter session set tracefile_identifier='corrupt';
    
    SQL>Alter system dump undo header "";
    
    Go to udump
    
    ls -lrt *corrupt*
    
    Upload this trace file
    
    Also upload the alert log file
    

    Kind regards
    Levi Pereira

    Published by: Levi Pereira on November 29, 2011 13:58

  • RMAN not removed the old newspaper archive location disc ASM.

    Dear Oracle gurus

    Our platform
    OS: SUN SOLARIS10 64-bit
    DB: Oracle10g r2 10.2.0.4 64bits
    Architecture: 2 - no Oracle10g RAC with ASM configured for the data file and archivelog

    We have many available on my disk archiving log but when we perform the log backup archive using the following command

    RUN {}
    overlap archivelog all;
    backup as compressed backupset ' / location/%d_DB_%u_%s_%p.rman' all entered archivelog delete;
    }


    It has only removed the 1 month of archives newspapers only.

    that needs to removed the old archive logs using the rman. ?

    Concerning
    Hitesh Gondalia

    Published by: hitgon on November 17, 2011 21:42

    Try this one:

    CROSSCHECK ARCHIVELOG ALL;
    RUN {
      BACKUP AS COMPRESSED BACKUPSET
         FORMAT '/location/%d_db_%u_%s_%p.rman'
         ARCHIVELOG ALL DELETE INPUT;
    }
    DELETE NOPROMPT EXPIRED ARCHIVELOG ALL:
    DELETE NOPROMPT OBSOLETE:
    

    : p

  • SQL to determine the generation of newspaper archived daily

    Someone has to calculate reliably sql daily generation of archived newspapers? I have an older script that uses v$ archived_log, but after seeing him recently generate some great numbers, I started doing some research and discovered that v$ archived_log can have several lines of a given log file. After reading the reference manual, I suspect that it is probably not new to many of you. After reviewing data and tweaking the script, I'm still not comfortable, I have something that I can count. I searched the data dictionary for a view of the replacement dictionary, but can't find anything that seemed better than v$ archived_log. appreciate your thoughts, thank you.

    Hello

    Why not just use the distinct values of the sequence and size? Ignore targets if they do not count.

    HTH

    Joerg

  • Newspaper archive dest and format

    Cheap DBA

    I'm on oracle 10.2.0.3 (10g), and the operating system is solaris. I recently join this new job. I came across log_archive_dest_1 and formatting issues.

    HERE ARE THE PARAMETERS OF DEST ARCHIVE LOG

    SQL > show parameter log_archive_dest_1;

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    Log_archive_dest_1 string LOCATION = / u02/archivelogs OPTI
    ONAL ROUVRIR = 300 QUOTA_SIZE = 1 g

    SQL > show parameter log_archive_dest_2;

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    LOG_ARCHIVE_DEST_2 string LOCATION = USE_DB_RECOVERY_FILE_
    DEST OPTION REOPEN = 300

    SQL > show parameter log_archive_format;

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    log_archive_format string %t_%s_%r.arc

    SQL > archive logs list;

    Database log mode Archive Mode
    Active AutoArchive
    Destination of archive USE_DB_RECOVERY_FILE_DEST
    More old sequence of journal online 13768
    Log sequence archive 13770
    Current log sequence 13770

    THE RESULT OF ARCHIVED ON DESTINATION.

    *(DEST 1) *.
    bash-3. $00 pwd
    archivelogs/u02 /.
    bash-3. $00 ls
    1_13765_689159568.arc 1_13767_689159568.arc 1_13769_689159568.arc
    1_13766_689159568.arc 1_13768_689159568.arc

    *(DEST 2) *.
    bash-3. $00 pwd
    / U03/app/Oracle/flash_recovery_area/FCDB/ARCHIVELOG
    bash-3. $00 ls
    2011_10_17 2011_10_19 2011_10_21 2011_10_23
    2011_10_18 2011_10_20 2011_10_22 2011_10_24
    bash-3. $00 cd 2011_10_24
    bash-3. $00 ls
    o1_mf_1_13766_7bb5ggtb_.arc o1_mf_1_13768_7bbo4ldh_.arc
    o1_mf_1_13767_7bbdzgl8_.arc o1_mf_1_13769_7bby1tmm_.arc

    Archiving must be in the format even on the two locations but it's different on the two location. Kindly help me what is the reason for this.

    When you use FRA USE_DB_RECOVERY_FILE_DEST is self-managed rules of the archived log files.
    Even if they are out of retention, deletion will be supported by the FIU. This means that it is cleared by FRA, not manually.

  • How to remove all of the newspaper archives I saved just

    Hello

    I already configure my RMAN as below, and I want to delete the journal Archive I backed everything up.

    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    -1-
    create rcat_orcl user identified by orcl123;
    Select username from dba_users where username like "RCA % ';
    --2- -
    Grant connect, resources, recovery_catalog_owner to rcat_orcl.

    -3-
    create tablespace rcat_orcl datafile ' / u01/app/oracle/oradata/orcl/rcat_orcl0.dbf'
    Size 2G
    autoextend on MAXSIZE UNLIMITED;

    --4--

    alter user default tablespace rcat_orcl rcat_orcl;

    --5--
    change the quota of rcat_orcl unlimited user on rcat_orcl.

    --6--

    $ rman catalog=rcat_orcl/orcl123@orcl

    --7 ---

    RMAN > CREATE CATALOG.


    --8--

    rman target $ / catalog=rcat_orcl/orcl123@orcl

    --9--

    RMAN > REGISTER DATABASE;

    then I create an automatic backup script

    VI rman_bkup_10g.ksh

    RMAN target sys/sys_pass@orcl catalog rcat_orcl/orcl123@orcl @ ' / u01/ctrlfile/full_bkup.
    output



    VI full_bkup

    run
    {
    affect the disc type channel dsk format ' / backups/rman/%n%M%D%Y%s%U.bak';
    backup incremental level 0 = rman_10 filesperset = 5 DB tag include current controlfile;
    }
    "exit";



    any help please

    ... DELETE ALL ENTRIES...

    http://download.Oracle.com/docs/CD/E11882_01/backup.112/e10643/rcmsynta007.htm#i78895

  • RMAN-20242: specification does not match any newspaper archive in ca of recovery

    Hello
    I moved the destination of the log archive by modifying the init.ora file and bounce the database.
    There was a lot of archive logs that were generated due to a huge table to another table space.
    I now have to delete the archive logs and continue the rman backups.

    I am connected to the database of rman with connection target as sys...
    I am able to do the
    overlap log archiving all and get all the archive logs that are validated.

    but when I try to delete the archive logs, it gives the above error.

    Help, please.

    Kind regards.

    Hello
    Remove the archivelogs you need not manually (hope you have some sort of backup)
    follow-up of the rman command ' archivelog change than any overlap;
    This will fix the archivelogs deleted for rman metadata.
    Kind regards
    Tycho

Maybe you are looking for

  • IMessage hack

    Hi, when I woke up this morning, Imessage I have a list of maybe 20 messages in Chinese from unknown numbers. I changed my apple ID password, which will be enough or should I do something else to ensure that they can no longer access it?

  • Excel: Search strings for error on a column and return a value in a 2nd

    I have a column of around 16000 entries that looks like this: Z Name 1338823 Alberta Ulc PL 1618725 Ontario Inc. 2 c Costruzioni Civili Srl A & D Beleggings Bk A & D investment Bk Aareal Holding Company mbH CTAA I want to create a formula to search e

  • Conflict of IP addresses within the network of offices

    Original title: Office is connected to a router and modem through son.  Having a conflict of IP addresses in my business network. Having a conflict of IP addresses in my business network.

  • Administrators build - in the Local Group

    There is build-in the Local group such as administrators. In a book, it is said that the members of this group can access the computer from the network. Could someone explain what this actually means. If it is a Local Group and the members of this gr

  • 7640: 7640 wireless printer

    My printer suddenly started to print with black boxes randomly with a black looking for ticks / smudge on it I have cleaned the ink cartridges re-alignment & cleaned the paper... Still no joy