Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: How can i drop a rollback segment??

Re: How can i drop a rollback segment??

From: Yass Khogaly <ykhogaly_at_us.oracle.com>
Date: Sat, 20 Nov 1999 09:01:19 -0800
Message-ID: <816gh0$2be$1@inet16.us.oracle.com>


HOW TO RESOLVE IT



  1-MAKE sure that all tablespaces are online and all datafiles are     online. This can be checked through v$datafile, under the     status column. For tablespaces associated with the datafiles,     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 most importantly, what object Oracle is trying to apply
          the undo to.

  3-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. If the database

                cannot startup, contact customer support at this point.

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

  5-IN the trace file, there should be a message similar to-     error recovery tx(#,#) object #.

          TX(#,#) refers to transaction information.
          The object # is the same as the object_id in sys.dba_objects.

  6-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 #>;

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

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

"The Views expressed here are my own and not necessarily those of Oracle Corporation"

kk <hsy1106_at_kcg.url.com.tw> wrote in message news:01bf3341$0f554300$220410a3_at_default...
> the rollback segment status is "need recover"
> but i don`t know how to recover a rollback segment
> and i can`t drop it either
> how can i do
> if i don`t solve this problem
> there is always show ORA-01578
>
> any one can help me ,thanks
Received on Sat Nov 20 1999 - 11:01:19 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US