Re: NOARCHIVELOG, ONLINE redolog corrupted - solved

2001-08-03 Thread A. Bardeen

Joe,

That's true, but only if the current logs are not
needed for instance or media recovery.  

For example if you want to open from a cold backup and
you don't have the online logs you can fake recovery
and then open resetlogs and it will recreate them for
you:

startup mount
recover database until cancel
  -- you should get a message saying media recovery
complete or not needed since everything is already in
sync if it's a true cold backup
alter database open resetlogs;

You have to do the recover database until cancel to
"fake" an incomplete recovery so you can then open
with resetlogs; otherwise you'll get an error saying
resetlogs isn't needed.

Whenever you open with resetlogs, new logs will be
created if they don't exist.  In fact a trick to get a
db open quicker when using resetlogs if you have a
large # of online log groups and members is to drop
all except the bare minimum (2 groups, 1 member each)
to open the db.  Then once the db is open you can add
the additional members and groups.  

HTH,

-- Anita

--- Joe Testa <[EMAIL PROTECTED]> wrote:
> its been at least a year since this wa sstated but i
> believe i read(have
> not tried it), that you could have totally erase
> your redo logs(like you
> had a serious failure in which all copies were lost)
> and a open
> restelogs would have recreated them.  I think that
> was explained by
> someone on the list.
> 
> Would that have helped any?
> 
> joe
> Rahul wrote:
> > 
> > > list , (solaris, 8.1.6)
> > >
> > > two redolog thread, two member each, one member
> from each thread on raw
> > >
> > > while doing import (35 million rows), the raw
> member of thread 1 was not
> > > available,
> > > errors in alert log
> > >
> > > i dropped the raw member of thread 1, and
> continued import..
> > >
> > > lgwr crashed the instance, the ONLY member of
> the thread 1, (current,
> > > online) got corrupted.
> > >
> > > tried to re-create the controlfiles WITHOUT the
> corrupted (online) ,
> > > cannot as
> > > that thread is required for recovery
> > >
> > > tried recovery until change (some SCN in the
> past) , recovery completed
> > > BUT
> > > open restlogs will return error. file  
> requiure more media recovery
> > > to be consistent.
> > >
> > > tried media recovery again error... unable
> to read block nnn ..unix IO
> > > error
> > >
> > > set _allow_resetlogs_corruption = true
> > >
> > > ABLE TO OPEN THE DB (with errors in alert log)
> switched the log, dropped
> > > the corrupted one..
> > >
> > > the _allow_reset parameter was the last
> resort... was their anything else
> > > i could have tried ?
> > >
> > > regards
> > > Rahul
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > --
> > Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> > --
> > Author: Rahul
> >   INET: [EMAIL PROTECTED]
> > 
> > Fat City Network Services-- (858) 538-5051 
> FAX: (858) 538-5051
> > San Diego, California-- Public Internet
> access / Mailing Lists
> >
>

> > To REMOVE yourself from this mailing list, send an
> E-Mail message
> > to: [EMAIL PROTECTED] (note EXACT spelling of
> 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB
> ORACLE-L
> > (or the name of mailing list you want to be
> removed from).  You may
> > also send the HELP command for other information
> (like subscribing)
> 
> -- 
> Joe Testa  
> Performing Remote DBA Services, need some backup DBA
> support?
> For Sale: Oracle-dba.com domain, its not going cheap
> but feel free to
> ask :)
> -- 
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> -- 
> Author: Joe Testa
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services-- (858) 538-5051  FAX:
> (858) 538-5051
> San Diego, California-- Public Internet
> access / Mailing Lists
>

> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of
> 'ListGuru') and in
> the message BODY, include a line containing: UNSUB
> ORACLE-L
> (or the name of mailing list you want to be removed
> from).  You may
> also send the HELP command for other information
> (like subscribing).


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: A. Bardeen
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-

Re: NOARCHIVELOG, ONLINE redolog corrupted - solved

2001-08-01 Thread Sakthi , Raj

Joe ,
I think you are thinking about 
ALTER DATABASE CLEAR LOGFILE ;
command . There is some catch to it . 
The execrpt from OManual 
"
Do not use CLEAR LOGFILE to clear a log needed for
media recovery. If it is necessary to clear a log
containing redo after the database checkpoint, you
must first perform incomplete media recovery. The
current redo log of an open thread can be cleared. The
current log of a closed thread can be cleared by
switching logs in the closed thread. 
"
Cheers,
RS
--- Joe Testa <[EMAIL PROTECTED]> wrote:
> its been at least a year since this wa sstated but i
> believe i read(have
> not tried it), that you could have totally erase
> your redo logs(like you
> had a serious failure in which all copies were lost)
> and a open
> restelogs would have recreated them.  I think that
> was explained by
> someone on the list.
> 
> Would that have helped any?
> 
> joe
> Rahul wrote:
> > 
> > > list , (solaris, 8.1.6)
> > >
> > > two redolog thread, two member each, one member
> from each thread on raw
> > >
> > > while doing import (35 million rows), the raw
> member of thread 1 was not
> > > available,
> > > errors in alert log
> > >
> > > i dropped the raw member of thread 1, and
> continued import..
> > >
> > > lgwr crashed the instance, the ONLY member of
> the thread 1, (current,
> > > online) got corrupted.
> > >
> > > tried to re-create the controlfiles WITHOUT the
> corrupted (online) ,
> > > cannot as
> > > that thread is required for recovery
> > >
> > > tried recovery until change (some SCN in the
> past) , recovery completed
> > > BUT
> > > open restlogs will return error. file  
> requiure more media recovery
> > > to be consistent.
> > >
> > > tried media recovery again error... unable
> to read block nnn ..unix IO
> > > error
> > >
> > > set _allow_resetlogs_corruption = true
> > >
> > > ABLE TO OPEN THE DB (with errors in alert log)
> switched the log, dropped
> > > the corrupted one..
> > >
> > > the _allow_reset parameter was the last
> resort... was their anything else
> > > i could have tried ?
> > >
> > > regards
> > > Rahul
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > --
> > Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> > --
> > Author: Rahul
> >   INET: [EMAIL PROTECTED]
> > 
> > Fat City Network Services-- (858) 538-5051 
> FAX: (858) 538-5051
> > San Diego, California-- Public Internet
> access / Mailing Lists
> >
>

> > To REMOVE yourself from this mailing list, send an
> E-Mail message
> > to: [EMAIL PROTECTED] (note EXACT spelling of
> 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB
> ORACLE-L
> > (or the name of mailing list you want to be
> removed from).  You may
> > also send the HELP command for other information
> (like subscribing)
> 
> -- 
> Joe Testa  
> Performing Remote DBA Services, need some backup DBA
> support?
> For Sale: Oracle-dba.com domain, its not going cheap
> but feel free to
> ask :)
> -- 
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> -- 
> Author: Joe Testa
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services-- (858) 538-5051  FAX:
> (858) 538-5051
> San Diego, California-- Public Internet
> access / Mailing Lists
>

> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of
> 'ListGuru') and in
> the message BODY, include a line containing: UNSUB
> ORACLE-L
> (or the name of mailing list you want to be removed
> from).  You may
> also send the HELP command for other information
> (like subscribing).


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Sakthi , Raj
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



Re: NOARCHIVELOG, ONLINE redolog corrupted - solved

2001-08-01 Thread Joe Testa

its been at least a year since this wa sstated but i believe i read(have
not tried it), that you could have totally erase your redo logs(like you
had a serious failure in which all copies were lost) and a open
restelogs would have recreated them.  I think that was explained by
someone on the list.

Would that have helped any?

joe
Rahul wrote:
> 
> > list , (solaris, 8.1.6)
> >
> > two redolog thread, two member each, one member from each thread on raw
> >
> > while doing import (35 million rows), the raw member of thread 1 was not
> > available,
> > errors in alert log
> >
> > i dropped the raw member of thread 1, and continued import..
> >
> > lgwr crashed the instance, the ONLY member of the thread 1, (current,
> > online) got corrupted.
> >
> > tried to re-create the controlfiles WITHOUT the corrupted (online) ,
> > cannot as
> > that thread is required for recovery
> >
> > tried recovery until change (some SCN in the past) , recovery completed
> > BUT
> > open restlogs will return error. file   requiure more media recovery
> > to be consistent.
> >
> > tried media recovery again error... unable to read block nnn ..unix IO
> > error
> >
> > set _allow_resetlogs_corruption = true
> >
> > ABLE TO OPEN THE DB (with errors in alert log) switched the log, dropped
> > the corrupted one..
> >
> > the _allow_reset parameter was the last resort... was their anything else
> > i could have tried ?
> >
> > regards
> > Rahul
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Rahul
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California-- Public Internet access / Mailing Lists
> 
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing)

-- 
Joe Testa  
Performing Remote DBA Services, need some backup DBA support?
For Sale: Oracle-dba.com domain, its not going cheap but feel free to
ask :)
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Joe Testa
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



NOARCHIVELOG, ONLINE redolog corrupted - solved

2001-07-31 Thread Rahul

> list , (solaris, 8.1.6)
> 
> two redolog thread, two member each, one member from each thread on raw
> 
> while doing import (35 million rows), the raw member of thread 1 was not
> available,
> errors in alert log
> 
> i dropped the raw member of thread 1, and continued import..
> 
> lgwr crashed the instance, the ONLY member of the thread 1, (current,
> online) got corrupted.
> 
> tried to re-create the controlfiles WITHOUT the corrupted (online) ,
> cannot as
> that thread is required for recovery
> 
> tried recovery until change (some SCN in the past) , recovery completed
> BUT 
> open restlogs will return error. file   requiure more media recovery
> to be consistent.
> 
> tried media recovery again error... unable to read block nnn ..unix IO
> error
> 
> set _allow_resetlogs_corruption = true 
> 
> ABLE TO OPEN THE DB (with errors in alert log) switched the log, dropped
> the corrupted one..
> 
> the _allow_reset parameter was the last resort... was their anything else
> i could have tried ? 
> 
> regards
> Rahul
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rahul
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).