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.

Similar Messages

  • 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

  • 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

  • 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].

  • 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?

  • 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

  • Estimating the backup size for full database backup?

    How to estimate the backup file size for the following backup command?
    Oracle 10g R2 on HPUX
    BACKUP INCREMENTAL LEVEL 0 DATABASE;
    Thank you,
    Smith

    Depends on the number of used blocks, block size etc. You could probably get a rough formula for backup size based on the contents of dba_tab_statistics (subtract empty_blocks), dba_ind_statistics etc.

  • 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

  • Ipad2 backup problem ,Plz help

    My bf helped me to update my ipad2 to ios8 by connected his MacBook to my iPad,and now he said he has my backup.so what he can or can't not do with it? And how to stop it? he seems want to control my privacy. how to stop he to track to me? Tks u im such an idiot so plz help

    set your FORMS60_PATH on the client to Formspath;libpath;menupath so it looks in every dir named in the path.

  • Migration to an asm instance. plz help me urgent

    RMAN> BACKUP AS COPY DATABASE FORMAT '+DGROUP1';
    Starting backup at 20-AUG-07
    Starting implicit crosscheck backup at 20-AUG-07
    using target database controlfile instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=328 devtype=DISK
    ORA-19501: read error on file "+DGROUP1/sravan/backupset/2007_08_03/nnsnf0_ora_asm_migration_0.260.1", blockno 1 (blocksize=512)
    ORA-17507: I/O request size is not a multiple of logical block size
    Crosschecked 7 objects
    Finished implicit crosscheck backup at 20-AUG-07
    Starting implicit crosscheck copy at 20-AUG-07
    using channel ORA_DISK_1
    ORA-19587: error occurred reading 8192 bytes at block number 1
    ORA-17507: I/O request size 8192 is not a multiple of logical block size
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 08/20/2007 16:53:21
    ORA-19587: error occurred reading 8192 bytes at block number 1
    ORA-17507: I/O request size 8192 is not a multiple of logical block size

    > plz help me urgent
    Adjective
        * S: (adj) pressing, urgent (compelling immediate action) "too pressing to permit of longer delay";So you are saying that your problem is a lot more important than any other person's problem on this forum?
    And you're demanding a quick response from professionals that give you and others assistance here in their free time without getting a single cent compensation?
    Don't you think that this "it is urgent!" statement severely lacks manners?

  • Min space rman backup

    dear all,
                i have 11g oracle database and my database size is 120gb .how much hard disk space i must keep to take backup of my database using rman .my backup strategy is on sunday i take level 0 incremental backup and on mon,tue.wed,thurs,fri and sat i m taking  incremental level 1 differential backup.so how much minimum space i must keep on my hard disk for 1 week rman backup? your help appreciated.
    thanks and regards,

    941949 wrote:
    dear all,
                i have 11g oracle database and my database size is 120gb .how much hard disk space i must keep to take backup of my database using rman .my backup strategy is on sunday i take level 0 incremental backup and on mon,tue.wed,thurs,fri and sat i m taking  incremental level 1 differential backup.so how much minimum space i must keep on my hard disk for 1 week rman backup? your help appreciated.
    thanks and regards,
    This is a question I'm having to answer as well.  There are a lot of variables that determine how much space will be needed in any particular circumstance and the guidelines are only just that, guidelines.  I read the links presented by Abufazal and while they are as good a starting point as any, you really have to read them with a critical eye and a firm understanding of your own backup and recovery requirements.  Ultimately the only way to know how much space is going to be needed is to run the backups and see.

  • 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

  • Recovery : if we have RMAN backup

    Hi,
    1)If we have RMAN backup then how can we recover database.
    2)If we have cold backup then how can we use this backup to recover database.
    I new in DBA fileld so please need guidelines.
    thanks,
    Brijesh

    Hello,
    1)If we have RMAN backup then how can we recover database.To Recover the Database it should be in ARCHIVELOG mode and you must BACKUP the Database and the Archived logs as well.
    There are several cases.
    If you have just to Restore and Recover the Database from the lost of the Datafiles and, you still have the Online Redologs, you may perform a Complete Recovery:
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmcomre.htm
    If you lost the Online Redologs, you'll have to perform an Incomplete recovery ( or DBPITR ):
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmflash.htm#i1011846
    If you lost also the Control files and/or the Parameter File, you may have to perform first additional operations to restore these files:
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmadvre.htm#i1006245
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmadvre.htm#CHDBEDCH
    If you use Enterprise Manager you may follow these steps:
    http://st-curriculum.oracle.com/obe/db/11g/r2/2day_dba/backup/backup.htm
    2)If we have cold backup then how can we use this backup to recover database.I think that this link may help:
    Re: Restore cold backup and RMAN backup
    Hope this help.
    Best regards,
    Jean-Valentin

  • 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

Maybe you are looking for