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

Similar Messages

  • Best pratices for RMAN backup management for many databases

    Dear all,
    We have many 10g databases (>40) hosted on multiple Windows servers which are backup up using RMAN.
    A year ago, all backup's were implemented through Windows Scheduled Tasks using some batch files.
    We have been busy (re)implementing / migrating such backup in Grid Control.
    I personally prefer to maintain the backup management in Grid Control, but a colleague wants now to go back to the batch files.
    What i am looking for here, are advices in the management of RMAN backup for multiple databases: do you guys use Grid Control or any third-party backup management tool or even got your home-made solution?
    One of the discussion topic is the work involved in case that the central backup location changes.
    Well... any real-life advices on best practices / strategies for RMAN backup management for many databases will be appreciated!
    Thanks,
    Thierry

    Hi Thierry,
    Thierry H. wrote:
    Thanks for your reaction.
    So, i understand that Grid Control is for you not used to manage the backups, and as a consequence, you also have no 'direct' overview of the job schedules.
    One of my concern is also to avoid that too many backups are started at the same time to avoid network / storage overload. Such overview is availble in Grid Control's Jobs screen.
    And, based on your strategy, do you recreate a 'one-time' Oracle scheduled job for every backup, or do your scripts create an Oracle job with multiple schedule?
    You're very welcome!
    Well, Grid Control is not an option for us, since each customer is in a separate infrastructure, and with their own licensing. I have no real way (in difference to your situation) to have a centralized point of control, but that on the other hand mean that I don't have to consider network/storage congestion, like you have to.
    The script is run from a "permanent" job within the dba-scheduler, created like this:
    dbms_scheduler.create_job(
            job_name        => 'BACKUP',
            job_type        => 'EXECUTABLE',
            job_action      => '/home/oracle/scripts/rman_backup.sh',
            start_date      => trunc(sysdate)+1+7/48,
            repeat_interval => 'trunc(sysdate)+1+7/48',
            enabled         => true,
            auto_drop       => false,
            comments        => 'execute backup script at 03:30');and then the "master-script", determines which level to use, based on weekday from the OS. The actual job schedule (start date, run interval etc) is set together with the customer IT/IS dept, to avoid congestion on the backup resources.
    I have no overview of the backup status, run times etc, but have made monitoring scripts that will alert me if/when a backup either fails, or runs for too long. This, in addition with scheduled disaster/recovery tests makes me sleep rather well at night.. ;-)
    I realize that there (might be) better ways of doing backup scheduling in your environment, since my requirements are so completely different than yours, but I guess that we all face the same challenges in unifying the environments as much as possible, to minimize the amount of actual work we have to do. :-)
    Good luck!
    //Johan

  • 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

  • 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

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

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

  • Icloud-different backup sizes for whatsapp under the documents

    The option to backup whatsapp appears in two different places in the icloud settings menu.
    Under documents and settings it shows the backup size as 39.1 MB and under the Backup Options it shows 112MB. ( i have attached screenshots of both the sizes) Could someone please explain to me why this discrepancy and do i need to keep both the backups?
    Thank you,
    Akshay

    Is the iCloud a backup tool for your computer?  ---- Apple care suggested using iCloud for a backup to my documents.
    Not really. You can store "Documents in the Cloud" but this applies only to documents created by Pages, Numbers, Preview, Keynote, and Microsoft Office documents created on your computer stored in iCloud's "iWork". Within that limited purpose, iCloud works very well.
    My question is -- If I purchase backup from a clould provider - other than apple, back up my files in documents in their cloud (make sure I can open them) and then delete the link to iCloud.  Would I preserve my data?
    I'm not quite sure I understand what you mean by "purchase backup from a cloud provider" but if you're considering a service such as Carbonite, I don't advocate any of them. To back up your Mac, use your own backup device - Time Capsule or an external hard disk. It's inexpensive and reliable: two elements essential for a backup strategy, that no subscription service can offer.

  • RAC RMAN BACKUP Recovery FOR  Oracle APPS Application

    Hi,
    We have an Application which is similar to Oracle APPs application and We have a RAC Database at Backend.
    As I am a Oracle RAC DBA and never worked as an Oracle apps DBA.
    Each Week or month We have to deploy a patch on Our Database which are kind of sql changes to Database and before we applying we need to backup our Database.
    I am very comfortable while applying patches on Single instance Database:-
    I Usually shutdown my database and backing up My Database(Conistent\cold Backup) before applying patch.
    and I have a Flash back on both option I am having for my Database.
    Problem:-
    But in Production I have RAC Database, on which I already configured Hot Backup.
    FlashBackup Feature is there with me, but Not reliable.
    I want cold backup along with my existing hot backup, and want to restore same if something goes wrong.
    Since ASM is configured so we have only option RMAN backup.
    IF possible kindly Share your knowledge and Experience of your to handle Such Problem.

    Sir,
    RMAN is already configured for backing up database online.
    My only intention is to have cold or consistent backup before applying application patch, So that at the time of crisis I will resotre my Cold/Conistent backup.
    Because I am using 11gr2 RAC with ASM, so only option is there for me to use rman as backup tool.
    But I never tried to Have Cold backup in RAC environment in my previous jobs, and I am new to this Oracle APPS DBA technology. So Here I am looking for a Strategy that Normally oracle apps dba use while applying patch to Oracle Database and kind of backup strategy they use.
    Regards
    Gaurav

  • 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 backups valid for clone database.

    Hi,
    If we clone the database using rman that clone database will be having different database id, incurnation number and new resetlogfiles.
    so here we can't use source database backup files. if we want to use that source database backup files to clone database what is the procedure to clone the database.
    please let me know.
    thank you very much...!

    899329 wrote:
    Hi,
    If we clone the database using rman that clone database will be having different database id, incurnation number and new resetlogfiles.
    so here we can't use source database backup files. if we want to use that source database backup files to clone database what is the procedure to clone the database.
    please let me know.
    thank you very much...!You can clone/refresh database as
    1) RMAN duplicate
    2) RMAN restore from backups(restore control + database)
    using source backup files:-
    3) Hot backup clone ( begin backup, copy files, end backup, create controlfile using trace)
    4) cold clone (shutdown database, copy datafiles, create controlfile)
    5) whole database export & import

  • RMAN Backup script for RAC Database..please suggest

    Hi All,
    I am currently working on backup policy for RAC Database for my client.The client requirement is to backup while database is shutdown(mount state).I have made below script and could any one please suggest what further things should I need to add with below rman script.
    echo "Shutdown Database";date
    srvctl stop database -d PROD
    srvctl status database -d PROD
    echo "Database shutdown on";date
    echo "Mount Database ";date
    srvctl start instance -d PROD -i "PROD1" -o mount
    srvctl status database -d PROD
    echo "Start Full Database Backup on";date
    $ORACLE_HOME/bin/rman target / nocatalog <<EOF
    configure controlfile autobackup on;
    configure controlfile autobackup format for device type disk to '/BACKUP/PRODBKP/%F';
    run{
    allocate channel c1 device type disk connect 'sys/******@node1-vip:1521/PROD';
    allocate channel c2 device type disk connect 'sys/*****@node2-vip:1521/PROD';
    backup format '/BACKUP/PRODBKP/PROD_df_%t_%s_%p.bak'(database);
    backup format '/BACKUP/PRODBKP/archive_%t_%s_%p.bak' archivelog all;
    copy current controlfile to '/BACKUP/PRODBKP/PROD.ctl';
    delete noprompt obsolete;
    release channel c1;
    release channel c2;
    exit
    EOF
    echo "RMAN Backup Finished on";date
    echo "Shutdown Database";date
    srvctl stop database -d PROD
    echo "Start Database";date
    srvctl start database -d PROD
    srvctl status database -d PROD
    Please share your experiences.
    Regards

    Hi,
    Some tweaks for your script.
    echo "Shutdown Database";date
    srvctl stop database -d PROD
    srvctl status database -d PROD
    echo "Database shutdown on";date
    echo "Mount Database ";date
    srvctl start instance -d PROD -i "PROD1" -o mount1. If you database does not shutdown properly , does your script stops the execution of next step?
    2. configure controlfile autobackup on;
    configure controlfile autobackup format for device type disk to '/BACKUP/PRODBKP/%F';(Why you need to configure this every time) ?
    It's persistent at db level one time setting (until some other script changes the settings by other dba - else remove that - set the configuration at db level once for all)
    - Pavan Kumar N
    3.

  • Since the price for mac book pro is much expensive than others for the same configuration, give me some reasons that why choose mac book pro?

    I like Apple for both iPhone and iPad and I consider to buy a Mac book Pro recently. However, I haven't used mac book before. I have a alienware which is pretty good and I am much comfortable with it. I compared 2 laptops and I found for the same price, the configuration of alienware is much better than Mac book Pro.So why I need to buy the Mac book pro for a higher price? Don't tell me because it is Apple, tell me some details! For those of you who are familiar with mac book pro and loved apple deeply, please convince me!

    I guess that really depends on what you would use it for, and how you use a computer.  Alienware is geared for gaming and intense graphics displays, but a MBP is designed for general to hardcore users, and in my opinion, for multimedia purposes.  One positive thing about Apple is that it works well with Apple hardware and software, and that it is user-friendly.  Sony is like this too, that it works well with with Sony products, but my experience with Sony is not as user-friendly.
    For me, if I were into Windows based gaming I would go with Alienware.  If I wanted and used Windows based software and wanted a quality and long-lasting laptop, I would get a Sony.  (There was a study on laptops in 2010, founded that Sony laptops outlasted the other brands (HP and Acer were at the bottom).)
    Apple is more well-rounded and functions smoother compare to PCs.  So, no pun intended, it's all apples and oranges.
    If you are deciding which OS, you should based your decision on your needs, wants and functionality, and maybe long-term budget.
    So for example, I'm not a computer gaming (that's what console gaming is for me).  I like to compose music with my guitar and keyboard, like editing home videos, I'm an newsletter editor for my non-profit and HOA, I do statistics, I surf the web and stream media, and I do photography as a hobby.  So for initial cost, ease of operations, quality, longevity, and total long-term cost, the MBP was my choice.  I had considered Dell, Sony and Alienware.  To me, Sony and Alienware was like buying a Cadillac, and Dell like a Buick.  So I decided on a Lincoln.  Apple best fit my lifestyle and long-term budgeting for computers.
    FYI...Why I suggest long-term budgeting?  Is because over the last decade, I've been through three desktops and four laptops.  The Sony laptop outlasted them all with seven years, with only one hardware problem (two if you count the end).  The worst ones are tied between HP and Compaq.  Over the years my friends with Macs averaged seven to eight years of usage, so I estimated, I could have spent about the same or less by about $2,000 by buying two Macs: depending on configuration and models.
    So there's my personal experience and opinion, of course.  I currently have a Linux (for testing), Windows (wife uses it for gaming), and MBP at home.

  • Number of Records Loaded for 2LIS_02_HDR much higher than expected

    Hi, I just did a setup for 2LIS_02_HDR and in table EKKO has 1.2 million and in bw it looks like it is loading well over 6 million right now.  Is this because the HDR collects up detail information for header aggregation?  Even with that I don't expect 6 million records.
    Any ideas?  I'm fairly certain I put in all the right parameters in my setup load!  Any way to check?
    thanks!

    >
    Kenneth Murray wrote:
    > Hi, I just did a setup for 2LIS_02_HDR and in table EKKO has 1.2 million and in bw it looks like it is loading well over 6 million right now.  Is this because the HDR collects up detail information for header aggregation?  Even with that I don't expect 6 million records.
    >
    > Any ideas?  I'm fairly certain I put in all the right parameters in my setup load!  Any way to check?
    >
    > thanks!
    Hi,
    please check following :
    1. setup most not be filled repeatdly.... in case if its filled multiple times it wil give u higher no. of records than expected. Kindly check in number of entries in table "MC11VA0HDRSETUP".
    2. If records are higher than expected than please delete data for application 02 using tcode LBWG and refill it.
    Thanks
    Dipika

  • Large iCloud backup size for some apps

    Was poking around trying to get my backup down to size and noticed a few apps are major offenders:
    Facebook - 28 MB
    Words for Friends - 3.6 MB
    Yelp  8.7 MB
    NYC Mate - 68.3 MB
    I'm not a programmer but it seems to me the only thing that should be getting backed up is perhaps my login credentials.   This shouldn't be an enormous file that gets uploaded each night.   One of those apps NYC Mate doesn't even have a login, so I wonder what it's sending to the cloud.
    So, this is more of a curious gripe than a complaint.    Should we be telling app developers to slim down what gets backed up each night in the interest of preserving bandwidth?   Or is this a non-issue?

    This needs to be addressed because you will not be able to use an incomplete backup.  Not being able to back up to iCloud can be caused by a corrupt existing backup that needs to be deleted, or by data on your device that is causing the backup to fail.  To troubleshoot these, try deleting your last iCloud backup (if you have one) by turning off iCloud Backup in Settings>iCloud>Storage & Backup, then tap Manage Storage, tap your device under Backups, then tap Delete Backup.  Then go back and turn iCloud Backup back on and try backing up again.
    If it still won't back up, you may have an app or something in your camera roll that is causing the backup to fail.  To locate which one, go to Settings>iCloud>Storage & Backup>Manage Storage, tap the name of your device under Backups, under Backup Options tap Show All Apps, then turn them all to Off (including camera roll) and try backing up again.  If the backup is successful, then the camera roll and/or one of your apps is causing the backup to fail and you'll have to located by process of elimination. Turn the camera roll On and try backing up again.  If it succeeds, turn some of your apps to On and try backing up again.  If it succeeds again, turn some more apps to On then try again; repeat this process until it fails.  Eventually you'll be able to locate the problem app and exclude it from your backup.

Maybe you are looking for