Use of backing up a single tablespace or datafile

Hello,
I am reading the RMAN manual and I'm quite familiar with backup up a tablespace or datafile, but I can find very few uses for that. Backup up a tablespace is useful for TPITR, but since that needs another instance its of very little use in most production environments. I think you cannot restore an old version of tablespace in a normal database, unless the tablespace has long been made read-only, in which case RMAN's optimizations will do the trick.
Even less use I can find for datafile backup. I have absolutely no idea what you can do with a single datafile.
Can you please clarify me on the uses of these RMAN features?
Thank you.

Dear Albi!
Think of the following scenario:
You have a very large (let's say 1 Terabyte) production database that is split into n tablespaces. This database is in archivelog mode and a full backup of the hole database would take more than 10 hours.
scenario end.
In such a scenario I think you will not take a full database backup very often. Therfore you can backup portions (tablespaces and datafiles) of your database. This will take less time then a hole DBbackup.
If you have to restore your DB then RMAN will take all the files it needs from all your backup. RMAN uses always the most actual version of your datafiles. After the restore RMAN will take the archivelogs to recover all datafiles to the most actual point in time. And that's the point why partial backups of your db are not only usefull for TSPITR.
I hope I could make clear what the operative point is with partial backups.
Yours sincerely
Florian W.

Similar Messages

  • How to merge 4-iphoto libraries on a iMac back into a single library on the same iMac. Using OS X 10.10

    How to merge 4-iphoto libraries on a iMac back into a single library on the same iMac. Using OS X 10.10

    two ways - iPhoto Library Manager - http://www.fatcatsoftware.com/iplm/ -  or Aprture
    LN

  • I would like to know if you have to back up a macbook hard drive, can I use a external hard drive that has been previously used to back up several pc 's, or is it best to have a separate external drive for the Mac?

    I would like to know if you have to back up a macbook hard drive, can I use a external hard drive that has been previously used to back up several pc 's, or is it best to have a separate external drive for the Mac?

    In the Mac side of things, backups usually come in two flavors: clones or incrementals.
    A bootable clone is a bit-for-bit copy of all essential files in the startup volume. If using the Lions, clones can be made using CarbonCopyCloner or just plain old Disk Utility. These backups represent the safest protection of your info, but take the longest to do. Recovery is an inverse process: you copy the clone back into the internal drive.
    Incremental backups start with a complete backup of the startup volume and only copy whatever changed from the previous run. OS X includes the fully integrated Time Machine backup utility to do this. It is extremely easy to do and takes the least amount of time. Recovery is another matter altogether since you have to start with a freshly installed instance of the OS and have to apply all intervening backups to bring the result to the latest saved version.
    As for where the backup takes place, the recommended media is an external dedicated drive or drives connected via the fastest interface available on your Mac: Thunderbolt, USB3, Firewire, or USB2. Network-based backups, wired or wireless, are attractive but may not offer the same performance and hence take longer. Also important to note that the entire drive need not be completely dedicated to a single backup. The Mac's EFI firmware infrastructure allows for an unlimited number of partitions on a hard drive and each can be used for either type of backups.
    Holler if you need specifics on how to do each. This was just an executive summary.

  • Is There a Way to Run a Redo log for a Single Tablespace?

    I'm still fairly new to Oracle. I've been reading up on the architecture and I am getting the hang of it. Actually, I have 2 questions.
    1) My first question is..."Is there a way to run the redo log file...but to specify something so that it only applies to a single tablespace and it's related files?"
    So, in a situation where, for some reason, only a single dbf file has become corrupted, I only have to worry about replaying the log for those transactions that affect the tablespace associated with that file.
    2) Also, I would like to know if there is a query I can run from iSQLPlus that would allow me to view the datafiles that are associated with a tablespace.
    Thanks

    1) My first question is..."Is there a way to run the
    redo log file...but to specify something so that it
    only applies to a single tablespace and it's related
    files?"
    No You can't specify a redolog file to record the transaction entries for a particular tablespace.
    In cas if a file gets corrupted.you need to apply all the archivelogs since the last backup plus the redologs to bring back the DB to consistent state.
    >
    2) Also, I would like to know if there is a query I
    can run from iSQLPlus that would allow me to view the
    datafiles that are associated with a tablespace.Select file_name,tablespace_name from dba_data_files will give you the
    The above will give you the number of datafiles that a tablespace is made of.
    In your case you have created the tablespace iwth one datafile.
    Message was edited by:
    Maran.E

  • I have multiple profiles and want to go back to a single profile without losing data or programs that are not shared

    Hi
    I need help
    My partner has set up multiple profiles on the iMac and has not done the sharing of files and software correctly.  Therefore we have some programs that do not operate in all profiles.  I want to go back to a single profile but need to be sure I am not going to lose any data or programs in the process. 
    Can any one give me a step by step guide - I am not mac savvy.
    Thanks in advance

    Hello!
    I recently just downloaded the 'Waze' app as a backup for my Garmin. I've read a few reviews that seem to rant and rave about how good the GPS app is. It is community driven and maps are constantly being updated by users. Plus it has a few other fun stuff in it (something similar to Gasbuddy where you can owe prices on the map). But like the person above me said, there is lots of useful free GPS apps in the App Store.
    Oh and I may be wrong but I remember reading an article about Google being slower about updating its maps system--ie no turn by turn voice, which many people have had complaints about.
    Happy Searching!
    Ps - if you switch I wouldn't go to Blackberry.

  • I have Time Machine that I used to back up my old computer. It was running snow leopard. My MacBook died, so I got a new one which is running Lion.  how can I restore the data from the time capsule to my new Mac?

    I have Time Machine that I used to back up my old computer. It was running snow leopard. My MacBook died, so I got a new one which is running Lion.  how can I restore the data from the time capsule to my new Mac?

    In technical support, sometimes you have to make educated guesses. I'm sorry that you were offended.
    iTunes does prompt when it is going to erase a device, and the message is clear.
    She said in her message that she was able to successfully sync the old ipad. This indicated to me that itunes wiping the data was not an issue, because either it had been setup at the apple store (in which case it doesn't actually wipe the ipad despite saying it will*) (*based on a single case I saw), or because the itunes media folder was migrated.
    Furthermore, my solution was to tell her how to backup her ipad (by either doing it manually, or as a last resort, by deleting the corrupt backup -- that she couldn't access anyway.)
    I got that last part of the instructions from the "Taking Control of your iphone" book which I found samples of when I did a google search for "corrupted backup itunes".
    She marked this as a solution, so it worked for her.

  • For some reason, I now have to double-click on my bookmarks on my task bar. How do I change it back to a single click?

    In my bookmarks task bar, I used to have to just single click on the bookmark and it would open to that site. Now it seems that I have to double-click to get the bookmark to open. I want it back like it was - single click opens site. Please tell me how to fix this.
    Thank you!

    hello, can you try to replicate this behaviour when you launch firefox in safe mode once? if not, maybe an addon is interfering here...
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]

  • Single tablespace or full database in 10g

    Hi,
    Which is the best regarding performance...what ever it may be...when doing hot backup...which is the best in all ways..
    (a) putting single tablespace in backup mode and copying
    or
    (b) Putting total database in Backup mode and copying...
    can anybody sched some light on this..in all ways..

    The best is to stop using paleolithic backup techniques and use RMAN with Block Change Tracking.

  • No of Datafiles needed in single tablespace ?

    hi,
    i have one tablespace of size 120gb with 23 datafiles in which first 19 datafiles are size with 2gb each. and rest data files are size with around 28 gb.
    Recently i heard that by keeping more no of datafiles will affect the performance of Database . so my question is what are the advantage and disadvantage of keeping more no of
    datafiles in single tablespace and how can i merge small data files of 2 gb ?
    Regards,
    Mithun Mathew
    Oracle DBA

    After going through couple of links provied by google i made a note on this issue :
    Optimizer does not consider number of data files when selecting execution path. Also as a general rule, you do not deal with I/O performance at tablespace level. You cannot stripe the contents of a tablespace across multiple datafiles. This need to be dealt with at a lower level (like inside Oracle ASM).
    Advantages: (More Datafiles)
    1.By using more than one datafile per tablespace, you can spread data over many different disks to distribute the I/O load and improve performance.
    2.Easy and faster restoration and recovery. The more datafiles for a given amount of data, some recovery scenarios will be faster due to having to restore/recover a smaller file.
    3.Less chances of encountering 2gb
    issue.(http://www.fors.com/velpuri2/Oracle%20block%20structure/2gb)
    4.Having multiple datafiles per tablespace facilitates the adoption of a uniform datafile size policy, which in turn facilitates disk load rebalancing.
    5.For file system based databases, having multiple datafiles may reduce the risk of contention for the operating system's datafile read/write locks (inode locks).
    6.If any corruption happens in a datafile, then there is less data loss chances in compare to one or less datafile.
    Disadvantages: (More Datafiles)
    1.We can not have BigFile Tablespace's advantages.
    2.Tough managebility and portability.
    3.Putting tablespace offline will offline all the datafiles, which will stop other applications/of its parts unnecessarily.
    4.More datafiles for DBWR for writting and more files for RMAN to backup.
    5.Many datafiles are opens when we online tablespace; means many file handlers for OS at kernel side.
    6.We have to carefull to create rollback segments because, never create rollback segments using multiple datafiles within a single tablespace.
    7.The more datafiles, the more time required to do checkpoints and such, because every file has to have its header updated.
    8.More entries in data dictionary, control file entries more file structs in SGA vs less or 1.
    Regards
    Girish Sharma

  • Backing up a single data file

    Hi All,
    I have run a backup to a tape which has run sucessfully. However, all datafiles have been backup except 3.
    2 of them belong to SYSAUX tablespace and 1 datafile belongs to PSAPUNDO tablespace.
    Is there any way to backup these individual datafiles onto a tape using DD ?
    Of a total of 112 datafiles, 109 are backed up sucessfully and then brbackup arbuptly ended.
    I want to know whether is there any method to backup the remaining 3 data files.
    Please let me know.
    Regards,
    Hari Kishan

    Is there any way to backup these individual datafiles onto a tape using DD ?
    Have you thought about how you are planning recovery just in case. Was this onilne/offline backup?

  • Set transaction use roll back segmet

    Hi all:
    I have lot of packages with the statement set transaction use roll back segment RBS_BIG.I am working on upgrade project and using undo tablespaces.
    Is there a quick way to grep the this statement from all the packages and remove off.Does the presence of this statement in packages of new database cause compilation errors ?
    Thanks,
    Ganesh

    Hi,
    Set init.ora parameter as follows and restart database. All SET TRANSACTION USE ROLLBACK SEGMENT statements will have no effect and ignored.
    UNDO_SUPPRESS_ERRORS=TRUE
    You may use ALTER SYSTEM rather than restart db. If your database use spfile.ora, you have to execute:
    ALTER SYSTEM SET UNDO_SUPPRESS_ERRORS=TRUE SCOPE=BOTH;
    Best regards,
    Dima

  • Set transaction use roll back

    Hi all:
    I have lot of packages with the statement set transaction use roll back segment RBS_BIG.I am working on upgrade project and using undo tablespaces.
    Is there a quick way to grep the this statement from all the packages and remove off.Does the presence of this statement in packages of new database cause compilation errors ?
    Thanks,
    Ganesh

    The set transaction use rollback segment <rbsegment> is ignored in 10g. In 9i databases this could cause errors when using automatic undo management. For your 9i databases you can suppress the errors by setting UNDO_SUPPRESS_ERRORS=true.

  • Reformatting a partitioned drive back into a single drive....need help!

    Hi all,
    I'm wanting to reformat the 60 gig hard drive on my Power book (10.3.9)
    back into a single drive. A friend installed and partitioned this 60 gig a few years ago and the first portion is only six gigs and contains the OS.Apps and other guts. I constantly run into problems of running out of space on that drive. What I would like to do is listed below. I'm hoping someone can point me to a tutorial or other concise written directions for how to accomplish this. I'm looking for some fairly concise steps as doing this type of work is not my strength and I don't want to mess it up.
    1) Back up data from all three partitioned drives on to a single external drive of some sort.
    2) Reformat the 60 gig back onto a single drive.
    3) Successfully reinstall all data back on to the 60 gig and have it function as
    exactly as before.
    Any help you could give would be greatly appreciated.
    Cheers,
    Vance

    Hi, wvd. If the data on your three partitions now totals about 50 GB as your post indicates, then after it has all been copied back onto the repartitioned, single-volume hard drive (whose formatted capacity is about 56.8 GB) there will be about 6-7 GB of free space available on that drive. That is only 1-2 GB more than the bare minimum amount of free space that should be maintained on the drive at all times. So if you anticipate a continuing accumulation of additional data in the future, you will very soon run out of space that can prudently be used, and not long after that you will begin to risk unreliable operation of your computer and the possible corruption or loss of data due to insufficient and dwindling free space on the drive.
    Therefore, it would probably be a better idea to replace the present drive with a larger one than to repartition and reuse the present drive, unless there is a significant amount of data on it now that you could conveniently store somewhere else instead. In fact if you replace the current drive with a larger one and put the old one into an external FireWire enclosure, that drive can become a secondary data storage location for data that doesn't need to be kept on your new primary drive, or it can be used to back up some or all of the data on the primary drive.

  • Having one single tablespace versus multiple tablespace?

    My database version is
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE 11.1.0.7.0 Production
    TNS for Linux: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production
    My os version is
    Linux damdat01 2.6.18-128.7.1.el5 #1 SMP Wed Aug 19 04:00:49 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
    My database is OLP system.
    My question is what are the advantages and disadvantages having one single tablespace versus multiple tablespace?
    Easy to maintain when you have single tablespace. but hard to track the IO issues.
    Any other input from any one? Please let me know.

    Billy  Verreynne  wrote:
    EdStevens wrote:
    Does the term "keeping all your eggs in one basket" mean anything ....Well, in the majority of cases, even when using multiple tablespaces they will be on the same storage array or same file system. So the "+all eggs in one basket+" goes a lot a deeper down the storage layer than just the top part where you deal with logical tablespace storage containers.
    Absolutely. Except for the bazillion microscopic solid-state switches and a layer of rust on a spinning platter, everything else is just layers of abstraction. One's thinking and frame of reference depends on what layer of abstraction one is dealing with.
    The major problem with multiple tablespace for a single application And here is where there was some 'fuzz' in the OPs question. I don't recall him specifying one TS per application. Maybe he assumed that, but I read it as one (user) TS per database.
    a) deciding the space allocation of each tablespace
    b) managing what is created in which tablespace
    This comes down do an issue of micro-managing space versus simply chucking everything into a single container and let god ASM/Oracle/LUN/driver/whatever sort them out.
    Issues like transportable tablespaces... separating your logical data into different containers... and the like? That is not really sufficient justification to me for having to micro-manage space for a 101 tablespaces. This simply creates a huge workload on the space management part of the database - that is complex and difficult to deal with. Free space from an underutilised (incorrectly sized) tabelspace cannot simply be moved and reallocated to a tablespace stressed for more space. Everything but...
    Which is why I prefer having fewer tablespaces as this means not having to micro-manage space and continually having to wave a threatening lead pipe around to make sure that applications and developers play rigidly within the large set of strict rules of how these many tablespaces are to be used.Agreed. One can go way overboard, and a lot of this discussion hinges on the OP's intent, as I mentioned above -- one TS per ... what? My default position is one TS per application schema. Normal human users all default to one USERS ts, but don't have any quota because they don't have any reason to create objects.

  • Move single tablespace

    Running Oracle 10gR2 on RHEL 4
    Just wondering if someone can give me some insight on how to move a single tablespace from PROD to TEST. We use Noetix and would like to move the Noetix tablespace from our production (PROD) environment to our test (TEST) environment. Would this be best achieved with RMAN? Datapump? Typically I refresh the entire database, but I've never moved a single tablespace from one environment to the other so this is all new to me.
    Thanks!
    Edited by: user496996 on Apr 18, 2011 9:25 AM

    You can use transporting tablespace feature
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/tspaces.htm#i1007169

Maybe you are looking for

  • How to find all JMX ports on a server?

    How to find all jmx ports on particular server (say localhost) on windows I have multiple JVM's running on my local server, and there is extensive use of JXM mbeans by the applications running on each server. So I want to connect to all these JMX ser

  • PLS CONVERT QUERY-  UPDATE to MERGE

    Hi all, Can you help me in converting this update statement into merge? I will really appreciate your help. Thanks UPDATE dm_organizations tt SET (cost_ctr_desc, cost_ctr_hier_lvl_1, cost_ctr_hier_lvl_2, cost_ctr_hier_lvl_3, cost_ctr_hier_lvl_4, cost

  • Muxer error on WLS shutdown on Solaris 8

    Hi, We're running WLS 5.1.0 (sp9) on Solaris 8 with JDK 1.2.2_07. When we shut WLS down we get the following muxer ThreadDeath errors at the end of the shutdown: Tue Oct 30 20:16:08 GMT+01:00 2001:<I> <WebLogicServer> Waiting: '20' seconds for thread

  • Creating a large catalogue with InDesign CC

    I am attempting to create a large catalogue with Adobe InDesign CC, and presume that the data-merge function is the way to do this? If i use the data merge function, will the template I create adjust to varying amounts of data within the data file -

  • WORD Cross Platform PC/MAC

    I opened a MAC Word document (created on MAC Word 2003 on a floppy diskette ), on a PC loaded with WORD 2007. I saved it (erroneously) on the PC 2007 (should have saved as). When I tried to open the diskette on MAC Word 2003 I got an error message; "