Recreating your control files

Ask a Question related to Oracle Server, Design and Development.

  1. #1

    Default Re: Recreating your control files

    Peter wrote:
    > When you recreate your control files for a crash recovery, why would
    > that be a safe thing to do?
    I always do a daily backup of the control file to trace and then keep an
    offline copy of the trace file. Not sure what others do, but this sits more
    comfortable with me.. :-)

    --
    Billy
    Billy Verreynne Guest

  2. Similar Questions and Discussions

    1. need help recreating this logo...
      (I also posted this in the mac forum, but I need help as soon as possible!) Hi, a client brought in this logo and we need to recreate it for...
    2. Tutorials for recreating logos/paths etc
      Hi all, I am fairly inexperienced with Illustrator. I have created logos in the program but have never had to rescan a basic logo before. The...
    3. server control: recreating controls after roundtrip
      How can i recreate controls which were added to the control collection on runtime after a roundtrip in a server control with no aspx/ascx files?...
    4. Recreating Water Waves- help
      Does anyone know or have any insight on how this was created?...
    5. Recreating image
      Hello all, I need some advice (pointed in the right direction) I want to recreate an image [right now its in jpeg form but uneditable. What I...
  3. #2

    Default Re: Recreating your control files

    I create a binary backup of the control file and also dump the control
    file to trace. That way, I have both. In most cases, I use the binary
    backup of the control file. And in most cases, the dump to trace is only
    used as a reference.

    HTH,
    Brian

    Billy Verreynne wrote:
    >
    > Peter wrote:
    >
    > > When you recreate your control files for a crash recovery, why would
    > > that be a safe thing to do?
    >
    > I always do a daily backup of the control file to trace and then keep an
    > offline copy of the trace file. Not sure what others do, but this sits more
    > comfortable with me.. :-)
    >
    > --
    > Billy
    --
    ================================================== =================

    Brian Peasland
    [email]oracle_dba@remove_spam.peasland.com[/email]

    Remove the "remove_spam." from the email address to email me.


    "I can give it to you cheap, quick, and good. Now pick two out of
    the three"
    Brian Peasland Guest

  4. #3

    Default Re: Recreating your control files


    "Peter" <peter@nomorenewsspammin.ca> wrote in message
    news:0dflfvg3ij8s95vd1qgel0vtulp890nlm0@4ax.com...
    > When you recreate your control files for a crash recovery, why would
    > that be a safe thing to do?
    >
    > Thanks
    >
    I don't understand the question.

    Who says you re-create the control files when you perform a crash recovery??

    Crash recovery=instance recovery.

    Instance recoveries are performed by saying 'startup'. Oracle does the rest.
    And controlfiles don't come into it.

    Or have I missed your point?

    ~QM


    Quarkman Guest

  5. #4

    Default Re: Recreating your control files


    "Brian Peasland" <oracle_dba@remove_spam.peasland.com> wrote in message
    news:3EFAF17F.55C966C4@remove_spam.peasland.com...
    > I create a binary backup of the control file and also dump the control
    > file to trace. That way, I have both. In most cases, I use the binary
    > backup of the control file. And in most cases, the dump to trace is only
    > used as a reference.

    Well, each to his own.

    Since use of the binary backup in a recovery situation *demands* a
    'resetlogs', which renders all previous backups and archives non-useful
    (unless you are prepared to jump through hoops) until you perform a new
    complete backup, the use of the trace file version of the control file
    backup is rather more than sensible.

    <Deep breath>

    There are no circumstances where you would use the binary version of the
    backup where you couldn't equally well use the trace file version of the
    backup, with considerably less cost to the on-going health and well-being of
    your database. Not to mention your DBA.

    </Deep Breath>

    With one significant exception: if you use RMAN, without a catalogue, then
    the trace file backup doesn't include all the repository information. And
    then the binary backup might prove useful.

    ~QM


    >
    > HTH,
    > Brian
    >
    > Billy Verreynne wrote:
    > >
    > > Peter wrote:
    > >
    > > > When you recreate your control files for a crash recovery, why would
    > > > that be a safe thing to do?
    > >
    > > I always do a daily backup of the control file to trace and then keep an
    > > offline copy of the trace file. Not sure what others do, but this sits
    more
    > > comfortable with me.. :-)
    > >
    > > --
    > > Billy
    >
    > --
    > ================================================== =================
    >
    > Brian Peasland
    > [email]oracle_dba@remove_spam.peasland.com[/email]
    >
    > Remove the "remove_spam." from the email address to email me.
    >
    >
    > "I can give it to you cheap, quick, and good. Now pick two out of
    > the three"

    Quarkman Guest

  6. #5

    Default Re: Recreating your control files

    On Sat, 28 Jun 2003 23:48:33 +1000, "Quarkman" <quarkman@nowhere>
    wrote:

    I meant you recreate controlfiles based on your binary or text version
    of your controlfile backup. This may happen when your harddrive
    crashes. I know you are thinking about the DB itself crashing, sorry
    for the confusion.

    Thanks
    >
    >"Peter" <peter@nomorenewsspammin.ca> wrote in message
    >news:0dflfvg3ij8s95vd1qgel0vtulp890nlm0@4ax.com.. .
    >> When you recreate your control files for a crash recovery, why would
    >> that be a safe thing to do?
    >>
    >> Thanks
    >>
    >
    >I don't understand the question.
    >
    >Who says you re-create the control files when you perform a crash recovery??
    >
    >Crash recovery=instance recovery.
    >
    >Instance recoveries are performed by saying 'startup'. Oracle does the rest.
    >And controlfiles don't come into it.
    >
    >Or have I missed your point?
    >
    >~QM
    >
    Peter Guest

  7. #6

    Default Re: Recreating your control files

    On Sun, 29 Jun 2003 16:37:16 +1000, "Quarkman" <quarkman@nowhere>
    wrote:

    How do you recreate your controlfiles accurately from abckup? When you
    recover your database from a media failure, how do you make sure that
    your new controlfile wil relflect the latest configuration of the DB?

    Thanks
    >
    >"Brian Peasland" <oracle_dba@remove_spam.peasland.com> wrote in message
    >news:3EFAF17F.55C966C4@remove_spam.peasland.com.. .
    >> I create a binary backup of the control file and also dump the control
    >> file to trace. That way, I have both. In most cases, I use the binary
    >> backup of the control file. And in most cases, the dump to trace is only
    >> used as a reference.
    >
    >
    >Well, each to his own.
    >
    >Since use of the binary backup in a recovery situation *demands* a
    >'resetlogs', which renders all previous backups and archives non-useful
    >(unless you are prepared to jump through hoops) until you perform a new
    >complete backup, the use of the trace file version of the control file
    >backup is rather more than sensible.
    >
    ><Deep breath>
    >
    >There are no circumstances where you would use the binary version of the
    >backup where you couldn't equally well use the trace file version of the
    >backup, with considerably less cost to the on-going health and well-being of
    >your database. Not to mention your DBA.
    >
    ></Deep Breath>
    >
    >With one significant exception: if you use RMAN, without a catalogue, then
    >the trace file backup doesn't include all the repository information. And
    >then the binary backup might prove useful.
    >
    >~QM
    >
    >
    >
    >>
    >> HTH,
    >> Brian
    >>
    >> Billy Verreynne wrote:
    >> >
    >> > Peter wrote:
    >> >
    >> > > When you recreate your control files for a crash recovery, why would
    >> > > that be a safe thing to do?
    >> >
    >> > I always do a daily backup of the control file to trace and then keep an
    >> > offline copy of the trace file. Not sure what others do, but this sits
    >more
    >> > comfortable with me.. :-)
    >> >
    >> > --
    >> > Billy
    >>
    >> --
    >> ================================================== =================
    >>
    >> Brian Peasland
    >> [email]oracle_dba@remove_spam.peasland.com[/email]
    >>
    >> Remove the "remove_spam." from the email address to email me.
    >>
    >>
    >> "I can give it to you cheap, quick, and good. Now pick two out of
    >> the three"
    >
    Peter Guest

  8. #7

    Default Re: Recreating your control files

    Peter wrote:
    > On Sun, 29 Jun 2003 16:37:16 +1000, "Quarkman" <quarkman@nowhere>
    > wrote:
    >
    > How do you recreate your controlfiles accurately from abckup? When you
    > recover your database from a media failure, how do you make sure that
    > your new controlfile wil relflect the latest configuration of the DB?
    >
    > Thanks
    >
    This is easy to answer.
    I can be sure that the new controlfile will reflect the latest
    configuration, because daily I
    ALTER DATABASE BACKUP CONTROLFILE TO TRACE;

    and the copy the resultant file to two different disks
    on two different hosts. Now I have three copies & have
    ALWAYS been able to access at least one on them in an
    emergency.

    Anna C. Dent Guest

  9. #8

    Default Re: Recreating your control files

    On Wed, 02 Jul 2003 17:25:23 -0700, "Anna C. Dent"
    <anacedent@hotmail.com> wrote:

    If you are performng a media recovery that requires datafiles to be
    recovered to another location, thenyour backup control files will not
    reflect the latest configuration of the DB right before the crash?
    What is the strategy then?

    Thanks
    >Peter wrote:
    >> On Sun, 29 Jun 2003 16:37:16 +1000, "Quarkman" <quarkman@nowhere>
    >> wrote:
    >>
    >> How do you recreate your controlfiles accurately from abckup? When you
    >> recover your database from a media failure, how do you make sure that
    >> your new controlfile wil relflect the latest configuration of the DB?
    >>
    >> Thanks
    >>
    >This is easy to answer.
    >I can be sure that the new controlfile will reflect the latest
    >configuration, because daily I
    >ALTER DATABASE BACKUP CONTROLFILE TO TRACE;
    >
    >and the copy the resultant file to two different disks
    >on two different hosts. Now I have three copies & have
    >ALWAYS been able to access at least one on them in an
    >emergency.
    Peter Guest

  10. #9

    Default Re: Recreating your control files

    Peter wrote:
    > On Wed, 02 Jul 2003 17:25:23 -0700, "Anna C. Dent"
    > <anacedent@hotmail.com> wrote:
    >
    > If you are performng a media recovery that requires datafiles to be
    > recovered to another location, thenyour backup control files will not
    > reflect the latest configuration of the DB right before the crash?
    > What is the strategy then?
    >
    > Thanks
    >
    1) see QUARKMAN's response
    2) use vi

    Anna C. Dent Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139