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: need help with control files

Re: need help with control files

From: <dominica_at_gmail.com>
Date: 26 Jan 2006 19:01:52 -0800
Message-ID: <1138330912.524817.212460@g49g2000cwa.googlegroups.com>


Hi Joe,

Are you trying to recreate a controlfile or ??

What are you trying to archive?

You do :
alter database backup controlfile to trace;

ANd it generate a trace file in your udump subdirectory:

and look like this right??

===
Dump file /opt/app/oracle/admin/DDDTEST3/udump/dddtest3_ora_8011.trc Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production With the Partitioning option
JServer Release 8.1.7.4.0 - Production
ORACLE_HOME = /opt/app/oracle/product/8.1.7 System name: SunOS

Node name:      db1
Release:        5.9
Version:        Generic_112233-03
Machine:        sun4u

Instance name: DDDTEST3
Redo thread mounted by this instance: 1
Oracle process number: 9
Unix process pid: 8011, image: oracle_at_db1 (TNS V1-V3)
  1. Usually I copy this trace file to recreate-controlfile.sql
  2. delete all the lines until "STARTUP NOMOUNT"
And you have to see what you like to do?

You might have to change
"CREATE CONTROLFILE REUSE DATABASE "DDDTEST3" NORESETLOGS ARCHIVELOG" "
CREATE CONTROLFILE SET DATABASE "DDDTEST3" NORESETLOGS ARCHIVELOG" It depend what you hope to archive.

3) I usually
sqlplus "/ as sysdba"
startup nomount
@recreate-controlfile.sql

Then you will create new controlfile.

Is it what you hope to test??

Dominica Received on Thu Jan 26 2006 - 21:01:52 CST

Original text of this message

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