ROLLBACK SEGMENT NEEDS RECOVERY AND HOW TO RESOLVE IT

제품 : ORACLE SERVER
작성날짜 : 1995-02-06
Subject :
This article discusses what it means when a rollback segment needs
recovery and how to resolve it.
OVERVIEW
This bulletin discusses why a rollback segment is the status of
"needs recovery", what the status means, and how to resolve it.
INTRODUCTION
Rollback segments can be monitored through the data dictionary view,
dba_rollback_segments. There is a status column that describes what state
the rollback segment is currently in. Normal states are either online or offline.
Occasionally, the status of "needs recovery" will appear.
This is considered to be a corrupted rollback segment.
When a rollback segment is in this state, bringing the rollback segment
offline or online either through the alter rollback segment command or
removing it from the rollback segments parameter in the init.ora usually has no effect.
UNDERSTANDING
A rollback segment falls into this status of needs recovery whenever
Oracle tries to roll back an uncommitted transaction in its transaction
table and fails.
Here are some examples of why a transaction may need to rollback:
1-A user may do a dml transaction and decides to issue rollback
2-A shutdown abort occurs and the database needs to do an instance recovery
in which case, Oracle has to roll back all uncommitted transactions.
When a rollback of a transaction occurs, undo must be applied to the
data block the modified row/s are in. If for whatever reason, that data
block is unavailable, the undo cannot be applied. The result is a
'corrupted' rollback segment with the status of needs recovery.
What could be some reasons a datablock is unaccessible for undo?
1-If a tablespace or a datafile is offline or missing.
2-If the object the datablock belongs to is corrupted.
3-If the datablock that is corrupt is actually in the rollback segment
itself rather than the object.
HOW TO RESOLVE IT
1-MAKE sure that all tablespaces are online and all datafiles are
online. This can be checked through dba_data_files under the
status column. For tablespaces, look in dba_tablespaces.
If that still does not resolve the problem then
2-PUT the following in the init.ora-
event = "10015 trace name context forever, level 10"
Setting this event will generate a trace file that will reveal the
necessary information about the transaction Oracle is trying to roll
back and mostimportantly, what object Oracle is trying to apply
the undo to.
3-TAKE the corrupted rollback segment out of the rollback_segments parameter in the init.ora
4-SHUTDOWN the database (if normal does not work, immediate, if that does
not work, abort) and bring it back up.
Note: An ora-1545 may be encountered, or other errors, that is ok.
5-CHECK in the directory that is specified by the user_dump_dest parameter
(in the init.ora or show parameter command) for a trace file that was
generated at startup time.
6-IN the trace file, there should be a message similiar to-
error recovery tx(#,#) object #.
TX(#,#) refers to transaction information.
The object # is the same as the object_id in sys.dba_objects.
7-USE the following query to find out what object Oracle is trying to
perform recovery on.
select owner, object_name, object_type, status
from dba_objects where object_id = <object #>;
8-THIS object must be dropped so the undo can be released. An export or
relying on a backup may be necessary to restore the object after the corrupted
rollback segment goes away.
9-AFTER dropping the object, put the rollback segment back in the init.ora
parameter rollback_segments, removed the event, and shutdown and startup
the database.
In most cases, the above steps will resolve the problematic rollback segment.
If this still does not resolve the problem, it may be likely that the corruption is
in the actual rollback segment.
At this point, if the problem has not been resolved, please contact
customer support.

Yes we were having the performance issues when it is getting locked? in this what i want to know
why it happens suddenly?
or what package this piece of code is calling?
or is there any possiblity of system will degrade the performance like sys user etc...?
where exactly i found the root cause for further analysis?
so that next time onwards if particular objects is locking we come to know why it happens is there any logical false or how do we eliminate this issue last time?
coz in our environment sometimes most of lockings are from the same table?
pls let me know where i have to concentrate for debug and how to troubloshoot and reslove this
sorry for the inconvience.. i m expecting the answer from here. if anybody wants some more info i ll let him know.
as of till now i got some docs i start to read this.
Regards
M.Murali..
Note: will system/sys degrade the performance ?if so how ?

Similar Messages

  • Oracle 9i - Rollback Segment Needs Recovery

    I have been noticing for a few days that my UNDO tablespace has been growing in size for no apparent reason. My datafiles have only increased by 400 Meg over last 4 days, but UNDO tablespace has grown from 100 Meg - 5.6 Gig....
    I decided to create a new UNDO tablespace and drop the old one.....
    I created a new tablespace, changed the UNDO configuration to point to new tablespace and bounced the instance. The instance came back up fine, using the new UNDO tablespace....I then went to take the old tablespace offline and drop it....It went offline fine, but when I went to remove it, I received an Oracle error saying tablespaces was using rollback segment _SYSSMU24$.....
    I looked in the alert log and I'm getting a message:
    SMON: about to recover undo segment 24
    SMON: mark undo segment 24 as needs recovery
    When I query the dba_rollback_segs table, it shows that all rollback segments prior to _SYSSMU24$ are online, 24 & 25 are listed as NEEDS RECOVERY, and all others below that are offline....
    Any help on resolving this issue would be appreciated....

    Metalink overrides any thing said, adviced, or written in this forum, if you have already opened a Service Request, as suggested by Daniel Morgan.
    Just in case this may be helpful to you or others facing a similar situation, I suggest you to check this case Re: Error while Droping Undo Tablespace.
    Make sure you have a full useful database backup as well as the required archive log files.
    ~ Madrid

  • HT4539 "this device is no longer eligible for creating a free icloud account" what that mean and how to resolve this problem

    "this device is no longer eligible for creating a free icloud account" what that mean and how to resolve this problem

    Guess we're stucked and live with it. I hate this policy of limiting accounts to use on a device but the good thing is I just logged in using my account and asked my daughter what are the apps and music she wanted to download on the device. After we load everything she needs, I just deleted my account in the device and disassociated it from my iCloud account. It's still works as intended but the only caveat is she cannot use the find my ipad application.

  • Updating iTunes 12.1 and get error message "The procedure entry point CMBlockBufferCopyDataBytes could not be located in the dynamic link library CoreMedia.dll - what went wrong and how to resolve this?

    Updating iTunes 12.1 and get error message "The procedure entry point CMBlockBufferCopyDataBytes could not be located in the dynamic link library CoreMedia.dll". What went wrong and how to resolve this?

    Entry point errors can often be fixed by deleting the offending dll, then repairing the component it is part of.
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    If the advice above doesn't resolve things you could try this alternate version:
    iTunes 12.1.0.71 for Windows (64-bit - for older video cards) - itunes64setup.exe (2015-01-28)
    which is a 64-bit installer for the 32-bit version of the core application, similar to previous 64-bit releases.
    Or roll back to the previous build:
    iTunes 12.0.1.26 for Windows (32-bit) - iTunesSetup.exe (2014-10-16)
    iTunes 12.0.1.26 for Windows (64-bit) - iTunes64Setup.exe (2014-10-16)
    tt2

  • What is hp laserjet MFP1120n 'scanner error 14' error and how to resolve it?

    Hi, I've multifunction network priter MFP1120n. it is now displaying error 'scanner error 14' and not accepting scans and xerox also. Please suggest me what is this problem related to and how to resolve it.
    Regards,
    Ajay

    Hi ajaythamke, 
    This is a commercial line product. For the best answer to your questions you will need to repost your question to the following links. 
    http://h30499.www3.hp.com/t5/Business-Support-Forums/ct-p/business-support 
    http://h30499.www3.hp.com/t5/Printers-LaserJet/bd-p/bsc-413 
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"

  • Safari and calendar won't open due to 'calendar persistence plug in' problem.  Anyone know what this means and how to resolve it please?

    Safari and calendar won't open due to 'calendar persistence plug- in problems'.  Does anyone know what this means and how to resolve it please?
    mac book pro with Mavericks 10.9.5

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    For this step, the title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter the name of the crashed application or process. For example, if iTunes crashed, you would enter "iTunes" (without the quotes.)
    Each message in the log begins with the date and time when it was entered. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, select
              DIAGNOSTIC AND USAGE INFORMATION ▹ User Diagnostic Reports
    (not Diagnostic and Usage Messages) from the log list on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of crash reports. The name of each report starts with the name of the process, and ends with ".crash". Select the most recent report related to the process in question. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.
    I know the report is long, maybe several hundred lines. Please post all of it anyway.
    If you don't see any reports listed, but you know there was a crash, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

  • I recently installed Acrobat Pro X on my Mac. I initially accepted the terms of agreement, but then every few seconds the same prompted window for the terms of agreement keeps popping up. Can anyone explain why this is happening, and how to resolve?

    I recently installed Acrobat Pro X on my Mac. I initially accepted the terms of agreement, but then every few seconds the same prompted window for the terms of agreement keeps popping up. Can anyone explain why this is happening, and how to resolve?

    Have you tried reinstalling the original drive? Same symptoms with it?

  • My bank card will no longer link to my billing information when it has previously worked; I'd like to know why this is happening and how to resolve it

    My bank card will no longer link to my billing information when it has previously worked; I'd like to know why this is happening and how to resolve it

    Do you mean that it's being declined, that you are getting an error message, ... ?
    If it's a debit card then I don't think that they are still accepted as a valid payment method - they are not listed on this page and there have been a number of posts recently about them being declined
    If it is a credit card then is it registered to exactly the same name and address (including format and spacing etc) that you have on your iTunes account, it was issued by a bank in your country and you are currently in that country ? If it is then you could check with the card issuer to see if it's them that are declining it, and if not then try contacting iTunes support and see if they know why it's being declined : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • I am facing an issue " Denied connection per minute from one ip address" why this error occur and how to resolve it? is it really harmful for my TMG Server or not??

    I am facing an issue " Denied connection per minute from one ip address" why this error occur and how to resolve it? is it really harmful for my TMG Server or not??
    Error Description:
    The number of denied connections from the source IP address 10.0.0.X exceeded the configured limit. This may indicate that the host is infected or is attempting an attack on the Forefront TMG computer. 
    electrifying

    Hi,
    this may be a false/positive log record.
    First check the services and applications on the effecting machine (NETSTAT -ANO) to see which connections the machine has established or tries to establish.
    Check the machine against viruses and spyware.
    if you don't find any viruses / spyware or "mysterious" connections, create a connection exception limit in the flood mitigation settings on your TMG Server:
    http://www.isaserver.org/articles-tutorials/configuration-security/TMG-Firewall-Flood-Mitigation-Part1.html
    regards Marc Grote aka Jens Baier - www.it-training-grote.de - www.forefront-tmg.de - www.galileocomputing.de/3276?GPP=MarcGrote

  • Trouble uploading to shootproof, keep getting an error that says "internal error, name not unique, color" any idea what this is and how to resolve it?

    trouble uploading to shootproof, keep getting an error that says "internal error, name not unique, color" any idea what this is and how to resolve it?

    Note that you should be cautious when you get the 'untrusted' error message and that you should never create a permanent exception in cases like this without investigating the cause.
    If you have created a permanent exception then best is to remove it in the Server tab in the Certificate Manager.
    *Tools > Options > Advanced > Certificates/Encryption: View Certificates

  • While doing the backup via iTune, my contacts in iPhone AND iPad have been completely wiped out. They are still all available on my Address Book on my Mac. Any idea what happened and how to resolve this ?

    While doing the backup via iTune, my contacts in iPhone AND iPad have been completely wiped out. They are still all available on my Address Book on my Mac. Any idea what happened and how to resolve this ?

    Install ClamXav and run a scan with that. It should pick up any trojans.   
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101

  • When I startup Itunes I get "An Unknown Error Occurred -42110" Message.  Can you tell me what is wrong and how to resolve?

    When I startup Itunes I get "An Unknown Error Occurred -42110" Message.  Can you tell me what is wrong and how to resolve?

    Try the following user tip:
    iTunes for Windows 11.0.2.25 and 11.0.2.26: "Unknown error -42110" messages when launching iTunes

  • My speaker in iphone 4s is not working from yesterday ..it happened suddenly while listening to songs....do anyone had this pblm and how u resolved it?

    my speaker in iphone 4s is not working from yesterday ..it happened suddenly while listening to songs....do anyone had this pblm and how u resolved it?

    I got this problem solved and just want to let others know what it was.
    I followed ewdel1's advice and brought my phone in to have it looked at and sure enough, was told that this is a problem others have had and it was due to a faulty integrated circuit.  Luckily, I was able to take this in to be looked at when I did because my 1 year warranty was about to expire in a week.
    Apple replaced my 4S with a "new" phone.  The replacement looks and works good as new, so happy I didn't have to go through a hassle and the replacement was very straightforward.

  • I have mac book pro , in my memory lot of others storage is there  example 500 out of 286 9 it is in , how can i delete, i need space , and how i can view

    i have mac book pro , in my memory lot of others storage is there  example 500 out of 286  it is in others memory , how can i delete, i need space , and how i can view

    pls reply me

  • I'm on the itunes store and everything is in Russian. I need english and how do I change the language?

    I'm on the itunes store and everything is in Russian and I need english. How do I change the language back?

    On the iTunes Store homepage, look in the lower right hand horner. There should be a small round Russian flag icon. Click on it and you'll see a list of all the international stores to choose from.

Maybe you are looking for

  • New to iweb (and mac) with issues publishing basic site

    Hi All, I have used one of the templates in iweb. I have changed some of the layouts, fonts (made sure they were web fonts) etc and reasonably happy with how the site looks in iweb. I have not uploaded the site to the web, I have only saved it to a l

  • HT1320 I have a IPOD 2nd Gen and it will no longer connect to a Volvo system any ideas?

    I have a Ipod 2nd Generation which no longer connects to the inbould 59 plate Volvo any ideas

  • BPC 7.0 NW installation problem

    Hello, we are setting up BPC 7.0 NW (Rampup) and managed to install the ABAP-Server with EHP1 and the BPC-plugin. Then we installed the Dotnet-Server on another server (32 Bit) to avoid the 64to32Bit problems with IIS and DOTNET. The installation fin

  • How to run applet program in browser

    I am new in the field. I have begun with some basic programming. I wish to know how do you run a java programme in browser. I have added the html tag in the .java file. can anyone kindly let me know. thanks

  • Wait time minimum

    I would like to know which the smallest value than I can use  whith the  function wait time and wait time until ... . Is possible use values less then 1ms like microseconds. Because i have a problem in control with a board 6023E a step motor i need s