Can rollback segments span one datafile like data segments

1.Can rollback segments span one datafile like data segments?
For e.g we have undo tablespace with 2 data files
We have one active transaction in rbs01,now when rollback segment grows and extents are allocated to it ,if all the extents will be allocated to one data file or it can be allocated to any of the two data file.
2.Can we set the transaction to a particular rollback segment when undo_management parameter is set to AUTO?

1.Can rollback segments span one datafile like data
segments?
For e.g we have undo tablespace with 2 data files
We have one active transaction in rbs01,now when
rollback segment grows and extents are allocated to
it ,if all the extents will be allocated to one data
file or it can be allocated to any of the two data
file.I don't think so. E.g. if you have a long transaction, you will need to create a larger RB segment and allocate this segment to be used. That's why you should be using automatic undo management as opposed to manual rollback segments.
2.Can we set the transaction to a particular rollback
segment when undo_management parameter is set to AUTO?No, when you use automatic undo management, you create one tablespace for undo management. THere is no concept of individual rollback segments.

Similar Messages

  • A header data can have more than one lie item data !

    How can a header data have more than one line item data ?

    Hi,
    header table will have only main data where as the item data will have material delivery date other things based on the availabilty and committement
    http://help.sap.com/saphelp_srm30/helpdata/en/38/4cc5376848616ae10000009b38f889/content.htm
    Regards
    Shiva

  • I bought a 8Gb IPod Touch. Now I want to upgrade to a 32GB. I am going to sell my current IPod to a GameStop and am going to buy the brand new one at Wal-Mart. Is their a way that I can get my new one EXACTLY like the old one?

    I mean exactly the same. Like down to the last detail!

    Connect theold iPod to your computer for the last time and syn it. A sync includes a backup
    Then connect the new iPod to the computer and restore from that backup. Make sure that all the apps are in the iTunes library as well as music and other things since synced items are not in the backup.

  • Can't print off my statements like before...have to print one page at a time instead of whole statement...what gives?  did up dates ...updates no good?

    Can't print off my statements like I did before...have to print one page at a time now...what happened?   never had proble  before....I did an update that they said was available...did that cause the problem...Apple???

    Hi Charlott...
    Open System Preferences > Print & Scan then select the Print tab.
    Click:  Open Print Queue...
    Delete all documents in the queue
    Restart your Mac, turn off the printer then turn it back on then try printing.
    Not sure which update you are referring to. If you have Lion installed and updated to v10.7.3, I doubt that had any effect on printing.
    BTW... when you post, please tell us which Mac OS X you have installed. Thanks!  

  • How to online datafile of rollback segment of NO archive log available

    I set offline datafile of rool back segement and rename it
    but when I try to online , get error to recover
    I try to recover but unfortunately all archive log was deleted ( kind of cron job in unix aotu delete these file)
    Pls advice how can I set this data file online without the archive log ( while databse still up and running) Oracle version is 8i not possible to drop datafile by sql.
    in roll back segment I have 3 data files as below and the rb04.dbf is offline
    usr/Systems/1354RM_1_7.1_Master/databases/dbsnml/data/rbs01.dbf
    /usr/Systems/1354RM_1_7.1_Master/databases/dbsnml/data/rbs03.dbf
    /usr/Systems/1354RM_1_7.1_Master/databases/dbsnml/data/rbs04.dbf
    sequence of what I did is below:
    SQL> alter database datafile '/usr/Systems/1354RM_1/databases/dbsnml/data/rbs04.dbf' offline;
    Database altered.
    SQL> alter tablespace RBS rename datafile '/usr/Systems/1354RM_1/databases/dbsnml/data/rbs04.dbf' to '/usr/Systems/1354RM_1_7.1_Master/databases/dbsnml/data/rbs04.dbf';
    Tablespace altered.
    SQL> alter database datafile '/usr/Systems/1354RM_1_7.1_Master/databases/dbsnml/data/rbs04.dbf' online;
    alter database datafile '/usr/Systems/1354RM_1_7.1_Master/databases/dbsnml/data/rbs04.dbf' online
    ERROR at line 1:
    ORA-01113: file 13 needs media recovery
    ORA-01110: data file 13:
    '/usr/Systems/1354RM_1_7.1_Master/databases/dbsnml/data/rbs04.dbf'
    SQL> recover datafile '/usr/Systems/1354RM_1_7.1_Master/databases/dbsnml/data/rbs04.dbf';
    ORA-00279: change 71449081 generated at 12/23/2008 20:18:05 needed for thread 1
    ORA-00289: suggestion :
    /usr/Systems/1354RM_1_7.1_Master/OSRES/data/warm_repl/WarmArchive/arch_1_455922.
    arc
    ORA-00280: change 71449081 for thread 1 is in sequence #455922
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00308: cannot open archived log
    '/usr/Systems/1354RM_1_7.1_Master/OSRES/data/warm_repl/WarmArchive/arch_1_455922
    .arc'
    ORA-27037: unable to obtain file status
    HP-UX Error: 2: No such file or directory
    Additional information: 3

    SQL> alter tablespace RBS rename datafile '/usr/Systems/1354RM_1/databases/dbsnml/data/rbs04.dbf' to '/usr/Systems/1354RM_1_7.1_Master/databases/dbsnml/data/rbs04.dbf';Did you rename the file at OS level after you issued above command? Oracle will not rename the file at OS level.
    Other than that, if you plan to change rollback segment tablespace, better create a new one and create new rollback segment in new tablespace and drop the old one.

  • Datafile containing rollback segment crashed

    Hi,
    In one of our production box (oracle 8.1.7.4 and HP UX), datafile containing rollback segment crashed. To open the database, i commented rollback segment line in init file and started the db and brought the crashed datafile to offline for dropping as
    alter database datafile '/db10/rollback/rbs01.dbf' offline drop;
    and then tried to drop the tablespace containing that datafile but it threw an error saying an active rollback segment R0 is still there in the tablespace. I donot know how to drop this and create new rollback segments. Any help would be greatly appreciated.
    Thanks
    Guna

    Hi,
    Serious case. In case of a failure the instance recovery is automatic but the rollback segments are needed. Having the database open does not mean everything is OK. Just read that :
    Crash or instance recovery consists of the following steps:
    +# Rolling forward to recover data that has not been recorded in the datafiles, yet has been recorded in the online redo log, including the contents of rollback segments. This is called cache recovery.+
    +# Opening the database. Instead of waiting for all transactions to be rolled back before making the database available, Oracle allows the database to be opened as soon as cache recovery is complete. Any data that is not locked by unrecovered transactions is immediately available.+
    +# Marking all transactions system-wide that were active at the time of failure as DEAD and marking the rollback segments containing these transactions as PARTLY AVAILABLE.+
    +# Rolling back dead transactions as part of SMON recovery. This is called transaction recovery.+
    +# Resolving any pending distributed transactions undergoing a two-phase commit at the time of the instance failure.+
    +# As new transactions encounter rows locked by dead transactions, they can automatically roll back the dead transaction to release the locks. If you are using Fast-Start Recovery, just the data block is immediately rolled back, as opposed to the entire transaction.+
    What did you do exactly after the crash ? Can you post commands/output + last 50-100 lines of your alert.log ?
    Best regards
    Phil

  • Taking rollback segment and datafile offline caused application error

    One of the DBA's added a large rollback segment which caused the rman backup to abort. The rollback segment was taking offline and it's datafile was taken offline, all went normally no errors. An Application started gettting errors the database and application were taking down and up, no errors on either but the problem was still there. The rbs datafile and RBS were placed back online and the application worked properly. It looks as if Oracle let us take the RBS and datafile offline with active segments in the RBS is this possible?? If so it means you can pull the rug out from under Oracle and it doesn't even complain

    Pls check any transactions written in application level,
    explicitly assigned to the RBs which was taken offline.

  • Can i use one datafile from different database to my database ?

    hi,
    i copied one datafile from development server to my database ? how can i use this datafile
    can i re-create controlfile , please suggest?
    Edited by: 819136 on Jan 12, 2011 2:45 AM

    I have create the controlfile please find the below details
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area 612368384 bytes
    Fixed Size 1298160 bytes
    Variable Size 255852816 bytes
    Database Buffers 348127232 bytes
    Redo Buffers 7090176 bytes
    SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL" RESETLOGS ARCHIVELOG
    2 MAXLOGFILES 5
    3 MAXLOGMEMBERS 3
    4 MAXDATAFILES 14
    5 MAXINSTANCES 1
    6 MAXLOGHISTORY 226
    7 LOGFILE
    8 GROUP 1 'E:\ORACLE\ORADATA\ORCL\REDO01.LOG' SIZE 100M,
    9 GROUP 2 'E:\ORACLE\ORADATA\ORCL\REDO02.LOG' SIZE 100M,
    10 GROUP 3 'E:\ORACLE\ORADATA\ORCL\REDO03.LOG' SIZE 100M
    11 DATAFILE
    12 'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF',
    13 'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF',
    14 'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF',
    15 'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF',
    16 'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF',
    17 *'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\TEST01.DBF'*
    18 CHARACTER SET WE8MSWIN1252;
    CREATE CONTROLFILE REUSE DATABASE "ORCL" RESETLOGS ARCHIVELOG
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01159: file is not from same database as previous files - wrong database id
    ORA-01110: data file 43: 'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\TEST01.DBF'
    SQL>
    SQL> ALTER DATABASE OPEN RESETLOGS;
    ALTER DATABASE OPEN RESETLOGS
    ERROR at line 1:
    ORA-01507: database not mounted

  • How to recover data if one datafile was lost

    if i have a tablespace with 5 datafiles 9i or 10g...
    it's a fictional scenario :)
    one was lost during db start up
    and other 4 was still thre
    if no backup avail for restore and no archivelog for recreating the datafile
    how do i recovery data in this tablesapce ??
    thanks in advance!!
    br/ricky

    i know it's against my own statements
    just saying that i'm lazy , and don't want to write those PL/SQL to recovery the data
    alright , here is the story of why i asked this :
    Data source ------- Regional DB ------- Global DB----people
    i'm manaing regional DB which fetchs data from it's source
    and global db fetch's some key data from regional every hour
    so if one datafile in regional db was broken ,
    i don't really care about the data , most of them was already in global db ,
    and people only views report from global db
    and i can just as easy get the lost data from data source ( keeps 3 days )
    so basically what i care most is let the tables back to work ASAP ,
    and not those historical data , it does not matter that much , i only keep 2 weeks of them anyway
    it might appear strange to many DBA that protect the data as treasure....
    as a second thought , this is a somewhat silly question ;)
    thanks anyway ...

  • Can one Datafile be used to create 2 tablespaces

    Can i use one datafile to create 2 tablespace.
    Acutally i am creating new tablespace , i want to use existing datafile already used by one tablespace, but it almost empty..
    Need suggestions?

    Data file is phisical and tablespace is logical. A tablespace can have one or more data files but one datafile can be part of single tablespace only.
    In your case the existing tablespace can be resized and with that space you can create a new tablespace with a new datafile

  • One sytem rollback segment though AUM

    Hello guys,
    i know from oracle documentation and experience that there exists one rollback segment in system until the initial installation... but why?
    Why can oracle not use the undo tablespace for this rollback segment if i use AUM? Can i delete this one or is it necessary after the installation too?
    Maybe someone of you has an explanation for that.
    Thanks and Regards
    Stefan

    Hi Dim,
    no... if you have a closer look... you will see one rollback segment in system ... though if you are using Automatic Undo Mangagment (UNDO Tablespace).
    As i see in your profile... you are german too... have a closer look at this document:
    -> http://www.ordix.de/ORDIXNews/4_2002/db_2.html
    Auch im automatischen Modus des UNDO Managements befindet sich im SYSTEM Tablespace ein Rollback Segment, welches beim Erstellen der Datenbank erzeugt wirdThere is described that also one segment exists (always!) ... but why?
    Regards
    Stefan

  • Can not create Rollback segment

    Hi,
    in 8i on Win 2003
    unfortunately I have dropped rollback tablespace. Now when creating I receive ORA-01552 :
    SQL> CREATE PUBLIC ROLLBACK SEGMENT "RBS1"
      2      TABLESPACE "RBS"
      3      STORAGE ( INITIAL 204k NEXT 10K MINEXTENTS 2 MAXEXTENTS
      4      32);
    CREATE PUBLIC ROLLBACK SEGMENT "RBS1"
    ERROR at line 1:
    ORA-01552: cannot use system rollback segment for non-system tablespace 'RBS'Any solution ?
    Thank you.

    @Satish,
    DRSYS is one of the default tablespaces which used to come with the DBCA ,
    http://download-west.oracle.com/docs/cd/A87860_01/doc/paraserv.817/a76934/chap1.htm#1014437
    @OP,
    Firrst thing is that you shouldn't create any segment , rollback or other in any system alike tablespace like DRSYS. You should create a seperate tablespace in which you should create the segments. As Satish asked already, there shouldn't be any problems as such but only the expectation of 1555 error due to the improper sizing of the rollback segments. But this is just a thought, it would be better if you explain your doubt(s) .
    HTH
    Aman....

  • How can I reset my Mac to default settings? Or how can I reset it to a prior date? My Mac has a virus and I would like to get rid of it. I would appreciate your help concerning this matter.

    How can I reset my Mac to default settings? Or how can I reset it to a prior date? My Mac has a virus and I would like to get rid of it. I would appreciate your help concerning this matter.

    To restore it follow these instructions: What to do before selling or giving away your Mac.
    Before you do the above check out the following;
    Helpful Links Regarding Malware Problems
    If you are having an immediate problem with ads popping up see The Safe Mac » Adware Removal Guide, AdwareMedic, or Remove unwanted adware that displays pop-up ads and graphics on your Mac - Apple Support.
    Open Safari, select Preferences from the Safari menu. Click on Extensions icon in the toolbar. Disable all Extensions. If this stops your problem, then re-enable them one by one until the problem returns. Now remove that extension as it is causing the problem.
    The following comes from user stevejobsfan0123. I have made minor changes to adapt to this presentation.
    Fix Some Browser Pop-ups That Take Over Safari.
    Common pop-ups include a message saying the government has seized your computer and you must pay to have it released (often called "Moneypak"), or a phony message saying that your computer has been infected, and you need to call a tech support number (sometimes claiming to be Apple) to get it resolved. First, understand that these pop-ups are not caused by a virus and your computer has not been affected. This "hijack" is limited to your web browser. Also understand that these messages are scams, so do not pay any money, call the listed number, or provide any personal information. This article will outline the solution to dismiss the pop-up.
    Quit Safari
    Usually, these pop-ups will not go away by either clicking "OK" or "Cancel." Furthermore, several menus in the menu bar may become disabled and show in gray, including the option to quit Safari. You will likely have to force quit Safari. To do this, press Command + option + esc, select Safari, and press Force Quit.
    Relaunch Safari
    If you relaunch Safari, the page will reopen. To prevent this from happening, hold down the 'Shift' key while opening Safari. This will prevent windows from the last time Safari was running from reopening.
    This will not work in all cases. The shift key must be held at the right time, and in some cases, even if done correctly, the window reappears. In these circumstances, after force quitting Safari, turn off Wi-Fi or disconnect Ethernet, depending on how you connect to the Internet. Then relaunch Safari normally. It will try to reload the malicious webpage, but without a connection, it won't be able to. Navigate away from that page by entering a different URL, i.e. www.apple.com, and trying to load it. Now you can reconnect to the Internet, and the page you entered will appear rather than the malicious one.

  • Using multiple desktops with a 4 finger swipe on a Mac Book Pro running Lion- is there a way that I can allow Safari open on several but not all??  Looks like I can set it for one but not others.  All, one, or nothing

    Using multiple desktops with a 4 finger swipe on a Mac Book Pro running Lion- is there a way that I can allow Safari open on several but not all??  Looks like I can set it for one but not others.  All, one, or nothing

    Hey Eric,
    Thanks for taking the time. Unfortunately no that does not solve it. Same as swipe it will get me there and it will show separate programs spaced out. The issue I am having is that all my open word files are bunched up in a pile on top of each other. I can see the edges of each one but I want them to be separated from each other enough that I can visually identify what file is what.
    Again, thanks for trying, it is appreciated.

  • I've noticed that in the new version of Firefox that you cannot save multiple tabs at one time like the previous Firefox 3.6.or so and I wanted to know if I can find that feature again?

    I've noticed that in the new version of Firefox that you cannot save multiple tabs at one time like the previous Firefox 3.6.or so and I wanted to know if I can find that feature again?
    In the previous versions of Firefox when you went to you Bookmarks menu it gave you the options to either Bookmark This Page 'command' + 'D', Subscribe to this Page, Bookmark All Tabs 'up-arrow-key' + 'command' + 'D', and Organize Bookmarks 'up-arrow-key' + 'command' + 'B' however in the newest version of Firefox there is no Bookmark All Tabs so you can bookmark all the tabs that you have up in one window at a time. So I need to know if it is possible that the feature is now in a different place, is gone altogether, or if you can get that feature another way?
    For me personally and my work I go through hundreds of web pages a day and save around half of those so it is imperative that I be able to bookmark more then one tab at a time because I can't be bothered to bookmark every single page separately and then go through hundreds of tabs in my Unsorted bookmarks in order to sort those bookmarks. It is simple inconvenient to sort every bookmark individually that is why the previous version of Firefox with the Bookmark All Tabs button was superior in its convenience.

    Right click any tab and choose "Bookmark All Tabs".

Maybe you are looking for