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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: question

Re: question

From: arun <arun_k_c_at_hotmail.com>
Date: Wed, 19 Jul 2000 23:32:40 -0400
Message-Id: <10563.112492@fatcity.com>


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

> HTH,=20
> Sara Wasserman=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
> > >=20
> > >I created a development database from a production database by =
moving=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
controlfile to trace;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>this will create a .trc file in the = udump=20
dir</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>if you open this it will give you the = exact=20
creation of the database</FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; = BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">   <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>   <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"><B>From:</B>=20
  <A title=3DSiva_Chintalapati_at_satyam.com=20   href=3D"mailto:Siva_Chintalapati_at_satyam.com">Siva_Chintalapati</A> = </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A = title=3DORACLE-L_at_fatcity.com=20
  href=3D"mailto:ORACLE-L_at_fatcity.com">Multiple recipients of list = ORACLE-L</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, July 19, 2000 = 11:04=20
  PM</DIV>
  <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
  color=3D#0000ff size=3D2>After bringing datafile how to recreate = control file.Can=20
  U please give the syntax and a small example.</FONT> </P>   <P><FONT face=3DArial color=3D#0000ff size=3D2>Regards</FONT> = <BR><FONT face=3DArial=20
  color=3D#0000ff size=3D2>Siva</FONT> </P>   <UL>
    <P><FONT face=3D"MS Sans Serif" size=3D1>----------</FONT> = <BR><B><FONT=20

    face=3D"MS Sans Serif" size=3D1>From:</FONT></B> &nbsp; <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     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <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> &nbsp; = <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> = &nbsp;&nbsp;&nbsp;=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

    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <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>&gt; </FONT><BR><FONT face=3DArial = size=3D2>&gt; Have=20

    you tried to bring over the missing datafile and recreate the = control</FONT>=20

    <BR><FONT face=3DArial size=3D2>&gt; file again?&nbsp; This may work = only if 1)=20

    you have the original of the missing</FONT> <BR><FONT face=3DArial = size=3D2>&gt;=20

    datafile from the same time period as the other datafiles that = you</FONT>=20

    <BR><FONT face=3DArial size=3D2>&gt; successfully copied over (i.e., = if you=20

    copied the files over from a backup;</FONT> <BR><FONT face=3DArial = size=3D2>&gt;=20

    and 2) you haven't done any work in the new database.</FONT> = <BR><FONT=20

    face=3DArial size=3D2>&gt; </FONT><BR><FONT face=3DArial = size=3D2>&gt;=20

    Alternatively, since it is an index tablespace, you could try = dropping=20

    the</FONT> <BR><FONT face=3DArial size=3D2>&gt; tablespace = altogether, then=20

    recreating the tablespace and rebuilding all the</FONT> <BR><FONT = face=3DArial=20

    size=3D2>&gt; indexes in it.</FONT> <BR><FONT face=3DArial = size=3D2>&gt;=20

    </FONT><BR><FONT face=3DArial size=3D2>&gt; HTH,</FONT> <BR><FONT = face=3DArial=20

    size=3D2>&gt; Sara Wasserman</FONT> <BR><FONT face=3DArial = size=3D2>&gt;=20

    </FONT><BR><FONT face=3DArial size=3D2>&gt; &gt; -----Original=20     Message-----</FONT> <BR><FONT face=3DArial size=3D2>&gt; &gt;=20     From:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Roy Ferguson=20     [SMTP:r__ferguson_at_hotmail.com]</FONT> <BR><FONT face=3DArial = size=3D2>&gt; &gt;=20

    Sent:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Wednesday, July 19, 2000 = 5:01=20

    PM</FONT> <BR><FONT face=3DArial size=3D2>&gt; &gt; To: Multiple = recipients of=20

    list ORACLE-L</FONT> <BR><FONT face=3DArial size=3D2>&gt; &gt;=20     Subject:&nbsp;&nbsp;&nbsp; question</FONT> <BR><FONT face=3DArial = size=3D2>&gt;=20

    &gt; </FONT><BR><FONT face=3DArial size=3D2>&gt; &gt; = </FONT><BR><FONT=20

    face=3DArial size=3D2>&gt; &gt; &gt;ok here is my situation..</FONT> = <BR><FONT=20

    face=3DArial size=3D2>&gt; &gt; &gt;</FONT> <BR><FONT face=3DArial = size=3D2>&gt;=20

    &gt; &gt;I created a development database from a production database = by=20

    moving</FONT> <BR><FONT face=3DArial size=3D2>&gt; &gt; = &gt;datafiles</FONT>=20

    <BR><FONT face=3DArial size=3D2>&gt; &gt; &gt;and recreating the = control file on=20

    the development box...Sun</FONT> <BR><FONT face=3DArial = size=3D2>&gt; &gt;=20

    &gt;environment...Oracle 8.0.5</FONT> <BR><FONT face=3DArial = size=3D2>&gt; &gt;=20

    &gt;</FONT> <BR><FONT face=3DArial size=3D2>&gt; &gt; &gt;I brought = up the=20

    development database and all looked good until I noticed</FONT> = <BR><FONT=20

    face=3DArial size=3D2>&gt; &gt; &gt;that I</FONT> <BR><FONT = face=3DArial=20

    size=3D2>&gt; &gt; &gt;failed to move over a datafile...this is = datafile #2 of=20

    a two datafile </FONT><BR><FONT face=3DArial size=3D2>&gt; &gt; = &gt;index</FONT>=20

    <BR><FONT face=3DArial size=3D2>&gt; &gt; &gt;tablespace...</FONT> = <BR><FONT=20

    face=3DArial size=3D2>&gt; &gt; &gt;</FONT> <BR><FONT face=3DArial = size=3D2>&gt;=20

    &gt; &gt;error when trying to create an index:</FONT> <BR><FONT = face=3DArial=20

    size=3D2>&gt; &gt; &gt;</FONT> <BR><FONT face=3DArial size=3D2>&gt; = &gt; &gt;ERROR=20

    at line 2:</FONT> <BR><FONT face=3DArial size=3D2>&gt; &gt; = &gt;ORA-00376: file=20

    81 cannot be read at this time</FONT> <BR><FONT face=3DArial = size=3D2>&gt; &gt;=20

    &gt;ORA-01111: name for data file 81 is unknown - rename to correct=20     file</FONT> <BR><FONT face=3DArial size=3D2>&gt; &gt; &gt;ORA-01110: = data file=20

    81: '/u21/oracle/product/8.0.5/dbs/MISSING00081'</FONT> <BR><FONT = face=3DArial=20

    size=3D2>&gt; &gt; &gt;</FONT> <BR><FONT face=3DArial size=3D2>&gt; = &gt; &gt;I'm=20

    looking for ideas on recovery methods...</FONT> <BR><FONT = face=3DArial=20

    size=3D2>&gt; &gt; &gt;</FONT> <BR><FONT face=3DArial size=3D2>&gt; = &gt;=20

    &gt;thanks in advance...</FONT> <BR><FONT face=3DArial size=3D2>&gt; = &gt;=20

    =

________________________________________________________________________<=
/FONT>=20
    <BR><FONT face=3DArial size=3D2>&gt; &gt; </FONT><BR><FONT = face=3DArial=20

    size=3D2>&gt; -- </FONT><BR><FONT face=3DArial size=3D2>&gt; Author: = Wasserman,=20

    Sara</FONT> <BR><FONT face=3DArial size=3D2>&gt;&nbsp;&nbsp; INET:=20     sjwasserman_at_pscnet.com</FONT> <BR><FONT face=3DArial size=3D2>&gt;=20     </FONT><BR><FONT face=3DArial size=3D2>&gt; Fat City Network=20     Services&nbsp;&nbsp;&nbsp; -- (858) 538-5051&nbsp; FAX: (858)=20     538-5051</FONT> <BR><FONT face=3DArial size=3D2>&gt; San Diego,=20     California&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Public = Internet=20

    access / Mailing Lists</FONT> <BR><FONT face=3DArial size=3D2>&gt;=20     =

--------------------------------------------------------------------</FON=
T>=20

    <BR><FONT face=3DArial size=3D2>&gt; To REMOVE yourself from this = mailing list,=20

    send an E-Mail message</FONT> <BR><FONT face=3DArial size=3D2>&gt; = to:=20

    ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and = in</FONT>=20

    <BR><FONT face=3DArial size=3D2>&gt; the message BODY, include a = line=20

    containing: UNSUB ORACLE-L</FONT> <BR><FONT face=3DArial = size=3D2>&gt; (or the=20

    name of mailing list you want to be removed from).&nbsp; You = may</FONT>=20

    <BR><FONT face=3DArial size=3D2>&gt; also send the HELP command for = other=20

    information (like subscribing).</FONT> <BR><FONT face=3DArial = size=3D2>&gt;=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>&nbsp; INET:=20     rferguso_at_level1.com</FONT> </P>
    <P><FONT face=3DArial size=3D2>Fat City Network = Services&nbsp;&nbsp;&nbsp; --=20

    (858) 538-5051&nbsp; FAX: (858) 538-5051</FONT> <BR><FONT = face=3DArial=20

    size=3D2>San Diego, =
California&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --=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

Original text of this message

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