Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: question
This is a multi-part message in MIME format.
------=_NextPart_000_0011_01BFF1D9.A1133110 Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
RE: questiondo the following command alter database backup controlfile =
to trace;
this will create a .trc file in the udump dir
if you open this it will give you the exact creation of the database
Hi,=20
After bringing datafile how to recreate control file.Can U please give =
the syntax and a small example.=20
Regards=20
Siva=20
----------=20
From: Roy Ferguson[SMTP:rferguso_at_level1.com]=20
Reply To: ORACLE-L_at_fatcity.com=20
Sent: Thursday, July 20, 2000 7:15 AM=20
To: Multiple recipients of list ORACLE-L=20 Subject: RE: question=20
I didn't catch the fact that I missed one of the datafiles until a = week after=20
the database was being used by developers...I know...shame on = me...looks like=20
I'll be rebuilding the indexes...=20 thanks for the assistance...Roy=20
>=20
> Have you tried to bring over the missing datafile and recreate the =
control=20
> file again? This may work only if 1) you have the original of the =
missing=20
> datafile from the same time period as the other datafiles that you =
> successfully copied over (i.e., if you copied the files over from =
a backup;=20
> and 2) you haven't done any work in the new database.=20
>=20
> Alternatively, since it is an index tablespace, you could try =
dropping the=20
> tablespace altogether, then recreating the tablespace and =
rebuilding all the=20
> indexes in it.=20
>=20
>=20> > >=20
> > -----Original Message-----=20
> > From: Roy Ferguson [SMTP:r__ferguson_at_hotmail.com]=20
> > Sent: Wednesday, July 19, 2000 5:01 PM=20
> > To: Multiple recipients of list ORACLE-L=20
> > Subject: question=20
> >=20
> >=20
> > >ok here is my situation..=20
> > >datafiles=20
> > >and recreating the control file on the development box...Sun=20
> > >environment...Oracle 8.0.5=20
> > >=20
> > >I brought up the development database and all looked good until =
I noticed=20
> > >that I=20
> > >failed to move over a datafile...this is datafile #2 of a two =
datafile=20
> > >index=20
> > >tablespace...=20
> > >=20
> > >error when trying to create an index:=20
> > >=20
> > >ERROR at line 2:=20
> > >ORA-00376: file 81 cannot be read at this time=20
> > >ORA-01111: name for data file 81 is unknown - rename to correct =
file=20
> > >ORA-01110: data file 81: =
'/u21/oracle/product/8.0.5/dbs/MISSING00081'=20
> > >=20
> > >I'm looking for ideas on recovery methods...=20
> > >=20
> > >thanks in advance...=20
> > =
________________________________________________________________________ =
> >=20
> --=20
> Author: Wasserman, Sara=20
> INET: sjwasserman_at_pscnet.com=20
>=20
> Fat City Network Services -- (858) 538-5051 FAX: (858) =
538-5051=20
> San Diego, California -- Public Internet access / Mailing =
Lists=20
> =
--------------------------------------------------------------------=20
> To REMOVE yourself from this mailing list, send an E-Mail message=20
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and =
in=20
> the message BODY, include a line containing: UNSUB ORACLE-L=20
> (or the name of mailing list you want to be removed from). You =
may=20
> also send the HELP command for other information (like =
subscribing).=20
>=20
--=20
Author: Roy Ferguson=20
INET: rferguso_at_level1.com=20
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051=20 San Diego, California -- Public Internet access / Mailing = Lists=20
To REMOVE yourself from this mailing list, send an E-Mail message=20 to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in=20 the message BODY, include a line containing: UNSUB ORACLE-L=20 (or the name of mailing list you want to be removed from). You may=20 also send the HELP command for other information (like subscribing). =
------=_NextPart_000_0011_01BFF1D9.A1133110 Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>RE: question</TITLE> <META http-equiv=3DContent-Type content=3D"text/html; =charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>do the following command alter database =backup=20
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: question</DIV> <DIV><BR></DIV> <P><FONT face=3DArial color=3D#0000ff size=3D2>Hi,</FONT> <BR><FONT =face=3DArial=20
face=3D"MS Sans Serif" size=3D1>From:</FONT></B> <FONT=20 face=3D"MS Sans Serif" size=3D1>Roy = Ferguson[SMTP:rferguso_at_level1.com]</FONT>=20
<BR><B><FONT face=3D"MS Sans Serif" size=3D1>Reply To:</FONT></B>=20 <FONT face=3D"MS Sans Serif" = size=3D1><A=20
href=3D"mailto:ORACLE-L_at_fatcity.com">ORACLE-L_at_fatcity.com</A></FONT> =
<BR><B><FONT face=3D"MS Sans Serif" size=3D1>Sent:</FONT></B> = <FONT=20
face=3D"MS Sans Serif" size=3D1>Thursday, July 20, 2000 7:15 = AM</FONT>=20
<BR><B><FONT face=3D"MS Sans Serif" size=3D1>To:</FONT></B> = =20
<FONT face=3D"MS Sans Serif" size=3D1>Multiple recipients of list=20 ORACLE-L</FONT> <BR><B><FONT face=3D"MS Sans Serif" = size=3D1>Subject:</FONT></B>=20
<FONT face=3D"MS Sans Serif" = size=3D1>RE:=20
question</FONT> </P><BR>
<P><FONT face=3DArial size=3D2>I didn't catch the fact that I missed =
one of the=20
datafiles until a week after </FONT><BR><FONT face=3DArial = size=3D2>the database=20
was being used by developers...I know...shame on me...looks like=20 </FONT><BR><FONT face=3DArial size=3D2>I'll be rebuilding the = indexes...</FONT>=20
<BR><FONT face=3DArial size=3D2>thanks for the = assistance...Roy</FONT> </P>
<P><FONT face=3DArial size=3D2>> </FONT><BR><FONT face=3DArial = size=3D2>> Have=20
you tried to bring over the missing datafile and recreate the = control</FONT>=20
<BR><FONT face=3DArial size=3D2>> file again? This may work = only if 1)=20
you have the original of the missing</FONT> <BR><FONT face=3DArial = size=3D2>>=20
datafile from the same time period as the other datafiles that = you</FONT>=20
<BR><FONT face=3DArial size=3D2>> successfully copied over (i.e., = if you=20
copied the files over from a backup;</FONT> <BR><FONT face=3DArial = size=3D2>>=20
and 2) you haven't done any work in the new database.</FONT> = <BR><FONT=20
face=3DArial size=3D2>> </FONT><BR><FONT face=3DArial = size=3D2>>=20
Alternatively, since it is an index tablespace, you could try = dropping=20
the</FONT> <BR><FONT face=3DArial size=3D2>> tablespace = altogether, then=20
recreating the tablespace and rebuilding all the</FONT> <BR><FONT = face=3DArial=20
size=3D2>> indexes in it.</FONT> <BR><FONT face=3DArial = size=3D2>>=20
</FONT><BR><FONT face=3DArial size=3D2>> HTH,</FONT> <BR><FONT = face=3DArial=20
size=3D2>> Sara Wasserman</FONT> <BR><FONT face=3DArial = size=3D2>>=20
</FONT><BR><FONT face=3DArial size=3D2>> > -----Original=20 Message-----</FONT> <BR><FONT face=3DArial size=3D2>> >=20 From: Roy Ferguson=20 [SMTP:r__ferguson_at_hotmail.com]</FONT> <BR><FONT face=3DArial = size=3D2>> >=20
Sent: Wednesday, July 19, 2000 = 5:01=20
PM</FONT> <BR><FONT face=3DArial size=3D2>> > To: Multiple = recipients of=20
list ORACLE-L</FONT> <BR><FONT face=3DArial size=3D2>> >=20 Subject: question</FONT> <BR><FONT face=3DArial = size=3D2>>=20
> </FONT><BR><FONT face=3DArial size=3D2>> > = </FONT><BR><FONT=20
face=3DArial size=3D2>> > >ok here is my situation..</FONT> = <BR><FONT=20
face=3DArial size=3D2>> > ></FONT> <BR><FONT face=3DArial = size=3D2>>=20
> >I created a development database from a production database = by=20
moving</FONT> <BR><FONT face=3DArial size=3D2>> > = >datafiles</FONT>=20
<BR><FONT face=3DArial size=3D2>> > >and recreating the = control file on=20
the development box...Sun</FONT> <BR><FONT face=3DArial = size=3D2>> >=20
>environment...Oracle 8.0.5</FONT> <BR><FONT face=3DArial = size=3D2>> >=20
></FONT> <BR><FONT face=3DArial size=3D2>> > >I brought = up the=20
development database and all looked good until I noticed</FONT> = <BR><FONT=20
face=3DArial size=3D2>> > >that I</FONT> <BR><FONT = face=3DArial=20
size=3D2>> > >failed to move over a datafile...this is = datafile #2 of=20
a two datafile </FONT><BR><FONT face=3DArial size=3D2>> > = >index</FONT>=20
<BR><FONT face=3DArial size=3D2>> > >tablespace...</FONT> = <BR><FONT=20
face=3DArial size=3D2>> > ></FONT> <BR><FONT face=3DArial = size=3D2>>=20
> >error when trying to create an index:</FONT> <BR><FONT = face=3DArial=20
size=3D2>> > ></FONT> <BR><FONT face=3DArial size=3D2>> = > >ERROR=20
at line 2:</FONT> <BR><FONT face=3DArial size=3D2>> > = >ORA-00376: file=20
81 cannot be read at this time</FONT> <BR><FONT face=3DArial = size=3D2>> >=20
>ORA-01111: name for data file 81 is unknown - rename to correct=20 file</FONT> <BR><FONT face=3DArial size=3D2>> > >ORA-01110: = data file=20
81: '/u21/oracle/product/8.0.5/dbs/MISSING00081'</FONT> <BR><FONT = face=3DArial=20
size=3D2>> > ></FONT> <BR><FONT face=3DArial size=3D2>> = > >I'm=20
looking for ideas on recovery methods...</FONT> <BR><FONT = face=3DArial=20
size=3D2>> > ></FONT> <BR><FONT face=3DArial size=3D2>> = >=20
>thanks in advance...</FONT> <BR><FONT face=3DArial size=3D2>> = >=20
=
________________________________________________________________________<=/FONT>=20
size=3D2>> -- </FONT><BR><FONT face=3DArial size=3D2>> Author: = Wasserman,=20
Sara</FONT> <BR><FONT face=3DArial size=3D2>> INET:=20 sjwasserman_at_pscnet.com</FONT> <BR><FONT face=3DArial size=3D2>>=20 </FONT><BR><FONT face=3DArial size=3D2>> Fat City Network=20 Services -- (858) 538-5051 FAX: (858)=20 538-5051</FONT> <BR><FONT face=3DArial size=3D2>> San Diego,=20 California -- Public = Internet=20
access / Mailing Lists</FONT> <BR><FONT face=3DArial size=3D2>>=20 =
--------------------------------------------------------------------</FON=T>=20
<BR><FONT face=3DArial size=3D2>> To REMOVE yourself from this = mailing list,=20
send an E-Mail message</FONT> <BR><FONT face=3DArial size=3D2>> = to:=20
ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and = in</FONT>=20
<BR><FONT face=3DArial size=3D2>> the message BODY, include a = line=20
containing: UNSUB ORACLE-L</FONT> <BR><FONT face=3DArial = size=3D2>> (or the=20
name of mailing list you want to be removed from). You = may</FONT>=20
<BR><FONT face=3DArial size=3D2>> also send the HELP command for = other=20
information (like subscribing).</FONT> <BR><FONT face=3DArial = size=3D2>>=20
</FONT></P>
<P><FONT face=3DArial size=3D2>-- </FONT><BR><FONT face=3DArial =
size=3D2>Author: Roy=20
Ferguson</FONT> <BR><FONT face=3DArial size=3D2> INET:=20
rferguso_at_level1.com</FONT> </P>
<P><FONT face=3DArial size=3D2>Fat City Network =
Services --=20
(858) 538-5051 FAX: (858) 538-5051</FONT> <BR><FONT = face=3DArial=20
size=3D2>San Diego, =
California --=20
Public Internet access / Mailing Lists</FONT> <BR><FONT face=3DArial =
=
size=3D2>----------------------------------------------------------------=----</FONT>=20
<BR><FONT face=3DArial size=3D2>To REMOVE yourself from this mailing = list, send=20
an E-Mail message</FONT> <BR><FONT face=3DArial size=3D2>to:=20 ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and = in</FONT>=20
<BR><FONT face=3DArial size=3D2>the message BODY, include a line = containing:=20 Received on Wed Jul 19 2000 - 22:32:40 CDT