Estimate rman backup size

Hi,
Can anyone tell me how can i estimate a rman backup size ?
i need to figure out the worst case so i can prepaire the proper disks
10x.

The 'worst case' is the same size as the database size, WHEN image copies are used instead of backupsets. To prepare proper disk size you have to answer another question: How many backups do you plan to store? You have to define a retention policy, number of backups or number of days you want to go back in time.
Werner

Similar Messages

  • Estimate rman backup size & time

    Hi DBAs,
    ENV : 11gR2, Windows 2008 server, 64bit,RAM=12 gb,
    DB size=370 gb., SGA=5 gb, ASMM=enabled.
    We need to move this database to Windows 2012 server which runs on Hyper-V.  Can you guys suggest what are the best methods to move with limited downtime ?
    If we opt for RMAN, is there any way to measure to estimate backup size ? ( at-least, approximate size) and how much time it takes to complete?
    Please share your thoughts !!
    Thanks,
    Hari

    Thank you sb92075 :
    Your statement - Size depends upon how much of the 370GB are indexes
    Would it mean, Rman is not going to take indexes to backup sets? or can you elaborate or refer me a link to study.
    and my total indexs are of size 18GB
    {code?
    select segment_type, sum(bytes)/1024/1024/1024 from dba_segments where segment_type in ('INDEX PARITION','INDEX')
    group by segment_type
    SEGMENT_TY SUM(BYTES)/1024/1024/1024
    INDEX                     18.6002808
    {code?
    Are we able to guess approximate backup size?

  • Estimate database backup size

    Hi All,
    AIX 5.3
    oracle 10.2.0.3
    I have production database of 80 GB. I want to take a cold backup during the upgrade process. Now i want to know database backup size. so we can free space from some mount point accordingly.
    Is there any way to estimate database backup size?
    Thanks,
    Vishal

    Question: how did you establish that your database is actually 80G?
    Is that 80G of data in the database, or is it the sum of all data files, temp tablespace files, undo tablespace files, redo logs, oracle binary software files, control files, etc?
    If you intend to do an upgrade of the software, my recommendation is to shut the database down and do a full copy of:
    1) your entire oracle product tree (usually /oracle/product), including ORACLE_HOME.
    2) your entire 'oradata' structure which (should) include all of your Oracle database data files and all other associated files.

  • Sql to check RMAN backup size

    Hi All
    Kinldy tell me how i can check the RMAN Backup size from sql command. I am taking Full,Incrimental,Cumulative and Archive log backup.
    Thanks
    Krishna

    try this,
    SQL> select ctime "Date"
      2       , decode(backup_type, 'L', 'Archive Log', 'D', 'Full', 'Incremental') backup_type
      3       , bsize "Size MB"
      4  from (select trunc(bp.completion_time) ctime
      5            , backup_type
      6            , round(sum(bp.bytes/1024/1024),2) bsize
      7     from v$backup_set bs, v$backup_piece bp
      8     where bs.set_stamp = bp.set_stamp
      9     and bs.set_count  = bp.set_count
    10     and bp.status = 'A'
    11     group by trunc(bp.completion_time), backup_type)
    12  order by 1, 2;
    Date      BACKUP_TYPE    Size MB
    03-JUL-10 Archive Log       7.31
    03-JUL-10 Full             29.81
    03-JUL-10 Incremental    2853.85
    04-JUL-10 Archive Log       3.59
    04-JUL-10 Full              7.45
    04-JUL-10 Incremental       3.05

  • ESTIMATED RMAN BACKUP SIZE:::PLZ HELP ME

    Hi all,
    I wish you all happy new year :)
    I have implemented a new Backup STrategy with RMAN, such I using Oracle 10G version on Linux Server. I would like To know if exists one method to estimate the size of my full and incremental backup before to lunch? I will really apreciate your help :)
    Thank you all,
    W
    Message was edited by:
    HAGGAR

    Hi,
    Happy new year for you too!!!
    From Metalink Note:105208.1:
    There is no 'magic' formula to calculate the storage space of an RMAN backup
    and there is no query that will give you a space estimate.
    So, the best answer is: "Try it and see how much is used."
    Check These out:
    1-) https://metalink.oracle.com/metalink/plsql/f?p=130:14:4138343222012115291::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,105208.1,1,1,1,helvetica
    2-) https://metalink.oracle.com/metalink/plsql/f?p=130:14:4138343222012115291::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,67221.1,1,0,1,helvetica
    Cheers,
    Marcello M.

  • Rman backup size for Dr db is very much higher than that of primary db

    Hi All,
    My production database on Oracle 10.2.0.4 had a physical size of 897 Gb and logical size of around 800 Gb.
    Old tables were truncated from the database and its logical size got reduced to 230 Gb.
    Backup size is now 55Gb which used to be of 130 Gb before truncation.
    Now this database has a DR configured. Backup of this DR database is daily taken which is used to refresh test environments.
    But the backup size for DR database has not decreased. The restoration time while refreshing test environments is also same as before.
    We had predicted that the backup size for DR database will also decrease and hence reducing the restoration time.
    We take compressed RMAN backup.
    What is the concept behind this?

    When you duplicate a database it will restore all the datafiles from the RMAN backup. You will find the physical space of your source database. Remove the fragmented space using object movement. Then shrink the tablespaces and take fresh RMAN backup and restore.
    Regards
    Asif Kabir

  • Rman backup size

    Oracle11gr2,solaris10.
    how do i check the size of my daily rman lvl0 backup.
    i do a backup as compresses level 0.
    i find the sizes listed in rman>list backupset summary; but i wanted to get as a consolidated.
    My fra gets filled up after backing up the database continuously for 4 days. I remove the oldest backupset folder to release fra. I wanted to get a trend of how much rman is using each day for its backup.
    Thanks
    San~

    SQL> select ctime "Date"
      2       , decode(backup_type, 'L', 'Archive Log', 'D', 'Full', 'Incremental') backup_type
      3       , bsize "Size MB"
      4  from (select trunc(bp.completion_time) ctime
      5          , backup_type
      6          , round(sum(bp.bytes/1024/1024),2) bsize
      7     from v$backup_set bs, v$backup_piece bp
      8     where bs.set_stamp = bp.set_stamp
      9     and bs.set_count  = bp.set_count
    10     and bp.status = 'A'
    11     group by trunc(bp.completion_time), backup_type)
    12  order by 1, 2;
    Date      BACKUP_TYPE    Size MB
    03-JUL-10 Archive Log       7.31
    03-JUL-10 Full             29.81
    03-JUL-10 Incremental    2853.85
    04-JUL-10 Archive Log       3.59
    04-JUL-10 Full              7.45
    04-JUL-10 Incremental       3.05refer : How to find backupset sizes for full and incremental backups answered by ebrian      
    How to find backupset sizes for full and incremental backups
    Total questions     45 (39 unresolved) : mark the question as answered if you get the answer for your questions.
    Announcement: Forums Etiquette / Reward Points
    Posters, please mind these common-sense rules when participating here:
    - When asking a question, provide all the details that someone would need to answer it. Consulting documentation first is highly recommended.
    - When answering a question, please be courteous and respectful; there are different levels of experience represented here. A poorly worded question is better ignored than flamed - or better yet, help the poster ask a better question.
    - It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
    - See more tips in the FAQ
    Thanks for doing your part to make this community as valuable as possible for everyone!
    - OTN Edited by: rajeysh on Jul 7, 2010 2:11 AM

  • Rman Backupset size is exceeding the database size

    Hi
    my rman backup size is exceeding the database backup size and occupying the full mountpoint. and finally due to space issue, backup is failing.
    Below is the RMAN script
    run {
    backup
    incremental level 0
    tag ASCPLVL0
    database plus archivelog ;
    delete noprompt backupset completed before 'sysdate - 4/24' ;
    Please look into this
    Regards
    M. Satyanvesh

    Are you using compression?
    Ans: No
    The size of an RMAN backup isn't always proportional to the size of the database.
    Ans: yeah I know, but it should be somewhere near to database size(lets say 100gb or 150 gb variance)
    How many archivelogs are you backing up with your database?  This is possibly a factor in the size of your db backup.
    Ans: archive log count per day is 18  and size is 34gb
    Have you got a retention policy in place and do you regularly delete obsolete backups/archivelogs?
    Ans: yes
    Are you taking this backup as part of a backup strategy? or is this just a one off for some other purpose which would seem to be the case.
    Ans: This is production systesm so its a part of backup strategy

  • RMAN Backups residing remotely

    Oracle Version: 11.2.0.3 x64
    OS: Win 2008 server x64
    Hi Experts.
    We need to replicate a database on one of our boxes, with very limited space on disk. The database size is roughly 200gb, free space on disk is 250gb, and the RMAN backups are roughly 80gb.
    The RMAN backup pieces have been cataloged with the following path:
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   'd:\rman\%d\bkup_%d_%U';So, if we attempt a restore/replication on the local server, RMAN would look for backups on the local D drive, under D:\rman\<db_name>\
    In the past we used to copy the RMAN backups on the local server where the replication is required, and perform the replication locally without any issues; however, with a very limited space that won't fit both the replicated instance and the RMAN copies, we're not quite sure how further proceed!?
    Can we instruct the RMAN replication session to look for backups in a remote server?
    We do keep 3 weeks of RMAN backups on disk, hence the 80GB RMAN backups size. As far as I remember a full backup has been performed last Sun. Can we only bring over Sun full backup (and any subsequent incremental backups)? or do we need to copy the whole thing across to the local server?
    Any ideas please?
    Thanks

    I've been trying the duplicate command with the "from active database" clause but we're getting some permissions errors that I'm not sure about:
    C:\Users\oracle>rman target sys/xxx@vssrp auxiliary sys/password@vssrl
    Recovery Manager: Release 11.2.0.3.0 - Production on Sat Sep 1 16:28:25 2012
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: vssrp (DBID=1391811405)
    connected to auxiliary database: vssrl (not mounted)
    RMAN> run {
    2>    allocate channel c1 type disk;
    3>    allocate auxiliary channel DUP type disk;
    4>    duplicate target database to vssrl from active database;
    5> }
    using target database control file instead of recovery catalog
    allocated channel: c1
    channel c1: SID=1252 device type=DISK
    allocated channel: DUP
    channel DUP: SID=673 device type=DISK
    Starting Duplicate Db at 01-SEP-12
    contents of Memory Script:
       sql clone "create spfile from memory";
    executing Memory Script
    sql statement: create spfile from memory
    contents of Memory Script:
       shutdown clone immediate;
       startup clone nomount;
    executing Memory Script
    Oracle instance shut down
    connected to auxiliary database (not started)
    Oracle instance started
    Total System Global Area    3140026368 bytes
    Fixed Size                     2259312 bytes
    Variable Size                788530832 bytes
    Database Buffers            2315255808 bytes
    Redo Buffers                  33980416 bytes
    allocated channel: DUP
    channel DUP: SID=578 device type=DISK
    contents of Memory Script:
       sql clone "alter system set  db_name =
    ''vssrp'' comment=
    ''Modified by RMAN duplicate'' scope=spfile";
       sql clone "alter system set  db_unique_name =
    ''vssrl'' comment=
    ''Modified by RMAN duplicate'' scope=spfile";
       shutdown clone immediate;
       startup clone force nomount
       backup as copy current controlfile auxiliary format  'C:\ORACLE\ORADATA\CONTROLFILE\vssrl\CONTROL01.CTL';
       restore clone controlfile to  'D:\ORACLE\ORADATA\CONTROLFILE\vssrl\CONTROL02.CTL' from
    'C:\ORACLE\ORADATA\CONTROLFILE\vssrl\CONTROL01.CTL';
       restore clone controlfile to  'D:\ORACLE\ORADATA\vssrl\CONTROL03.CTL' from
    'C:\ORACLE\ORADATA\CONTROLFILE\vssrl\CONTROL01.CTL';
       alter clone database mount;
    executing Memory Script
    sql statement: alter system set  db_name =  ''vssrp'' comment= ''Modified by RMAN duplicate'' scope=spfile
    sql statement: alter system set  db_unique_name =  ''vssrl'' comment= ''Modified by RMAN duplicate'' scope=spfile
    Oracle instance shut down
    Oracle instance started
    Total System Global Area    3140026368 bytes
    Fixed Size                     2259312 bytes
    Variable Size                788530832 bytes
    Database Buffers            2315255808 bytes
    Redo Buffers                  33980416 bytes
    allocated channel: DUP
    channel DUP: SID=578 device type=DISK
    Starting backup at 01-SEP-12
    channel c1: starting datafile copy
    copying current control file
    released channel: c1
    released channel: DUP
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/01/2012 16:29:14
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on c1 channel at 09/01/2012 16:29:14
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-01031: insufficient privileges
    ORA-17629: Cannot connect to the remote database serverAs you can see from the above, we're logging in to both databases (target and aux) as sys; also the local OS oracle user is a member of administrators and can write files on to disks.
    Any idea please?
    Thanks

  • Why is RMAN backup of 2TB DB still 2TB when expdp dump was only 600mb ?

    RDBMS version: 11.2.0.3/Oracle Linux 6.2
    We took an RMAN backup of below mentioned DB.
    Since DBA_SEGMENTS was showing 2TB , I thought RMAN backup size will be half of that .ie. 1TB . But the RMAN backup size was 1.95 TB!
    expdp of the full DB was only 600mb !
    SQL> select sum(bytes/power(1024,3)) from dba_segments;
    SUM(BYTES/POWER(1024,3))
                  2056.27728
    SQL> select sum(bytes/power(1024,3)) sumbytesGB, sum(maxbytes/power(1024,3)) sumMaxBytes from dba_data_files;
    SUMBYTESGB SUMMAXBYTES
          5451  427.998978
    SQL> col file_name format a75
    SQL> set pages 300
    SQL> select file_name, bytes/power(1024,3) bytesGB, maxbytes/power(1024,3) from dba_data_files;
    FILE_NAME                                                                      BYTESGB MAXBYTES/POWER(1024,3)
    +CMS_DATA/bcmsprd/datafile/cms_s_asset_xa_dat_01.dbf                                20                      0
    +CMS_DATA/bcmsprd/datafile/cms_s_asset_xa_dat_02.dbf                                20                      0
    +CMS_DATA/bcmsprd/datafile/cms_s_asset_xa_dat_03.dbf                                20                      0
    +CMS_DATA/bcmsprd/datafile/cms_s_asset_xa_dat_04.dbf                                20                      0
    +CMS_DATA/bcmsprd/datafile/cms_s_asset_xa_dat_05.dbf                                20                      0
    +CMS_DATA/bcmsprd/datafile/cms_s_asset_xa_dat_06.dbf                                20                      0
    +CMS_DATA/bcmsprd/datafile/cms_s_asset_xa_dat_07.dbf                                20                      0
    +CMS_DATA/bcmsprd/datafile/cms_s_asset_xa_dat_08.dbf                                20                      0
    +CMS_DATA/bcmsprd/datafile/users.271.803502221                                       6             31.9999847
    +CMS_DATA/bcmsprd/datafile/undotbs1.265.803502221                                   20                     20
    +CMS_DATA/bcmsprd/datafile/sysaux.272.803502221                                     10             31.9999847
    +CMS_DATA/bcmsprd/datafile/system.260.803502221                                     10             31.9999847
    +CMS_DATA/bcmsprd/datafile/undotbs2.261.803502407                                   20                     20
    +CMS_DATA/bcmsprd/datafile/undotbs3.267.803502407                                   20                     20
    +CMS_DATA/bcmsprd/datafile/cms_s_asset_xa_dat_09.dbf                                20                      0
    +CMS_DATA/bcmsprd/datafile/cms_s_asset_xa_dat_10.dbf                                20                      0
    <snipped>

    RMAN does a backup of all formatted blocks --- even if rows have been deleted and the blocks are "logically empty".  expdp, obviously, does not backup deleted rows.  Similarly, if you've created a table and then subsequently truncated it, the blocks would remain formatted and be candidates for RMAN Backups.  Truncated tables would be "empty" and would result in 0 rows exported.
    So, you'd have this issue if you've deleted a large number of rows and/or issued truncates.
    Hemant K Chitale

  • How to estimate recovery time from rman backup

    how to estimate recovery time from rman backup?
    The database is of size 800GB.
    the approximate time to backup is 8- 10 hours.

    "Recovery time" is : RESTORE DATABASE time + RECOVER DATABASE time.
    RESTORE can be done
    a. in parallel with multiple channels if your backup was created as multiple backupsets
    b. using incremental backups
    c. whether the backups are on
    i. disk
    ii. tape
    Alternatively, if you have a Recovery Area with an Incrementally Update backup of the database, you can SWITCH DATABASE almost immediately
    RECOVER depends on
    a. how many archivelogs (in terms of size, not necessarily number) need to be applied
    -- this depends on
    i. transaction volume
    ii. the "freshness" of the backups (how recent the backups are)
    b. whether required archivelogs are available on disk (which can be the case if the database backup itself is a very recent backup and archivelogs since then haven't been deleted {whether they have been backed up or not}) OR whether they need to be restored from
    i. disk backup
    ii. tape backup

  • Estimating the backup size before running the RMAN

    DB Version : 11.2
    OS : Oracle Solaris 10
    I need to take an ad-hoc RMAN cold backup of a 200GB DB to Local Disk. Using RMAN, is there any way I could check how much the backup size would be before I take the cold backup ?

    Read the metalink How to estimate the size of an RMAN database backup [ID 1274720.1].

  • Rman 9i total backup size

    Hi all
    ORACLE version 9i
    i need to get rman backup output size, i have scaned views relative but couldn't find something differ than block_size
    what can u offer me to do
    thanks in advance

    Hi turkelturk,
    It depends on what information you need if you want to make an estimate on the space needed and
    you want to know the total size of the backup sets for the dbfs per day you could run.
    select trunc(completion_time), sum(BLOCKS*BLOCK_SIZE)/1024/1024
    from V$BACKUP_DATAFILE
    group by trunc(completion_time)
    order by 1
    The redo is different the amount of redo generated per day would be:
    select trunc(first_time), sum(blocks*block_size)/1024/1024
    from v$backup_redolog
    group by trunc(first_time)
    order by 1
    But if you purge your redo after the second backup run you have to double the space.
    If you want more detailed information you have to join both views with v$backup_piece.
    Regards,
    Tycho

  • How to find total size of RMAN backup files?

    Hi there
    env: Oracle 10gR2, RHEL 64bit
    My client has a production database where rman backups are taken: Level-0 backup every Sunday and Level-1 Monday thru Saturday.
    I have very limited access to this production database because it is being managed by third party and they won't provide me my required info (not sure why). I do not have access to their rman repository. To connect to the database I have to login to an intermediate server and then login to the database server. I have no access to Enterprise Manager. So in short, my access is limited. I want to gather the information on total size of rman backup files - both for a Level-0 and Level-1 backups separately. I understand that this info can be retrieved from rman repository. Are there any data dictionary views/tables where I may get this info?
    Best regards

    Hi,
    Have you searched in  forum check this:https://forums.oracle.com/thread/1097939
    HTH

  • RMAN backup with smallest backup size

    Oralce 11g2 on Redhat 5. The diskspace is our tightest resource, and we want to an incremental backup with level0 on Sunday and level 1 every week days and Saturday. I am to use the comamnds to do the job--Sunday
    backup incremental level 0 tag 'level_0' database plus archivelog;
    --Other days
    backup incremental level 1 database plus archivelog delete all input;I do not think this is the best practice nor produce smallest backup files.
    What are you comments and opinions. Thanks

    Pavan, Thank you for reply. Here are the info requested
    what is size of DB ??
    ~250GB, including UNDO and TEMP. It is a dev database and not very big. But we have total 800GB disk space. After setting some housekeeoing folders, and allow some space for data growth, it leaves 180GB for flash_recovery_area.
    what would be max size of archive logs generated per day ??
    Variable from less than 1 GB to 12 GB
    Are you taking backups to tape or Disk ??
    Disk. In the 180GB flash_recovery_area, Current backup size is 152GB. If a backup fails to delete obsolete files, the next backup will fill the flash_recovery_area.
    Provide the Rman configuration information ??
    RMAN> show all;
    RMAN configuration parameters for database with db_unique_name TDEV2 are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/snapcf_tdev2.f'; # default

Maybe you are looking for

  • Source database version dependency

    Hello community, While running execution plan for "Procurement and Spend only analytics" in DAC we are getting the following error on one of the Informatica workflow - SDE_ORA_PurchaseReceiptFact_full. "From keyword not found where expected". AFter i

  • Nano6: Remember what songs in shuffled playlist have been played after turning off?

    If I'm listening to a playlist on my Nano6, and it's set to "shuffle," if I pause and then turn my iPod off, will it "remember" which songs in the list have already played when I turn it back on? Or will it shuffle through even those songs already pl

  • JFileChooser "List" and "Details" button disabled.

    Hi, The two buttons "List" and "Details" buttons on the top-right of my JFileChooser dialog box are both disabled. Dose anyone know how to enable them? Thanks slam

  • Update PA0105 subtype-fields, PA0006 fields to Custom table

    Hi Experts, Please tell how can we UPDATE subtype-fields from PA0105 infotype to Custom tables. Is any functoin module is there. PA0105-USRTY(Subtype Fields:Primary Work Phone,Secondary Work Phone,Work Fax,Voice Mail,Pager,Email Address.) and UPDATE

  • Instalace nového počítače / Installing a new PC

    Po instalaci nového počítače i když jsem jej instaloval s češtinou,stále mi nabíhá v angličtině.  Poraďte prosím děkuji. Google translation / překlad Google: After installing a new computer and when I installed it with the Czech language, I still acc