NOLOGGING with CTAS and RMAN's Incremental backup

DB Version: 10.2.0.4
OS : AIX
We use RMAN for our backup scheduled via cron.
Retention Policy : REDUNDANCY 1
Type             : Incremental On 31st of every month, in most of our schemas, we recreate lots of tables using CTAS.
Because of the size , CREATE TABLE statements take a long time. Since we run on Standard edition, we can't use PARALLELISM.
NOLOGGING is the only option to improve the performance. But we are worried about the redo not being generated for these tables and the potential loss of data in case of a crash.
Currently we take a LEVEL0 backup every wednesday and Sunday nights and LEVEL1 backup on the rest of the days.
I know that everything will be backed up on LEVEL0. But, what if 31st falls on a day where only LEVEL1 backup occurs. We'll only be safe until the next LEVEL0 comes along.
Any workarounds for this?

When you write "we need" you make an assumption not supported by the facts.
The fact is that you need to refresh the data ... you do not need to recreate the table.
This is just one better solution:
http://www.morganslibrary.org/reference/materialized_views.html
there are others too. But not knowing your version number, and you still have not really stated the business case, I can not advise which would be the best. But it is safe to say there is no way on earth I would do what you are doing based on what you've posted. For example why at the end of each day can't you copy that day's rows to a predefined table spreading the load out over all 30 days and then, at month's end truncate the current table and rename it then rename the already loaded staging table. The swap could be done in a few seconds with essentially no overhead.

Similar Messages

  • Migrating Non ASM, Non RMAN to New Server with ASM and RMAN - Possible?

    We currently have a database ( Oracle 10g R1 ) on a Sun Solaris server that is NOT using ASM or RMAN. The database is about 300GB. We are getting a new server and we want to install Oracle 10g R2 with ASM and RMAN and migrate the database.
    I have seen the documentation on migrating non ASM to an ASM server but the methods all use RMAN. Is it possible to migrate to an ASM database without using RMAN? Would datapump import/export work if I created a new database on the new server with all the same tablespaces? Or, do I have to bite the bullet, install RMAN on the old server and do the backup?
    Thanks.

    If you're not using RMAN that doesn't mean you can't use it to perform a single backup, rman is contained in every oracle RDBMS installation version 10G or higher.
    this is only a sample of how to do it
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '<file_system_path>/%U.DBF';
    --first we allocate the channel default channel.
    RMAN>RUN
    ALLOCATE CHANNEL DEFAULTCHANNEL TYPE DISK;
    SHUTDOWN IMMEDIATE;
    STARTUP MOUNT;
    BACKUP DATABASE;
    SHUTDOWN
    }then once you have it, you can do what you want.
    It should also be possible to manually restore the database from the original datafiles but it's better to follow the solution involving RMAN.
    Bye Alessandro

  • Oracle Backup End to End Automation with BRBACKUP and RMAN

    Hi,
    We are about to implement a Oracle on mySAP 2004 or 2004 i.e. either NW2004 or NW2004s. Currently we are on DB2 UDB.
    We are going to use legato for backup.
    legato networker module (I guess this is module built for BACKINT)  for SAP is too costly, so we are looking at alternatives for backup using legato without using networker module.
    We have virtual tape library (disk that emulates as tape library). we plan to keep 30 days/versions of backup there.
    Can we use BRBACKUP and RMAN to achieve end to end backup automation without using networker module by using the BRBACKUP delivered options and integrating to RMAN.
    I do see BRBACKUP options like tape_box and pipe_box. Are these will be useful to achieve this.
    Other question is do we really need to integrate with RMAN. What are the advantages.
    So far I see the advantages with RMAN are 1. incremental backups. 2. Online backups are handled more consistently than normal.
    Appreciate your information.
    Thank you,
    Ravi Gandavarapu.

    Hi Jason,
    Yes, we have SAN storage. Also thinking to use split-mirror for production.
    Do this need legato networker module. Or we can put a script without out the module also?
    >>There is one little complexity to this but if you're interested I'll explain it. <<
    Would you please explain what it is ?
    Again for my dev and qa systems we are not planning split-mirror.
    My plan is to back them up straight to VTL (disk based). Do you think using RMAN here helps (because of incremental) ?
    I was recently going through 10g features. Looks like 10g has a feature that you can merge incremental with level0. Does brbackup supports this?
    Appreciate your info.
    Ravi Gandavarapu.

  • I am trying to restore my catalog having previously done a back up to an external hard drive and subsequently an incremental backup. I am using Photoshop Elements 11 and the only option given in the restore procedure is to open a .tly file.

    I have done this but now the restore function is asking for yet another file, which i assume to be the original back up, but that is the only .tly file since the only other relevant file appears to be called catalog.buc but that is just not visible when using the restore function? How do I continue from here with this restoration of my catalog?

    Martin_Had a écrit:
    Thank you Andaleeb. I appear to have an old backup of a year ago, and a more recent full back up plus an incremental backup.
    Regrettably I don't really understand what is going on because firstly the restore does not complete its cycle so I cannot see what that backup file contains and secondly all I have read would suggest that the .tly file is the full backup and the catalog.buc file is the incremental backup. For the present, the catalog shows the photos for 2014 which makes me think I might have backed from the old back up file.
    I am minded to create another catalog and try again.
    Any views on what I can do?
    A backup (full or incremental) is a folder, not a file. It contains renamed pictures file copies as well a copies of the files and subfolders of the original catalog. The catalog.buc is a renamed copy of the database of your original catalog while the backup.tly. That backup.tly file contains the information to restore the renamed pictures where you decide, the original location or a new custom one. You can't do anything with the backup yourself, only the restore process can do the job if it finds the backup.tly file. In the case of an incremental backup, you have to tell the restore process where to find the incremental backup folder; it finds the backup.tly file in that folder and finds what is to restore there; then it asks you for the previous backup folder (in your case the full backup); you then browse to that full backup folder so that the restore process can find find the backup.tly there; the restore then deals with the rest of the files to restore.

  • Problems with SIMPANA and RMAN

    Sorry originally posted in Database General (mea culpa)
    We purchased Dell Comm Vault wth Simpana MML. We have been fighting with it trying to get it installed for a couple of months. We finally got a Simpana engineer on site and we are actually able to run sbttest successfully, but when we try to use the libobk.so to make an RMAN backup to CV disk, it fails.
    We have spent hours and hours on this (probably in the weeks now) wasted trying to get it working. We are 'supposed' to move our production to our new OEL/RAC environment in @ 3 weeks, BUT if we don't have backups running we miss that date.
    Anyone out there using Simpana? If so, did you have problems getting it working and WHAT was the magic bullet to make it work.
    Thanks
    Edited by: hndba on Jan 14, 2011 1:58 PM

    Already answered in the other thread ... this is not an Oracle issue and inappropriate in these forums. Please change the subject of both threads to "Please Ignore" and take this up with Dell and your own management.
    Thank you.

  • Restore using incremental backup with noarchivelog mode

    Hello experts,
    We are running SAP on Oracle databse(IN NOARCHIVELOG MODE) for which we are having full offline backup on every sunday and post which incremental backups on rest of the days. We have scenario to do restore db to the state till last friday's incremental backup.
    Please let us know the procedure for restoring till that point. If possible using brtools utility(which is SAP specific).
    Thank You
    Regards,
    Venkateshwar

    If you do not want to read the whole doc This is the snippet for you.
    Recovering a NOARCHIVELOG Database with Incremental Backups
    Restoring a database running in NOARCHIVELOG mode is similar to restoring a database in ARCHIVELOG mode. The main differences are:
    Only consistent backups can be used in restoring a database in NOARCHIVELOG mode.
    Media recovery is not possible because no archived redo logs exist.
    You can perform limited recovery of changes to a database running in NOARCHIVELOG mode by applying incremental backups. The incremental backups must be consistent, like all backups of a database run in NOARCHIVELOG mode, so you cannot make backups of the database when it is open.
    When you are recovering a NOARCHIVELOG database, specify the NOREDO option on the RECOVER command to indicate that RMAN should not attempt to apply archived redo logs. Otherwise, RMAN returns an error.
    To recover a NOARCHIVELOG database with incremental backups:
    After connecting to the target database and the recovery catalog, place the database in a mounted state:
    STARTUP FORCE MOUNT
    Restore and recover the database.
    For example, you can perform incomplete recovery with the following commands:
    RESTORE DATABASE
    FROM TAG "consistent_whole_backup";
    RECOVER DATABASE NOREDO;
    Open the database with the RESETLOGS option.
    For example, enter the following command:
    ALTER DATABASE OPEN RESETLOGS;

  • How to restore using increment backup after full backup restore in RMAN?

    Hi All,
    We have a files of full backup of database after turning on the Archive log.
    And after that, daily incremental backup is taken.
    Now, i want to restore the the database into a new machine using both files of full and incremental backups. Can anybody give me script for restore of full backup and after that restore of incremental backup?
    Thanks,
    Praveen.

    Praveen,
    >>
    In my case, i have 2 sets of backups. One is full backup and other is incremental backup. In order to keep the restored database upto date, i need to restore the full backup and then restore incremental backup. Now, i got any idea how to restore using full backup. My doubt is how to update the restored database with incremental backup also?
    >>
    Restore always looks for level 0 backup, not the incremental backups.
    Incremental backups comes in picture during recovery.
    During Recovery, Oracle looks for incremental backups, if exists, it will do the recovery with the incremental backups, if no incremental backups available, then, it will look for archived logs.
    Therefore, incremental backups never used during restore, they are used only during the recovery.
    Jaffar

  • RMAN level 2 backup in Oracle 10gR2

    Does RMAN in 10gR2 can only do level 0 and level 1 incremental backups now there is nothing called level 2 anymore, at least that's what the doc says.
    But I took level 0 after the upgrade on sunday and today morning the RMAN script as per schedule took a level 2 backup without any error. Does this mean RMAN still supports level 2 backups.
    Is my level 2 backup reliable or do I have to take another Level 0 just to be on the safe side, please advice.
    -Ramki
    ---Duplicate post, I didn't realize that there was an exclusive RMAN group and I posted in the database general group----------

    The level 2 were used until the version 9i. In the version 10g is only used options 0 and 1, as documentation.
    The option 0 is used for full backups (base line), and option 1 is used for incremental backups [differential (default) or cumulative].
    But the level 2 is used for compatibility with old versions and it doesn't have to generate errors.

  • Incremental Backups in Time Machine taking forever

    Greetings all,
    I have read the various posts about slow initial backups with Time Machine. I, on the other hand, had no such problem. However, now that my initial backup is complete I find it takes quite a long time for Time Machine to do its hourly thing. I mean a LONG time. The machine will sit for minutes at a time doing nothing, then copy a few kilobytes of a reported 239 MB backup. Then when it finally does complete - roughly 30 minutes later - it will sit for 10 or 15 minutes at the "Finishing backup" stage. At this rate Time Machine is running almost constantly - by the time the darnned thing finishes it's almost time to start again. It didn't do this on my G5 quad core with the same amount of data (about 850 GB). Does anyone have any ideas why this might be happening?
    Thanks for your help.

    Your Majesty!!
    Sounds like your incremental backups are quite fast!
    I have a mid 2011 iMac with SSD and 2TB HDD, and Time Machine incremental backups take anything up to 5 hours, sometimes longer.  Trivial amounts of data are usually involved, but the log reports very large numbers of files.
    One time I completed a Time Machine backup, rebooted and initiated another backup immediately with very few apps running (Console, Activity Monitor), and after several hours, the backup log said it had backed up over 800,000 files but only a very small amount of data.
    I have a case open with AppleCare since July 1st.  They have a whole lot of logs and other information being analyzed.
    You will find others who have the same unresolved problem at - https://discussions.apple.com/thread/3144862?start=0&tstart=0

  • IPad syncing with iCloud and Exchange = problems ?

    Greetings,
    I am using Apple products since 2 years ago. Everything started with an iPod Touch 64 and things grew to an iPhone4, iPad and now, an iPad 2.
    I also have a Motorola Xoom (Honeycomb 3.2 based), a Samsung Galaxy S2 and a HTC Desire Z with Android 2.3.3.
    All devices are configured to sync mails, calendar, contacts, notes and tasks with an Exchange Server. Until iOS5 and iCloud, there were no problems whatsoever. Contacts created on any device used to replicate to the others without a problem, although the iDevices (iOS based) never understood “categories”, a resource commonly used in an outlook environment to help sorting things out.
    Last week, Ibought the iPad2. Updated it and configured it to use the same Exchange Server as the other devices. Also, I chose to use iCloud.
    After that, I noticed that on a daily basis, contacts would appear without categories, first day, a few, around 5. Second day, 10 more. Third day, more 20. After the second day, I also noticed that the “display as” field (also known as “FiledAs”) was starting to show names with Last, First order. Here in Brazil we sort names as First Last. Of course, outlook, all android devices and also the iPad were all configured correctly (First, Last).
    The problem was getting bigger every day. Yesterday, 900+ of my almost 2000 contact list were mixed up, missing their categories and also had their first and last names changed in the Filed As field.
    After deleting, editing, restoring backups etc. more than once, I have finally found that the iCloud is probably the culprit.
    Changed my iPad config to keep from syncing with iCloud and configured it to backup locally.
    Deleted all accounts in all devices, deleted all data from contacts. Configured the accounts and left the devices syncing. Restored a backup. All devices synced and received the contacts.
    Surprise: problem solved. So far, no missing categories, no inverted First, Last names. Maybe if anyone find himself in the same situation, it might help.

    I have the same problem. My MacPro isn't on Lion, as I have lots of software that isn't compatible yet. But I have 10.7.2. on my MacBookPro and iOS5 on my iPhone and iPad.
    I would like to go to iCloud for those devices that are capable to run it, but I do not want to loose sync services for my MacPro which is on 10.6.8. Will iCloud and MobileMe be in sync until 30.06.2012, so I can use them in parallel, or do I have to wait until all computers are updated to Lion?

  • Incremental backup and recover with UNTIL SCN options.

    Hi there
    My question is just about internal RMAN mecanisms.
    Suppose i've cumulative method for backup with RMAN.
    Reference backup provided by Level 0 (by night)
    after that i've file001.arc, file002.arc during day
    Baclup cumulative Level 1 (by night)
    after that i've file003.arc, file004.arc, file005.arc during day
    Baclup cumulative Level 1 (by night)
    after that i've file006.arc, file007.arc, file008.arc, file009.arc, file010.arc, file011.arc during day
    Baclup cumulative Level 1 (by night)
    after that i've file012.arc, file013.arc during day
    Baclup cumulative Level 1 (by night)
    Suppose we need to recover with UNTIL SCN ... (incident can be identied by SCN #nnnnn, suppose SCN near of file008.arc).
    Is Rman use benefits of incremental, or in this case (need to recover before particular SCN) systematically start with Reference backup (Created by Incremental Level 0) and then file001.arc, file002.arc ....
    Platform:Oracle 10g
    Regards
    Den

    You recover using backup controlfile when you have lost the controlfile - should be obvious.
    You recover until cancel when, for example, you want to manually see the archive logs being applied and decide when to stop recovering (maybe you have lost the archive log backups and want it to stop when you don't have any more left to apply).

  • Restoring the DB with Online and incremental backup's

    Dear Experts,
    We are planning for a backup strategy on our Production system as below using BRTOOLS with RMAN - " Weekly Full Online Backup and Incremental backup on the remaining days'
    We need to test this before implementing it on Production system, could someone please help me with the step-step procedure/documentation for restoring the DB using "an online backup, incremental backup's and redo logs " and prerequisites if any??
    Many Thanks !!
    Regards,
    Sri

    Hi Sri,
    please have a look at the following
    http://help.sap.com/saphelp_nw70/helpdata/en/0d/d3077b4a0c11d182b80000e829fbfe/content.htm
    https://help.sap.com/saphelp_nwmobile711/helpdata/en/47/18cb034de863efe10000000a114a6b/content.htm
    Best Regards
    Marius

  • RMAN Backup with ASM and Standby in place

    Hi All,
    We are planning to upgrade our database from 10.2.0.2 to 10.2.0.3. We have ASM as storage on primary and phisical standby is in place.
    I want to make a cut of point for backup, i.e if I restore till that poit on primary standby should continue to work. I need not create standby.
    We are using rman for backup and primary db uses asm for data,archive and redolog storage.
    I have a online complete db backup at 12:00PM. At say 6:00pm i take primary down and apply all archives on standby and cancel recovery on standby along with taking it down. On primary i mount db and take controlfile backup and all archive log backup using rman.
    Now i continue with upgrade and many more changes on primary. I will not touch standby. We decide to revertback at 10pm on primary. If I wan to return back to 6:00pm state on primary and standby.
    I believe I will restore controlfile backup taken at 6:00pm with db in mount phase. Restore dbfiles from online backup and recover using archives.
    My question is do i need to open with resetlogs? Then I will lose my standby which was up to date at 6:00pm. Can I not backup redofiles at 6:00pm with db in mount phase and i restore them then i need not open with reset logs and my stnadby will continue from that point.
    Please guide me..Is there way to backup redologs when db is in mount phase and using asm for storage using rman.

    There are quite a bunch of steps involved and you need to do some documentation reading.
    Do you plan to create the test database on the same machine or different RAC system?
    Which version of Oracle are you using? What OS?
    There is plenty of information on the web if you search for "duplicate database RAC ASM". Did you try?

  • Restore incremental backup with rman

    Dear Friends
    can u tell me how to restore an incremental backup with rman? i backup my rman with statement below :
    1. backup full database format '/oracle/PRD/sapbackup/%U';
    the results was :
    -rw-r----- 1 oraprd dba 19006996480 Jun 10 12:08 0ojiit4n_1_1
    -rw-r----- 1 oraprd dba 12746752 Jun 10 12:08 0pjiiu6b_1_1
    2. after that i do incremental backup :
    backup incremental level 1 cumulative database format '/oracle/PRD/sapbackup/%U';
    the results was :
    -rw-r----- 1 oraprd dba 173400064 Jun 10 13:44 0ujij2k0_1_1
    -rw-r----- 1 oraprd dba 12746752 Jun 10 13:44 0vjij3qc_1_1
    what statement i need to run for restore the incremental backup?

    run{
    ALLOCATE CHANNEL c1 DEVICE TYPE DISK;
    RESTORE DATABASE;
    RECOVER DATABASE;
    The above command will restore your database from the last good RMAN backup. Your last backup is incremental level backup as you posted. The above command will fullfill your requirements

  • Rman and block tracking changes (incremental backups)

    Hi all,
    i am using rman to backup my production database. i want to use the block tracking option in order to do incremental backups faster.
    how can i backup the tracking file?
    thanx

    Hi,
    Do we need to take backup of the tracking file?
    I was wondering how the backup of a tracking file will help us. If we lost some of our hard disk and then we restore an old tracking file, then how oracle will be able to catch up the missing changes?
    Tracking file is useful only for a very quick locating the datablocks that were changed after the last backup. It doesn't help us in during restore process. I think we will need a full backup of the database, if we loose the tracking file.
    HTH
    Regards,
    Badri.

Maybe you are looking for