Oracle control file header information

Hi,
I want information about control file header.
My requirement is,
1. Start database in backup mode so that header of the datafiles got freezed.
2. So i want to know header_information/freezed SCN no in the header of the control file. From which oracle view i can get this information?
Thanks

The informationi in controlfiles is the centralized information of whole database like db_name,dbid,logfiles & datafiles paths,SCNs,etc..So if you want the controlfile structure or its internals the following link may help you out :
http://www.ixora.com.au/notes/controlfile_structure.htm
GoodLuck!

Similar Messages

  • RMAN Restore Control File Fails - File Header Validation Fails

    hi everyone,
    This is 9i on Windows 2000.
    I'm trying to restore a control file from a backup made by RMAN on another server.
    I expected Oracle/RMAN to choke because it knows the backup file was not made from this servers database.
    RMAN>restore control file from '......' gives ORA-19563 Control File header validation failed
    Is there a way to force RMAN to restore a file, in a situation like this?
    Thanks,
    John

    >>I expected Oracle/RMAN to choke because it knows the backup file was not made from this servers database.
    What do you mean by this statement ? Do you mean that the servers are on different platforms ? If so first you need to do RMAN platform conversion to able to recognize the controlfile.
    If not, Can you make sure of the following
    1) source and target servers are same operating system
    2) source and target database homes have same versions.

  • Control file information

    dear.
    Oracle by default creates three control files, do these control files contain same information , what if we loose the control file control1.ctl, can we restore it from the other two.
    thanks and regards
    VIJAY

    Hi vijay,
    Yes, all Oracle control files (for a particular DB) have same information as they r mirrored. If u do happen to loose control1.ctl, then u can very well restore & rename it from either of the other two.
    More so if u ever happen to loose all three controlfiles still u can get them back... (from trace file priorly generated with "alter database backup controlfile to trace;" command)...and this could mean u hav to perform a recovery.
    Thanks,
    Vaibhhav Dangar
    Message was edited by:
    Vaibhhav Dangar

  • Handling header information present in flat file

    Hi All,
    We have an option to ignore flat file header information present in a flat file while cerating the flat file module.
    We need to extract the file creation date from the header information.Is there any way to make use of that header information?
    Thanks
    Avanish

    We have an option to ignore flat file header information present in a flat file while cerating the flat file module.
    Do not ignore the header
    We need to extract the file creation date from the header information.Is there any way to make use of that header information?
    Take the creation date value from the header, remaining wouldnt be matching so as it will be rejected the remaing values from the header

  • Recovering a deleted bookmark file with 'Rescue my files' need header information of the .json file

    I've reformatted c drive and forgot to keep bookmark backup file. So I'm trying to recover, but the bookmark is a .json type file and I need to add this to the list of files Rescue My Files recognises. To do this I need to input the file header information. Does anybody know how to get the file header information for a .json file

    A JSON backup is a text file that contains data in JavaScript Object Notation format and doesn't have a specific header like an HTML backup has.<br />
    The file should start with: <b><nowiki>{"title":"","id":1,"dateAdded":</nowiki></b><br />
    All following data likes dates is specific to each backup.
    * http://en.wikipedia.org/wiki/JSON

  • Control file : The great mistery

    Hello friends
    I want to know everything about Control file header. Please provide me some links or a complete detail about Control file as message.
    Thanks and Regards
    Sunil Kumar

    Sunil,
    I would second Mark's suggestion that you can find the info about the control file and its contents using the mentioned views. But if you are REALLY looking for all the details underneath, you can dump the control file, burn the midnight oil reading the trace of it. That would give you more than what you probably need.
    You can use the command
    >
    alter session set events 'immediate trace name controlf level 1';
    Level 1 will give the info about the header only. You will find the trace file created by it in the User_dump_dest of your database.
    HTH
    Aman....

  • ORA-00202: control file: '/u01/app/oracle/product/11.2.0.2/db_1/dbs/snapcf_

    RMAN> register database;
    database registered in recovery catalog
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03008: error while performing automatic resync of recovery catalog
    ORA-00206: error in writing (block 29824, # blocks 64) of control file
    ORA-00202: control file: '/u01/app/oracle/product/11.2.0.2/db_1/dbs/snapcf_bibp1.f'
    ORA-27072: File I/O error
    Additional information: 4
    Additional information: 29824
    Additional information: 200704
    I have created catalog server and want to configure on both node.its RAC env. bibp1 and bibp2
    when am trying to register the database when give me above error.

    In 11.2.0.2, the Snapshot Control file must be on a Clustered File System or ASM. It cannot be on a local filesystem.
    See Oracle Support Notes
    RMAN Snapshot Controlfile Must Reside on Shared Device for RAC database in 11G [ID 1263621.1]
    In RAC environment from 11.2 onwards Backup Or Snapshot controlfile needs to be in shared location [ID 1472171.1]
    You need to :
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO <shared_location_file>;Hemant K Chitale

  • Remove RMAN information from target control file

    Dear Gurus,
    Can any one inform me that how I can remove RMAN related information from Target database control file.
    Regards,
    asif

    Recreate the Controlfile.
    1. Generate the script with "ALTER DATABASE BACKUP CONTROLFILE TO TRACE;"
    2. Shutdown the database
    3. Obtain the script from the tracefile in user_dump_dest
    4. Run the CREATE CONTROLFILE portion of the script
    Note : Oracle generally advices a Cold Backup before doing a CREATE CONTROLFILE. If you edit the script and inadvertently miss one or more datafiles from the CREATE command, those datafiles would no longer belong to the database and you wouldn't be able to "add" them back -- you'd have to RESTORE the controlfiles and database.
    Recreating the Controlfile clears all information about recent backups from the controlfile. So this is not a step to be taken lightly. If you do this and, later, need to do a Restore/Recover operation, RMAN wouldn't find information. But that, based on a reading of your question, seems to be what you DO want to do.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Datafile information not in control file!!!

    HI all,
    I up database using 2day before control file. In which datafile information is not there which was added yesterday.
    Datafile physically there. But control file haven’t that datafile information. how could I recover this datafile?
    Help me for resolve this problem without bring down database.
    Ash

    I am not sure whether i understood your question.
    You have a 2 days old controfile backup.
    you have added datafiles to the database.
    you want to recover with old controlfile ?
    If this is the case you can have a look
    http://download.oracle.com/docs/cd/B14117_01/server.101/b10734/recoscen.htm#1006135
    Recovering Through an Added Datafile with a Backup Control File: Scenario section

  • Creation of control file in Oracle 10g

    Hi,
    I had taken the backup of control file(backup control file to trace) and edited it to change the new location of the datafile.But when i try to create the Control file(Startup nomount,@cntrl.sql) it fails with the following error
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01276: Cannot add file
    /oracle/DBS/redolog/DBS/controlfile/o1_mf_2s4ho2n8_.ctl. File has an Oracle
    Managed Files file name.
    how can i recreate it?
    Regards,
    Cherry

    HI,
    what are you actually trying to do...
    relocation of datafile or control file.
    if you want to relocation of data file then go through below link
    http://download-uk.oracle.com/docs/cd/B14117_01/server.101/b10739/dfiles.htm#i1006457
    ORA-01276
    http://www.idevelopment.info/data/Oracle/DBA_tips/Tablespaces/TBS_8.shtml
    hope this helps
    Taj

  • Multiplex control files in Oracle 10g...

    Hi ,
    the Oracle documentation , in one of its books points out....:
    'Once the disk drive is repaired, the damaged control file can be restored using the intact copy of the control file from the other disk and the instance can be restarted'.
    Is it achievable automatically.... or using some kind of sql commands and which , if any.....?????
    Regards,
    Simon

    there's a parameter called
    control_files
    in your spfile/pfile whichever you use.
    You can just multiply as many control files as you wish at OS level (copy) and list them in the parameter, then start your database.

  • Problem while Creating Control files while Cloning the Oracle DB

    Hi,
    I am failrly new to Oracle Administration. I have got the task of cloning our Production database into a new machine. With the help of various articles found over the web I have followed the below mentioned steps
    1)Executed the Alter database command for getting the control file copy.
    2) Taken the Datafiles,Control and redo log files copies into the Target machine.
    3) Copied the Pfile with the neccessary changes into the target machine.
    4) Edited the Create Control file syntax (generated from step 1) and executed the same on the target machine.
    Now the problem I face is that I get the following error while executing the create Control file syntax
    a)ORA-01503 - Creation of Controlfile failed.
    b) ORA-00219 - Required controlfile size 41760 exceeds max allowable size 20000.
    I am really stuck. Both my machine configurations and O/S installed are the same.
    Please advice me on how to Proceed... Thanking you all in advannce.
    Rgds,
    SN.

    Hi Jaffer,
    This is my code........ The control file has been generated by executing the syntax alter database backup controlfile to trace at the source db .
    STARTUP NOMOUNT pfile=ORADATA:ORAHOME1\ADMIN\ORACLE\PFILE\INIT.ORA;
    CREATE CONTROLFILE set DATABASE "ORACLE" RESETLOGS NOARCHIVELOG
    MAXLOGFILES 32
    MAXLOGMEMBERS 2
    MAXDATAFILES 32
    MAXINSTANCES 16
    MAXLOGHISTORY 65535
    LOGFILE
    GROUP 1 'ORADATA:ORAHOME1\ORADATA\ORACLE\LOG2ORCL.ORA' SIZE 200K,
    GROUP 2 'ORADATA:ORAHOME1\ORADATA\ORACLE\LOG1ORCL.ORA' SIZE 200K
    DATAFILE
    'ORADATA:ORAHOME1\ORADATA\ORACLE\SYS1ORCL.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\USR1ORCL.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\RBS1ORCL.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_DATA.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_INDEX.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_KAN_DAT.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_KAN_INDEX.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_KIS_DATA.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_KIS_INDEX.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_LUB_DATA.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BIMBJ01.DBF',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BIMAT01.DBF',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BITPA01.DBF',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BLUBFSINDEFX01.DBF',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\TEMP01.DBF',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_TOOLS.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\IMPORT1.DBF'
    CHARACTER SET WE8ISO8859P1
    # Recovery is required if any of the datafiles are restored backups,
    # or if the last shutdown was not normal or immediate.
    #RECOVER DATABASE
    # Database can now be opened normally.
    #ALTER DATABASE OPEN;
    # No tempfile entries found to add.
    #

  • How can I include the Header Information....for a File to IDOC Scenario

    Hi,
    I made a File to IDOC Scenario with DEBMDM06 for MDM>XI>SAP R/3. The Header Information in the XML File which is at the XI end is Missing. For that reason In Tcode SXMB_MONI we are getting an Error that <b>"HEADER Information Missing: Message should Start with EDI_DC40"</b> i.e the Header Information.
      My Question is that whether we can do some changes in the Message mapping Step in the Integration Repository. I HardCoded the Few mandatory Fields that were there but it Again gave me the Same Error as above.
    Can you please Suggest some Solution for this. Since the data is Coming in from MDM part the Header information is not there but It actually Important as it has got all the Port Information.
      Kindly Inform me some Solutions.
    Thanks & Regards
    Somnath

    Hi Suraj,
      Thanks for ur Reply, but Since we are Doing a File to IDOC Scenario the IDOC DEBMDM is on the Right Side in Message Mapping and as U know it is Mandatory to Map an IDOC on the Right Part. EDI_DC40 is coming as it is there in the IDOC but our XML File Does not have that. If we Don't Map then it Becomes RED, which is an Error.
      Furthermore in the Receiver Agreement we have put the Necessary Details such as Sender Service and Receiver Service along with the IDOC Communication Channels.
      Can U give as a Better Insight on this Note how to check the Header Part as it is mandatory to MAP.We also tried to HARDCODE it by putting those Values and Mapping them to a Constant but it is Giving the Same Error.
    Thanks and Regards
    Somnath

  • Using archivelog and control file from other Oracle server

    I am still bothered with my backup process.
    I have 2 AIX boxes (same model, say A and B); both have BAAN 5 and Oracle 10g R2 on. Right now my colleague insists to use the export pump (cold backup) from Prod Oracle server (A) to restore the Oracle server on Box B. The Prod server has the archivelog mode turn on. But it will miss any transaction data from import pump till the crash point of Box A. So this is my confusion.
    Can I pass the control files and archivelog files form Box A (prod server) to Box B and use them to restore the Box B as the latest Prod server? How?
    I tried to convince them to use the RMAN backup? But not successful?
    I think the best way is probably to use the Oracle Data guard. However, there is always one concern to my manager and colleague, that such process will cause the data on the restored server (failover, Box B) not recognizable by the BAAN, which define the objects (tables).
    Thanks

    Performing a logical backup is not useful to restore to the point of failure. The only valid and available option is a hot backup/archivelog mode. Your recovery manager backup perform a controlfile and redologfile backup, so those can be restored at the destination. You must take care of the way you perform the backup, and ensure the paths where your backup is being deposited are visible by the second node. A shared storage with same mount points is suitable in this case. A tape robot configured at both nodes is also a suitable solution.
    Recovery manager perfoms a controlfile and spfile restore, too. This rman command perform the action:
    SET DBID <DBID of the database,for which you want to restore the controlfile>;
    RESTORE CONTROLFILE FROM <name_of_backupiece_which_contains_the_controlfile backup>';
    I don't see any problem on the recovery manager side, and technically speaking, on the Oracle side it is perfectly possible to restore your database at a remote location. I don't know what happens on the BAAN side, if you are required to have it configured to be operative on the target node. You could try to clone your database at the node B, configure BAAN and prepare the proceduere in case of failure.
    Configuring a dataguard is also a recomended action. So it is to think about Cold Failed Over clusters. I have recently performed a CFC configuration with BAAN. No problem it works smoothly.
    ~ Madrid.

  • How to Use Sequence created in Oracle Database in SQL Ldr Control file

    Hi,
    I created a sequence in oracle database. How will use the sequence in SQL loader Control file.
    Thanks in advance

    Hi,
    You might get a good response to your post in the forum dedicated to data movement , including SQL*Loader . You can find it here Export/Import/SQL Loader & External Tables
    Regards,

Maybe you are looking for

  • Error while updating a task - Task acquired by some other user

    Hi, I have a task assigned to a Group (AdminGroup). To update the outcome of task ie to approve task i am first acquiring the task and then updating the task outcome. But while doing so i am getting following error: Invalid action on workflow task. A

  • Write table to excel at specific location

    Hi! I want to write table to the excel file in the position E23:To J60. Can anybody please tell me the solution. Thanks Kaustubh

  • Delivery document type settings

    Hi all, In standard SAP For LF delivery type, Default order type DL (Delivery with out sales order reference) is assigned.What is the use of this. For delivery with out reference to sales order system will not allow us to use delivery type LF. we onl

  • CS4 Bridge and D90 NEF (RAW)

    HELP HELP HELP I have recently purchased a bran new D90 and am having major issues in getting PS bridge to open the RAW (NEF) files in the CR utility. I have reviewed all the posts on here and tried to follow all the instructions! I have 1) downloade

  • Data Selection error

    When i execute the infosetquery(sq01),it shows "no datawas selected".But when I check in SE16 by giving table name it showsthe number of enteries for patricular dates,and also i check in ODS by right click and manage, showing data for particulr dates