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: Oracle DB Took a HIT

Re: Oracle DB Took a HIT

From: <asprusch_at_my-dejanews.com>
Date: Thu, 30 Jul 1998 11:00:09 GMT
Message-ID: <6ppjnq$faq$1@nnrp1.dejanews.com>


Try the command
alter session set events '10231 trace name context forever, level 10' This probably allows you to export your current data.

Hope this will help,
Andreas Prusch

In article <6pl272$fac$1_at_mawar.singnet.com.sg>,   "Leonis" <chong01_at_singnet.com.sg> wrote:
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_0020_01BDBA91.593F8040
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> Hi,
>
> You don't have to recreate the instance.
>
> Have you check for any invalid db objects ? Try to analyze the table =
> and indexes.
>
> you can also turn the DB_BLOCK_CHECKSUM on and from the ora-01578 errors =
>
> in the trace file to access the amount of data/object corruption.
>
> If your can sacrifice the data created/modified after the recovery. Then =
> just
> Drop the affected data files and recreate. Re-import using the backup =
> before failure.
>
> Since your instance is not running in archive log mode, that's the most =
> you can do.=20
> Stan Novinsky wrote in message <35B87543.98A68225_at_jhuapl.edu>...
> We are running Oracle 7.1 on an Alpha 8400 running OpenVMS 6.2.=20
> Two days ago, we took a power hit. Although the computer did not =
> crash, the DB took a hit.=20
> The DB came up but slow. It is operational and running without a =
> problem except taht we found an error in one of log files pertaining to =
> a corrupt block. I checked the .TRC files and found the following:=20
> =20
> _____=20
> =20
> PL/S=20
> Parallel server mode inactive=20
> Proc: 0x224 BATCH_1 User: [350,000] ORACLE7 Term:=20
> Image: APL1SD$DRA4:[ORACLE.V715.RDBMS]SQLDBA.EXE;9=20
> Enqueue Quota: 4000=20
> vsnsql=3Da vsnxtr=3D3=20
> cpu ALPH 80000000 vms V6.2 not clustered with 0 nodes=20
> scsnd: APL1SD , ndname: APL1SD, sys$node APL1SD::=20
> cpuid 80 rev 044C0000000000000000000C archflg 3C000=20
> hwmdl: 1100 hwnm: AlphaServer 8400 Model 5/300 cpus: FFFFFFFF cpush: =
> 0 active: 2, av=20
> locktbl size 30000 max 65535 resource hash size 2048=20
> 31-DEC-1999 21:55:51.35:=20
> =20
> *** SESSION ID:(6.1)=20
> =20
> ***=20
> Corrupt block=3D70252ac file=3D7. blocknum=3D152236. found during =
> media/instance recovery=20
> on disk type=3D6. ver=3D1. dba=3D70252ac inc=3D1f9 seq=3D601 =
> incseq=3D1f905fc=20
> =20
> ***=20
> Corrupt block=3D6026e5f file=3D6. blocknum=3D159327. found during =
> media/instance recovery=20
> on disk type=3D6. ver=3D1. dba=3D6026e5f inc=3D3b8 seq=3Dac =
> incseq=3D3b800ab=20
> =20
> ____________=20
> =20
> Is there a way to repair or remove the are with the corrupt block =
> other than rebuilding the DB. We are not running archive mode.=20
> =20
> Thanks=20
> =20
> Stan_Novinsky_at_JHUAPL.EDU=20
> =20
> =20
> =20
> =20
>
> ------=_NextPart_000_0020_01BDBA91.593F8040
> Content-Type: text/html;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
> <HTML>
> <HEAD>
>
> <META content=3Dtext/html;charset=3Diso-8859-1 =
> http-equiv=3DContent-Type>
> <META content=3D'"MSHTML 4.71.1712.3"' name=3DGENERATOR>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT color=3D#000000 size=3D2>Hi,</FONT>&nbsp;</DIV>
> <DIV><FONT color=3D#000000 size=3D2></FONT><FONT =
> size=3D2></FONT>&nbsp;</DIV>
> <DIV><FONT size=3D2>You don't have to recreate the =
> instance.</FONT></DIV>
> <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
> <DIV><FONT color=3D#000000 size=3D2>Have you check for any&nbsp; invalid =
> db objects=20
> ? Try to <FONT color=3D#000000>analyze </FONT>the table and =
> indexes.</FONT></DIV>
> <DIV>&nbsp;</DIV>
> <DIV><FONT color=3D#000000 size=3D2>you can also turn the =
> DB_BLOCK_CHECKSUM on and=20
> from the</FONT><FONT size=3D2> ora-01578 errors </FONT></DIV>
> <DIV><FONT size=3D2>in the trace file to access the amount of =
> data/object=20
> corruption.</FONT></DIV>
> <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
> <DIV><FONT color=3D#000000 size=3D2>If your can sacrifice the data =
> created/<FONT=20
> color=3D#000000>modified </FONT>after the recovery. Then =
> just</FONT></DIV>
> <DIV>
> <DIV><FONT color=3D#000000 size=3D2>Drop the affected data files and =
> recreate.=20
> Re-import using the backup before failure.</FONT></DIV>
> <DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
> <DIV><FONT color=3D#000000 size=3D2>Since your instance is not running =
> in archive=20
> log mode, that's the most you can do.</FONT>&nbsp;</DIV></DIV>
> <BLOCKQUOTE=20
> style=3D"BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: =
> 5px">
> <DIV>Stan Novinsky<STAN_NOVINSKY_at_JHUAPL.EDU> wrote in message &lt;<A =
>
> =
> href=3D"mailto:35B87543.98A68225_at_jhuapl.edu">35B87543.98A68225_at_jhuapl.edu=
> </A>&gt;...</DIV>We=20
> are running Oracle 7.1 on an Alpha 8400 running OpenVMS 6.2. <BR>Two =
> days=20
> ago, we took a power hit.&nbsp;&nbsp; Although the computer did not =
> crash,=20
> the DB took a hit.=20
> <P>The DB came up but slow.&nbsp; It is operational and running =
> without a=20
> problem except taht we found an error in one of log files pertaining =
> to a=20
> corrupt block.&nbsp; I checked the .TRC files and found the =
> following:=20
> <P>_____ <BR>&nbsp; <BR><FONT face=3DArial,Helvetica><FONT=20
> size=3D-1>PL/S</FONT></FONT> <BR><FONT face=3DArial,Helvetica><FONT=20
> size=3D-1>Parallel server mode inactive</FONT></FONT> <BR><FONT=20
> face=3DArial,Helvetica><FONT size=3D-1>Proc: 0x224 BATCH_1 User: =
> [350,000]=20
> ORACLE7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Term:</FONT></FONT> <BR><FONT=20
> face=3DArial,Helvetica><FONT size=3D-1>Image:=20
> APL1SD$DRA4:[ORACLE.V715.RDBMS]SQLDBA.EXE;9</FONT></FONT> <BR><FONT=20
> face=3DArial,Helvetica><FONT size=3D-1>Enqueue Quota: =
> 4000</FONT></FONT>=20
> <BR><FONT face=3DArial,Helvetica><FONT size=3D-1>vsnsql=3Da =
> vsnxtr=3D3</FONT></FONT>=20
> <BR><FONT face=3DArial,Helvetica><FONT size=3D-1>cpu ALPH 80000000 =
> vms=20
> V6.2&nbsp;&nbsp;&nbsp;&nbsp; not clustered with 0 =
> nodes</FONT></FONT>=20
> <BR><FONT face=3DArial,Helvetica><FONT size=3D-1>scsnd: APL1SD&nbsp; =
> , ndname:=20
> APL1SD, sys$node APL1SD::</FONT></FONT> <BR><FONT =
> face=3DArial,Helvetica><FONT=20
> size=3D-1>cpuid 80 rev 044C0000000000000000000C archflg =
> 3C000</FONT></FONT>=20
> <BR><FONT face=3DArial,Helvetica><FONT size=3D-1>hwmdl: 1100 hwnm: =
> AlphaServer=20
> 8400 Model 5/300 cpus: FFFFFFFF cpush: 0 active: 2, av</FONT></FONT> =
>
> <BR><FONT face=3DArial,Helvetica><FONT size=3D-1>locktbl size 30000 =
> max 65535=20
> resource hash size 2048</FONT></FONT> <BR><FONT =
> face=3DArial,Helvetica><FONT=20
> size=3D-1>31-DEC-1999 21:55:51.35:</FONT></FONT><FONT=20
> face=3DArial,Helvetica><FONT size=3D-1></FONT></FONT>=20
> <P><FONT face=3DArial,Helvetica><FONT size=3D-1>*** SESSION=20
> ID:(6.1)</FONT></FONT><FONT face=3DArial,Helvetica><FONT=20
> size=3D-1></FONT></FONT>=20
> <P><FONT face=3DArial,Helvetica><FONT size=3D-1>***</FONT></FONT> =
> <BR><FONT=20
> face=3DArial,Helvetica><FONT size=3D-1>Corrupt block=3D70252ac =
> file=3D7.=20
> blocknum=3D152236. found during media/instance =
> recovery</FONT></FONT>=20
> <BR><FONT face=3DArial,Helvetica><FONT size=3D-1>on disk type=3D6. =
> ver=3D1.=20
> dba=3D70252ac inc=3D1f9 seq=3D601 =
> incseq=3D1f905fc</FONT></FONT><FONT=20
> face=3DArial,Helvetica><FONT size=3D-1></FONT></FONT>=20
> <P><FONT face=3DArial,Helvetica><FONT size=3D-1>***</FONT></FONT> =
> <BR><FONT=20
> face=3DArial,Helvetica><FONT size=3D-1>Corrupt block=3D6026e5f =
> file=3D6.=20
> blocknum=3D159327. found during media/instance =
> recovery</FONT></FONT>=20
> <BR><FONT face=3DArial,Helvetica><FONT size=3D-1>on disk type=3D6. =
> ver=3D1.=20
> dba=3D6026e5f inc=3D3b8 seq=3Dac incseq=3D3b800ab</FONT></FONT><FONT =
>
> face=3DArial,Helvetica><FONT size=3D-1></FONT></FONT>=20
> <P><FONT face=3DArial,Helvetica><FONT =
> size=3D-1>____________</FONT></FONT><FONT=20
> face=3DArial,Helvetica><FONT size=3D-1></FONT></FONT>=20
> <P>Is there a way to repair or remove the are with the corrupt block =
> other=20
> than rebuilding the DB.&nbsp; We are not running archive mode.=20
> <P>Thanks=20
> <P>Stan_Novinsky_at_JHUAPL.EDU <BR><FONT face=3DArial,Helvetica><FONT=20
> size=3D-1></FONT></FONT>&nbsp;=20
> <P>&nbsp; </P></BLOCKQUOTE></BODY></HTML>
>
> ------=_NextPart_000_0020_01BDBA91.593F8040--
>
>

-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum Received on Thu Jul 30 1998 - 06:00:09 CDT

Original text of this message

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