Incremental RMAN backup and compression

Does RMAN compress the data for the incremental Level 0 and Level 1 backups. More specifically - Can I use Advanced compression if olny use incremental backups ?

you would use the comfigure command to use zlib which is does not compress as well as bzip2 which does not require the advanced compression option, but zlib does not consume as much cpu as bzip2.
now for the backup you have 2 options. you can configure backupsets to compress
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET ;
or it using table
CONFIGURE DEVICE TYPE sbt BACKUP TYPE TO COMPRESSED BACKUPSET ;
Then do you backups as backup sets
database
backup as backupset incremental level 1 tag hot_1_${DTE} DATABASE NOT BACKED UP SINCE TIME 'SYSDATE - .6';
archivelogs
backup as compressed backupset format '${INST_LOWER}_Archive_%d_%s_%p_%t' archivelog all not backed up 1 times ;

Similar Messages

  • RMAN backup and restore for Disaster Recovery

    Hi Guys,
    I am very new to Oracle and have a question about RMAN backup and restore feature. I am simulating a disaster recovery scenario by having two VMs running oracle 11g, say hosta and hostb, hosta is sort of production db and the other a disaster recovery db (one that will be made primary when disaster occurs). My goal is to backup production db using RMAN and restore it on the other machine. For some reason when I restore the db on hostb, the command restores the previous backup but not the most recent one e.g. I took a backup yesterday (09/20) and applied it to the hostb that worked fine, but when I try to apply a fresh backup from today (09/21) it always picks up the old backup. Here's a dump of the screen:
    Starting restore at 21-SEP-11
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00001 to /oracle/app/dev/oradata/forums/s
    ystem01.dbf
    channel ORA_DISK_1: restoring datafile 00002 to /oracle/app/dev/oradata/forums/s
    ysaux01.dbf
    channel ORA_DISK_1: restoring datafile 00003 to /oracle/app/dev/oradata/forums/u
    ndotbs01.dbf
    channel ORA_DISK_1: restoring datafile 00004 to /oracle/app/dev/oradata/forums/u
    sers01.dbf
    channel ORA_DISK_1: reading from backup piece /oracle/app/dev/flash_recovery_are
    a/FORUMS/backupset/o1_mf_nnnd0_TAG20110920T040950_77jx3zk7_.bkp
    channel ORA_DISK_1: piece handle=/oracle/app/dev/flash_recovery_area/FORUMS/back
    upset/o1_mf_nnnd0_TAG20110920T040950_77jx3zk7_.bkp tag=TAG20110920T040950
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:05
    Finished restore at 21-SEP-11
    Notice that it reads the backup piece from this location /oracle/app/dev/flash_recovery_are
    a/FORUMS/backupset/
    whereas my latest backups are stored at a different location.
    I am executing following steps at the RMAN prompt on hosta and hostb:
    hosta (production site)
    backup as compressed backupset database plus archivelog
    backup current controlfile format'/oracle/oracle_bkup/ctl_%U'
    backup spfile
    hostb (Disaster site)
    set dbid=13732232063
    startup force nomount
    restore spfile to '/oracle/app/dev/product/11.2.0/dbhome_1/dbs/spfileforums.ora' from '/export/home/dev/restore_db/backupset/2011_09_21/o1_mf_nnsnf_TAG20110921T114945_77ndg9ys_.bkp'
    shutdown immediate
    /* create a init<db_name>.ora file with SPFILE= /oracle/app/dev/product/11.2.0/dbhome_1/dbs/spfileforums.ora */
    startup force pfile='/export/home/dev/restore_db/initforums.ora' nomount
    restore controlfile from '/export/home/dev/restore_db/backupset/2011_09_21/ctl_1hmn3mic_1_1'
    /* restart rman here */
    quit
    alter database mount;
    catalog start with '/export/home/dev/restore_db/backupset/2011_09_21' noprompt;
    /* call the next two commands on run */
    restore database;
    recover database;
    alter database open resetlogs
    quit
    Any help will be greatly appreciated.
    Thanks,
    Rajesh

    Thanks guys, I really appreciate all your help here. I redid everything all over again to get all the information you guys wanted. Since I noticed that more eyes are looking into this I am going to reiterate my steps one more time followed by specific answers to questions. My first backup on Host B is located under ..../restore_db/backupset whereas the subsequent one is under .../restore_db/backupset/backupset2.
    I take backup on Host A using:
    rman target /
    backup as compressed backupset database plus archivelog;
    backup spfile;
    quit;
    I restore the backup on Host B using:
    set dbid=13732232063;
    startup force nomount;
    restore spfile to '/oracle/app/dev/product/11.2.0/dbhome_1/dbs/spfileforums.ora' from '/export/home/dev/restore_db/backupset/o1_mf_nnsnf_TAG20110928T171830_787gbpxh_.bkp'
    shutdown immediate;
    startup force nomount;
    restore controlfile from '/export/home/dev/restore_db/backupset/o1_mf_ncsnf_TAG20110928T171638_787gbkxn_.bkp'
    quit;
    /* restart rman here */
    alter database mount;
    catalog start with '/export/home/dev/restore_db/backupset' noprompt;
    restore database;
    recover database;
    alter database open resetlogs;
    quit;
    I take another backup on Host A using (notice no spfile backup this time):
    backup as compressed backupset database plus archivelog;
    quit;
    I restore the database on Host B using:
    alter database mount;
    catalog start with '/export/home/dev/restore_db/backupset/backupset2' noprompt;
    recover database;
    alter database open;
    quit;
    Output of List Backup of database (I have done this after I recovered the second time, also note that it is referring to backupset2 which is were my second backup is stored)
    RMAN> list backup of database;
    using target database control file instead of recovery catalog
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    89 Full 261.87M DISK 00:01:37 28-SEP-11
    BP Key: 91 Status: AVAILABLE Compressed: YES Tag: TAG20110928T171638
    Piece Name: /export/home/dev/restore_db/backupset/o1_mf_nnndf_TAG2011092
    8T171638_787g77rx_.bkp
    List of Datafiles in backup set 89
    File LV Type Ckp SCN Ckp Time Name
    1 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/system01.dbf
    2 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/sysaux01.dbf
    3 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/undotbs01.dbf
    4 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/users01.dbf
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    97 Full 259.16M DISK 00:00:00 28-SEP-11
    BP Key: 100 Status: AVAILABLE Compressed: YES Tag: TAG20110928T18352
    7
    Piece Name: /export/home/dev/restore_db/backupset/backupset2/o1_mf_nnndf
    TAG20110928T183527787lv0nb_.bkp
    List of Datafiles in backup set 97
    File LV Type Ckp SCN Ckp Time Name
    1 Full 1816853 28-SEP-11 /oracle/app/dev/oradata/forums/system01.dbf
    2 Full 1816853 28-SEP-11 /oracle/app/dev/oradata/forums/sysaux01.dbf
    3 Full 1816853 28-SEP-11 /oracle/app/dev/oradata/forums/undotbs01.dbf
    4 Full 1816853 28-SEP-11 /oracle/app/dev/oradata/forums/users01.dbf
    Output of list backup (done after restoring the control file)
    RMAN> list backup;
    BS Key Size Device Type Elapsed Time Completion Time
    87 89.20M DISK 00:00:26 28-SEP-11
    BP Key: 87 Status: AVAILABLE Compressed: YES Tag: TAG20110928T171526
    Piece Name: /oracle/app/dev/flash_recovery_area/FORUMS/backupset/2011_09
    _28/o1_mf_annnn_TAG20110928T171526_787g50bm_.bkp
    List of Archived Logs in backup set 87
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 34 1302253 20-SEP-11 1306439 20-SEP-11
    1 35 1306439 20-SEP-11 1307647 20-SEP-11
    1 36 1307647 20-SEP-11 1307701 20-SEP-11
    1 37 1307701 20-SEP-11 1311393 20-SEP-11
    1 38 1311393 20-SEP-11 1311511 20-SEP-11
    1 39 1311511 20-SEP-11 1332479 20-SEP-11
    1 40 1332479 20-SEP-11 1344418 20-SEP-11
    1 41 1344418 20-SEP-11 1350409 20-SEP-11
    1 42 1350409 20-SEP-11 1350449 20-SEP-11
    1 43 1350449 20-SEP-11 1350854 21-SEP-11
    1 44 1350854 21-SEP-11 1350895 21-SEP-11
    1 45 1350895 21-SEP-11 1353114 21-SEP-11
    1 46 1353114 21-SEP-11 1353254 21-SEP-11
    1 47 1353254 21-SEP-11 1353865 21-SEP-11
    1 48 1353865 21-SEP-11 1353988 21-SEP-11
    1 49 1353988 21-SEP-11 1375403 21-SEP-11
    1 50 1375403 21-SEP-11 1376149 21-SEP-11
    1 51 1376149 21-SEP-11 1376206 21-SEP-11
    1 52 1376206 21-SEP-11 1376246 21-SEP-11
    1 53 1376246 21-SEP-11 1379990 21-SEP-11
    1 54 1379990 21-SEP-11 1380229 21-SEP-11
    1 55 1380229 21-SEP-11 1380266 21-SEP-11
    1 56 1380266 21-SEP-11 1380528 21-SEP-11
    1 57 1380528 21-SEP-11 1380724 21-SEP-11
    1 58 1380724 21-SEP-11 1380861 21-SEP-11
    1 59 1380861 21-SEP-11 1381033 21-SEP-11
    1 60 1381033 21-SEP-11 1381077 21-SEP-11
    1 61 1381077 21-SEP-11 1402243 22-SEP-11
    1 62 1402243 22-SEP-11 1423341 22-SEP-11
    1 63 1423341 22-SEP-11 1435456 22-SEP-11
    1 64 1435456 22-SEP-11 1454415 23-SEP-11
    1 65 1454415 23-SEP-11 1490903 23-SEP-11
    1 66 1490903 23-SEP-11 1491266 23-SEP-11
    1 67 1491266 23-SEP-11 1491347 23-SEP-11
    1 68 1491347 23-SEP-11 1492761 23-SEP-11
    1 69 1492761 23-SEP-11 1492891 23-SEP-11
    1 70 1492891 23-SEP-11 1493678 23-SEP-11
    1 71 1493678 23-SEP-11 1493704 23-SEP-11
    1 72 1493704 23-SEP-11 1494741 23-SEP-11
    1 73 1494741 23-SEP-11 1494790 23-SEP-11
    1 74 1494790 23-SEP-11 1510154 23-SEP-11
    1 75 1510154 23-SEP-11 1514286 23-SEP-11
    1 76 1514286 23-SEP-11 1531967 24-SEP-11
    1 77 1531967 24-SEP-11 1543266 24-SEP-11
    1 78 1543266 24-SEP-11 1558427 24-SEP-11
    1 79 1558427 24-SEP-11 1566924 24-SEP-11
    1 80 1566924 24-SEP-11 1578292 24-SEP-11
    1 81 1578292 24-SEP-11 1596894 25-SEP-11
    BS Key Size Device Type Elapsed Time Completion Time
    88 84.03M DISK 00:00:30 28-SEP-11
    BP Key: 88 Status: AVAILABLE Compressed: YES Tag: TAG20110928T171526
    Piece Name: /oracle/app/dev/flash_recovery_area/FORUMS/backupset/2011_09
    _28/o1_mf_annnn_TAG20110928T171526_787g63s9_.bkp
    List of Archived Logs in backup set 88
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 82 1596894 25-SEP-11 1609028 25-SEP-11
    1 83 1609028 25-SEP-11 1622303 25-SEP-11
    1 84 1622303 25-SEP-11 1626430 25-SEP-11
    1 85 1626430 25-SEP-11 1634486 25-SEP-11
    1 86 1634486 25-SEP-11 1648398 25-SEP-11
    1 87 1648398 25-SEP-11 1669259 26-SEP-11
    1 88 1669259 26-SEP-11 1686820 26-SEP-11
    1 89 1686820 26-SEP-11 1686959 26-SEP-11
    1 90 1686959 26-SEP-11 1689168 26-SEP-11
    1 91 1689168 26-SEP-11 1704759 26-SEP-11
    1 92 1704759 26-SEP-11 1719597 27-SEP-11
    1 93 1719597 27-SEP-11 1740407 27-SEP-11
    1 94 1740407 27-SEP-11 1750125 27-SEP-11
    1 95 1750125 27-SEP-11 1765592 27-SEP-11
    1 96 1765592 27-SEP-11 1781498 28-SEP-11
    1 97 1781498 28-SEP-11 1802311 28-SEP-11
    1 98 1802311 28-SEP-11 1811009 28-SEP-11
    1 99 1811009 28-SEP-11 1813811 28-SEP-11
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    89 Full 261.87M DISK 00:01:37 28-SEP-11
    BP Key: 89 Status: AVAILABLE Compressed: YES Tag: TAG20110928T171638
    Piece Name: /oracle/app/dev/flash_recovery_area/FORUMS/backupset/2011_09
    _28/o1_mf_nnndf_TAG20110928T171638_787g77rx_.bkp
    List of Datafiles in backup set 89
    File LV Type Ckp SCN Ckp Time Name
    1 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/system01.dbf
    2 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/sysaux01.dbf
    3 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/undotbs01.dbf
    4 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/users01.dbf

  • RMAN BACKUPS AND ARCHIVED LOG ISSUES

    제품 : RMAN
    작성날짜 : 2004-02-17
    RMAN BACKUPS AND ARCHIVED LOG ISSUES
    =====================================
    Scenario #1:
    1)RMAN이 모든 archived log들을 삭제할 때 실패하는 경우.
    database는 두 개의 archive destination에 archive file을 생성한다.
    다음과 같은 스크립트를 수행하여 백업후에 archived redo logfile을 삭제한다.
    run {
    allocate channel c1 type 'sbt_tape';
    backup database;
    backup archivelog all delete input;
    Archived redo logfile 삭제 유무를 확인하기 위해 CROSSCHECK 수행시 다음과
    같은 메시지가 발생함.
    RMAN> change archivelog all crosscheck;
    RMAN-03022: compiling command: change
    RMAN-06158: validation succeeded for archived log
    RMAN-08514: archivelog filename=
    /oracle/arch/dest2/arcr_1_964.arc recid=19 stamp=368726072
    2) 원인분석
    이 문제는 에러가 아니다. RMAN은 여러 개의 arhive directory중 하나의
    directoy안에 있는 archived file들만 삭제한다. 그래서 나머지 directory안의
    archived log file들은 삭제되지 않고 남게 되는 것이다.
    3) 해결책
    RMAN이 강제로 모든 directory안의 archived log file들을 삭제하게 하기 위해서는
    여러 개의 채널을 할당하여 각 채널이 각 archive destination안의 archived file을
    백업하고 삭제하도록 해야 한다.
    이것은 아래와 같이 구현될 수 있다.
    run {
    allocate channel t1 type 'sbt_tape';
    allocate channel t2 type 'sbt_tape';
    backup
    archivelog like '/oracle/arch/dest1/%' channel t1 delete input
    archivelog like '/oracle/arch/dest2/%' channel t2 delete input;
    Scenario #2:
    1)RMAN이 archived log를 찾을 수 없어 백업이 실패하는 경우.
    이 시나리오에서 database를 incremental backup한다고 가정한다.
    이 경우 RMAN은 recover시 archived redo log대신에 incremental backup을 사용할
    수 있기 때문에 백업 후 모든 archived redo log를 삭제하기 위해 OS utility를 사용한다.
    그러나 다음 번 backup시 다음과 같은 Error를 만나게 된다.
    RMAN-6089: archive log NAME not found or out of sync with catalog
    2) 원인분석
    이 문제는 OS 명령을 사용하여 archived log를 삭제하였을 경우 발생한다. 이때 RMAN은
    archived log가 삭제되었다는 것을 알지 못한다. RMAN-6089는 RMAN이 OS 명령에 의해
    삭제된 archived log가 여전히 존재하다고 생각하고 백업하려고 시도하였을 때 발생하게 된다.
    3) 해결책
    가장 쉬운 해결책은 archived log를 백업할 때 DELETE INPUT option을 사용하는 것이다.
    예를 들면
    run {
    allocate channel c1 type 'sbt_tape';
    backup archivelog all delete input;
    두 번째로 가장 쉬운 해결책은 OS utility를 사용하여 archived log를 삭제한 후에
    다음과 같은 명령어를 RMAN prompt상에서 수행하는 것이다.
    RMAN>allocate channel for maintenance type disk;
    RMAN>change archivelog all crosscheck;
    Oracle 8.0:
         RMAN> change archivelog '/disk/path/archivelog_name' validate;
    Oracle 8i:
    RMAN> change archivelog all crosscheck ;
    Oracle 9i:
    RMAN> crosscheck archivelog all ;
    catalog의 COMPATIBLE 파라미터가 8.1.5이하로 설정되어 있으면 RMAN은 찾을 수 없는
    모든 archived log의 status를 "DELETED" 로 셋팅한다. 만약에 COMPATIBLE이 8.1.6이상으로
    설정되어 있으면 RMAN은 Repository에서 record를 삭제한다.

    Very strange, I issue following command in RMAN on both primary and standby machine, but it they don't delete the 1_55_758646076.dbf, I find in v$archived_log, this "/home/oracle/app/oracle/dataguard/1_55_758646076.dbf" had already been applied.
    RMAN> connect target /
    RMAN> CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
    old RMAN configuration parameters:
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
    new RMAN configuration parameters:
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
    new RMAN configuration parameters are successfully stored
    RMAN>
    ----------------------------------------------------------------------------------

  • How to make an encrypted compressed RMAN backup and recovery

    Hallo!I am trying to make an RMAN backup that is compressed (definitely use compressed backup set in OEM).
    But my emphasis is to make the backup encrypted with a key (hoping to use Public Key Infrastructure )such that the database data can be sent via the network and the recepient can use a decryption key to decrypt the data.
    The recepient must also use a password to access the encrypted file for decryption.
    Is it possible to do this?If so please give the steps.
    Thanks.

    You can encrypt the backupset with RMAN Encrypted Backups, however Oracle Advanced Security Option (additional cost) is required.

  • Incremental RMAN Backup to tape.

    Hi,
    We have 2.2 TByte Oracle Dataware House. At weekends, we would like to take inceremental level 0 backup to tape and then incemental level 1 to disk daily.
    So that we expect to reduce disk space for backup. We also handle the cover risk of direct path load by mains of incremental level backup.
    But, I would like to know that, taking incremental level 0 to tape causes performance problems. Rman try to discover changes between the incemental level 0 on the tape and incemental level 1 on the disk.
    Should we take both incremental level 0 and incremental level 1 to disk or tape?
    I need your recomendations.
    Thank you.

    Thank you Satish Kandi for your reply,
    As far as understand accourding to document that you refer,
    if we configure well adjustment for channel of disk and tape io buffers,
    and multiplexing, then we can take backup incemental level 0 to tape.
    We don't want to use encryption and compression in order not to consume CPU resources.
    In fact, we should try and obsorve the performance.
    Thank you.

  • Incrementally updated backup and EMC NMDA

    Hello Everyone,
    I'm kind of a newbie in setting up networker module for oracle, to backup database to tape. We use the oracle's suggested backup strategy to backup DB to Disk first using the incrementally updated backups with recovery set to 3 days (RECOVER COPY OF DATABASE WITH TAG ... UNTIL TIME 'SYSDATE-3') , which helps us to recover DB to any point in time using the backup files in disks vs. going to tape. After backup to disk, we backup recovery area to tape nightly. However, we do want to maintain backup Retention Policy of 1 month. Couple of questions,
    1. If i set RP to recovery window of 31 days in RMAN, then backups don't obsolete at all. this forces me to set RP in networker and they don't recommend setting RP in both RMAN and networker. how is this done generally to obsolete backups from tape as well as rman (catalog in CF) with above strategy. perhaps in this case i should set RP in netwoker and set RP in RMAN to none and rely on crosscheck and delete expired commands to sync with RNAM catalog.
    2. Wondering if nightly backup of recovery area to tape is going to take incremental from previous day and NOT full backup. The reason i ask is, i do not want the tape to do full backup of FRA every day cause full backup datafiles change once in 3 days based on the until time set. is there an option do set in networker to do incremental only or that's the default.
    Thanks in Advance!
    11gR2, 4 Node RAC, Linux, NMDA 1.1, Networker 7.6 sp1

    Loic wrote:
    You do a full backup of the FRA on tape ?No, I do a full backup of the database on tape. Using RMAN together with Veritas NetBackup.
    I mean if you use incremental updated backup it'll not work on tape... Because the level 0 backup that will be updated with the backup of the day after will be on tape and will not be updated.The incrementally updated backup is in the FRA only, on disk (both the image copy and the following backup sets that are used for recovery of the image copy). Never gets written to tape or updated on tape.
    Why don't you use then normal incremental backup ? That will have no problem with the tape backup even if level0, or level1,2 becomes reclaimable... ?I think I do :-)
    Maybe:
    To keep that you can put the redundancy to 2 out of 1 copy. Like this even with one copy on disk and tape it'll say keep the 2 copies.
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;I'll think about that.

  • Slow rman backup and slow database

    Hello all,
    Whenever I run rman backup to sbt_tape, the complete database becomes slow. Also RMAN takes more than 12 hours to complete.
    RMAN script is:
    run {
    allocate channel t1 type 'sbt_tape' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
    sql 'alter system switch logfile';
    backup incremental level 2 tag 'db_level2_backup'
    format'%d/INC2/%t/%s/%p'
    database diskratio=0;
    backup
    format '%d/LOG_INC2/%t/%s/%p'
    archivelog all
    delete all input;
    release channel t1;
    }The AWR shows following "Top 5 timed events"
    Event                                      Waits     Time(s)     Avg Wait(ms)     % Total Call Time     Wait Class
    db file sequential read                    817,467     17,419         21                         28.6         User I/O
    CPU time                                  14,294                              23.5     
    log file sync                            141,642     8,570         61                         14.1          Commit
    enq: TX - row lock contention              3,371     7,171       2,127                          11.8         Application
    log file parallel write                     149,486     5,356         36                           8.8           System I/OWhat can be done? Can anyone tell what wrong is happening here?
    Database is 10.2.0.4
    OS is AIX 5.3
    SGA_TARGET is 6G
    PGA_AGGREGATE_TARGET is 2G
    Total physical RAM is 12G
    EBiz application is running in the same server
    Regards,
    SA

    On my server, we needed to adjust the vmm on aix for oracle to run best. Before I did that it was really slow.
    http://www.ibm.com/developerworks/aix/library/au-aixoracle/index.html
    Specifically these as outlined in the document linked above:
    Listing 3. Changing the default setting for the lru_file_repage parameter using vmo
    root@lpar21ml16ed_pub[] > vmo -o lru_file_repage=0
    Setting lru_file_repage to 0
    root@lpar21ml16ed_pub[] >
    Setting this to 0 tells the VMM that you want to steal only file pages and not computational pages. As this will change if the numperm < minperm or > maxperm, we will make maxperm high and minperm very low. Years ago, before the lru_file_repage parameter was introduced, we used to make maxperm low. If we did this now, we would stop the application caching programs that are currently running.
    Listing 4 shows how we'll set these parameters:
    Listing 4. Setting the minperm, maxperm and maxclient parameters
    vmo -p -o minperm%=5
    vmo -p -o maxperm%=90
    vmo -p -o maxclient%=90
    We also want to take a look at minfree and maxfree. When the pages on our free list fall below minfree, the VMM will start to steal pages, which we don't want to happen until the free list has beefed up the number in maxfree. The values should be similar to the ones shown in Listing 5.
    Listing 5. Setting the minfree and maxfree parameters
    vmo -p -o minfree=960
    vmo -p -o maxfree=1088
    Edited by: user455434 on Oct 12, 2010 1:14 PM

  • Performance on RMAN backups and LOBs

    Hi all,
    We have a 4-node database (11.2.0.3) running on a RHEL. The db has 2.5TBs, and we realized that the incremental level 1 backup is taking too long to complete. Doing some research, we found some blog posts saying that, during a backup of a segment, if that same segment has a lot of lob segments (and that is our case... a lot of lob segments) and the backup is being compressed (we are using CONFIGURE COMPRESSION ALGORITHM 'HIGH' OPTIMIZE FOR LOAD TRUE AS OF RELEASE 'DEFAULT') this same backup can take a lot longer than a uncompressed backup. What i would like to know is if you had an equal experience and if changing the compression algorithm to none, the backup will run faster.
    PS - The input and output of the backup is disk.
    Thanks in advance.

    Thanks for your attention, we disabled the compression in our backup and it did run faster.
    I would like to know another thing, if possible: Is there any rule to determine the correct number of channels. I know each channel creates a session and paralellize the backup. For example, the number of channels is related to the number of cpu cores? ... or the number of output devices?
    Thanks again in advance.

  • Can RMAN backup and export datapump executed at the same time?

    Hello,
    I have several databases that I backup using RMAN and export datapump everynight starting at 6PM and end at Midnight. The backup maintenance window doesn't give me enough time for each database to run at different time. I am using crontab to schedule my backups. Since I have so many databases that need to be backed up between 6PM - Midnight, some of the export and RMAN backup scripts will execute almost at the same time. My question is can my export data pump and RMAN backup scripts run at the same time?
    Thank you in advance.
    John

    Needs must. If you don't run expdp parallel then it doesn't use that much. If it was really killing the system then look into setting up a Resource plan that knocks that user down but this is a big step.
    I woud better look into using Rman
    system incrementals, and block change tracking, to minimize your RMAN time.
    Regards
    If your shop needs to do both simultaneously then go for it.
    Chris.
    PS : One of my shops has maybe 20-30 rmans and pumps all kicking off some simultaneous, some not, from 0000 to 0130. No complaints from users and no problems either. Go for it.
    Edited by: Chris Slattery on Nov 25, 2012 11:19 PM

  • RMAN  backup and restore in network

    Hi,
    I have already did cold backup of database using RMAN in the same disk on a linux OS. It was successful.
    Now i want to do the same backup in a different disk on a another system. Both the systems are in same network.
    Please help me

    You can name the NFS mount point anything meaningful.
    In your RMAN Backup script, you would use the FORMAT clause to specify the location where the backups are to go to.
    For example, if the filesystem from linux2 is NFS-mounted on linux as as /NFS_backup your RMAN command would be
    BACKUP DATABASE FORMAT '/NFS_backup/%U';
    BACKUP ARCHIVELOG ALL FORMAT '/NFS_backup%U' DELETE INPUT ;Look up the syntax of the formatSpec in the Backup and Recovery Reference for formats other than %U. %U generates a Unique File Name.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Regarding RMAN backup and recovery using archivelogs during cloning process

    Hi there,
    We are running 9i database (RAC) in archivelog mode.We are in the process of cloning DEVELOPMENT database using our PRODUCTION database.
    For this we planned to take RMAN backup by keeping the production database in MOUNT stage.
    In this regard, will it be possible to make use of archivelogs generated during and after this backup (in mount stage), after some days during recovery time, if it asks for recovery after cloning process.
    Thanks,
    Balu.

    Hi Alok,
    why there is a need for standby here? you mean to say standby db?
    what i exactly need is , whether i will be making use of archivelogs which are all archived during that backup period (in mount stage) after some days, if i face any problem with the PRODUCTION Database..

  • Rman backup and restore from ASM env to Non ASM Environment

    Hi,
    I got a situation where i need to take RMAN Backup from ASM RAC environment and Restore that back to Non ASM standalone database.
    Please let me know the procedure.
    would appreciate your quick response

    874152 wrote:
    Hi,
    I got a situation where i need to take RMAN Backup from ASM RAC environment and Restore that back to Non ASM standalone database.
    Please let me know the procedure.
    would appreciate your quick response
    Hi,
    You can follow this procedure
    1. take the backup to destination host
    2. restore spfile and controlfile
    3. catalog the backup with command 'catalog start with <location of backup>'
    4. use "set newname for datafile" to restore the datafile to non asm disk
    5. restore database
    6. recover database until point in time
    7. rename redolog and tempfile
    8. open database with resetlogs
    9. remove redolog group from another instance
    10. you might want to drop undo tablespace from another instance too
    11. task complete
    Cheers

  • RMAN backup and TSM question

    We have rman backup file name contains the datetime so it is unique and easy to tell. But TSM keeps every file 4 versions, so the backup file (always 1 version because of unique name) will stay on tape forever. I have no idea about TSM, according to your experience, what is the normal solution here?

    Dedicated forum for {forum:id=74}.
    But quickly, in general, "DBA" and "TSM/Storage manager" need to agree on media manager use and setup the system accordingly.
    Edited by: orafad on May 19, 2011 3:00 PM

  • RMAN Backup and Restore - From AIX to Linux

    Hi All,
    I want to take RMAN Backup from AIX (Oracle 11.2.0.3) and restore it to RHE Linux . Both of them are 64-bit.
    Can someone please, let me know the steps ?
    Thanks,

    airmax012 wrote:
    hello can i restore an RMAN backup from AIX to LINUX?
    thanksI give up.
    Can you.
    post Oracle version to 4 decimal places

  • Rman backup and restore noarchive log

    Hi,
    We are changing our backup tools from exp to rman. For this I am trying to do
    restoration in test server of oracle db running on 9.2 noarchive log.
    Step 1. Taken complete backup with rman with nocatalog and include controlfile
    nput datafile fno=00008 name=D:\ORACLE\ORADATA\TOTO\TOOLS01.DBF
    channel ORA_DISK_1: starting piece 1 at 09-MAR-06
    channel ORA_DISK_1: finished piece 1 at 09-MAR-06
    piece handle=D:\DBBACKUPS\T1.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:01:15
    Finished backup at 09-MAR-06
    Step 2. Deleted database files and control files from database directory.
    Step 3. Restore controlfiles
    RMAN> restore controlfile from 'd:\dbbackups\t1.bkp';
    Starting restore at 09-MAR-06
    using channel ORA_DISK_1
    channel ORA_DISK_1: restoring controlfile
    channel ORA_DISK_1: restore complete
    replicating controlfile
    input filename=D:\ORACLE\ORADATA\TOTO\CONTROL01.CTL
    output filename=D:\ORACLE\ORADATA\TOTO\CONTROL02.CTL
    output filename=D:\ORACLE\ORADATA\TOTO\CONTROL03.CTL
    Finished restore at 09-MAR-06
    Step 3. after database mount, try to restore datafiles, which is failed
    restoring datafile 00024 to D:\ORACLE\ORADATA\TOTO\DIN36\TESTUNV1.ORA
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 03/09/2006 17:24:25
    ORA-19505: failed to identify file "D:\DBBACKUPS\TOTOBKP.RMAN"
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Why it is looking old backup totobkp.rman which is not existing on disk ? My
    backup name is t1.bkp.
    Will you pl tell me where I have gone wrong ? Secondly what are the correct
    steps to be followed for taking cold backup and restoration.
    thanks & regards
    pjp

    Okay let us ponder this for a moment:-
    DB NOARCHIVELOG
    It does not matter when you take the backup of controlfile because the database is in mount state and no changes are allowed to the db ( Checkpoints etc. )
    DB ARCHIVELOG
    It does not matter when you take the backup of controlfile because the database is continuously writing to the archivelog's.
    End result should not be significantly different as to worry about whether to take backup of control file before or after backup.
    Thanks
    Gopal

Maybe you are looking for

  • Human Task form deployment issue

    Dear Experts, How to deploy Human Task form WAR file to the BPEL OC4J container through SOA em console. I have viewed through em console but i cant see any option for (war or ear ) work flow deployment. Please suggest. Thanks Rajesh A

  • Connecting to twitter and facebook ( automatic updates)

    Anyone having trouble with posting runs to facebook and twitter recently? Worked great up until Friday!

  • MM-Qm integration in Purchase

    Dear All, we are Purchasing raw material from Supplier . Raw Material is Excisable (Modvat).QM for Procurement is Active.  Say, 100 kg worth 100 INR basic value + 10 rs Excise Duty. When material GRN carried out at our Plant : query A ) Excise Duty P

  • Difficulties

    I have a Iphone 4s that has issues sensor and buttons are not working need to replace phone but purchesed phone in Germany but now live in the USA. How can I get in contact with Apple in Munich to get a replacement? Thanks Ernesto <Edited by Host>

  • Serial number control

    I want to have a control on not receiving a return on a serial number which I have not sold before. How can I do this? Is there a user exit? Also I don't want to be able to sell a serial number from the consignment stock which I have not sent to the