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....

Similar Messages

  • Syntax of mentioning the delimiter of the record in control file.

    how to specify the delimiter of the record in the control file without mentioning the data file name in the control file?
    if you are mentioning the name of the data file in the control file the syntax is as follows:
    LOAD DATA
    INFILE 'tblAgencies.csv' "str X'7c0a'"
    INTO TABLE person_table APPEND
    FIELDS TERMINATED BY ',' ENCLOSED BY '"'
    (name CHAR(30),
    "RESUME" CHAR(50000))
    where 'tblAgencies.csv' is the name of the data file & str X'7c0a' specifies the delimiter.

    how u r downloading the data?
    are you downloading it onto application server or local system?
    Try to download the file in asc mode it will solve your problem.

  • CREATE DATABASE cannot create a control file

    I know, it's not supported. Please refrain from reminding me.
    I am trying to install a second database on an Oracle 8i installation (8.1.7.4) on a Windows 2003 server. I cannot use DBCA because it doesn't work, so I create the databases manually using the script produced by DBCA.
    So I run the following:
    connect INTERNAL@TEST
    startup nomount pfile="C:\oracle\admin\COHPTEST\pfile\initTEST.ora"
    CREATE DATABASE TEST
    LOGFILE 'D:\oracle\oradata\TEST\redo01.log' SIZE 1024K,
    'D:\oracle\oradata\TEST\redo02.log' SIZE 1024K,
    'D:\oracle\oradata\TEST\redo03.log' SIZE 1024K
    MAXLOGFILES 32
    MAXLOGMEMBERS 2
    MAXLOGHISTORY 1
    DATAFILE 'D:\oracle\oradata\TEST\system01.dbf' SIZE 264M REUSE AUTOEXTEND ON NEXT 10240K
    MAXDATAFILES 254
    MAXINSTANCES 1
    CHARACTER SET WE8ISO8859P1
    NATIONAL CHARACTER SET WE8ISO8859P1;
    I receive the following error:
    ORA-01501: CREATE DATABASE failed
    ORA-00200: controlfile could not be created
    ORA-00202: controlfile: 'D:\oracle\oradata\TEST\ctrl01.ctl'
    ORA-27040: skgfrcre: create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    More information:
    1) Added the "Everyone" account to full control on the D: drive, to eliminate the possibility of access issues.
    2) The control files, the alertLog, and just about every other file do not exist before, or after the error.
    3) I cannot produce more detailed information other than what you see. I do not know of a trace that will track this, which would be helpful.
    4) I've tried from both SQLPLUS and SVRMGRL, as well as using INTERNAL, SYS accounts as well as adding sysdba privileges.
    I would love to upgrade this instance, but it has other databases on it, and only one box to run this DB on.
    SO, just to be sure, telling me to upgrade isn't what I am hoping to learn. I would appreciate some insight on how to display the account svrmgrl runs under, or how to get it to run under another user ID that would be great, or why it can't create the file, or a manual way to create the file (CREATE CONTROLFILE is for existing db's only right? )

    Hello, my name is stupid.
    I was using a remote file in my TNS_ADMIN environment value. It was pointing to the old database the whole time. The old database was up and down all day, but no one was on it to notice.
    Answer: Please check your TNS_ADMIN file, to make sure that you do not have any naming conflicts with the database you are creating, and another database with the same name in your collection of databases.
    What happened:
    The reason it could not create the files: There was another TEST database, which was what was connected to, and I tried to create the files on another server which did not have a D: Drive.
    When I switched to C: it stated the files were already in existence, which I knew wasn't true, and what led me to look at what I was connecting to.
    When I checked my TNSNames.Ora file, I noticed the 2nd entry for a database also named "TEST" that a previous DBA had left in there, I realized I was working on the wrong database because it connected to the first database in the TNSNames listed for that SID.
    I removed the entry from the TNSNames file, and the database was created successfully (Manually, DBCA still doesn't work).
    Thanks for all that tried to help, but introspection was the only solution.

  • How to write control file below data

    Hi,
    Here is my table
    create table sample1 (name varchar2(5), num number(2));
    sample.txt(Datafile)
    vikram12
    sharma13
    sonu 14
    Here is my control file
    load data
    infile 'C:\sample.txt'
    into table sample1
    fields terminated by "," optionally enclosed by '"'          
    ( name char(5), num char(2) )
    But it rejecting all the records. Just let me know where i went wrong.
    Thanks in advance

    fields terminated by "," optionally enclosed by
    '"'          As per your control file, the fields have to be seperated by commas but in your datafile it is seperated by space. Either change the delimiter in your control file or in your datafile
    Using Comma Seperated file,
    sample.txt(Datafile)
    vikram,12
    sharma,13
    sonu, 14
    load data
    infile 'C:\sample.txt'
    into table sample1
    fields terminated by ","
    optionally enclosed by '"'
    ( name char(5),
    num char(2)
    )Note:
    1. You have to increase the length of name column as your datafile has values greater than 5 characters. First and second records will be rejected with NAME VARCHAR2(5)

  • Urgent: DBrefresh error 354 while creating control file, oracle9i, SAP R3

    Hi experts,
    I have created trace file in Source system and moved the same to target system and edited and then while executing the trace file to create control file the following eeror is coming
    my trace file is like this. . .
    STARTUP NOMOUNT
    CREATE CONTROLFILE SET DATABASE "P47" RESETLOGS ARCHIVELOG
    --  SET STANDBY TO MAXIMIZE PERFORMANCE
        MAXLOGFILES 255
        MAXLOGMEMBERS 3
        MAXDATAFILES 336
        MAXINSTANCES 50
        MAXLOGHISTORY 8168
      '/oracle/P47/sapdata9/btabd_63/btabd.data63',
      '/oracle/P47/sapdata9/stabi_27/stabi.data27',
      '/oracle/P47/sapdata9/btabi_122/btabi.data122',
      '/oracle/P47/sapdata9/stabd_28/stabd.data28',
      '/oracle/P47/sapdata9/btabi_123/btabi.data123',
      '/oracle/P47/sapdata9/btabd_64/btabd.data64',
      '/oracle/P47/sapdata9/btabi_124/btabi.data124'
    CHARACTER SET WE8DEC
    i run command like this:
    SQL> @/oracle/P47/saptrace/usertrace/control.sql
    ORACLE instance started.
    Total System Global Area          1249618992 bytes
    Fixed Size                                     732208 bytes
    Variable Size                             788529152 bytes 
    Database Buffers                       459022446 bytes
    Redo Buffers                                1335296 bytes
    <b>354</b>
    when I press 'enter' again SQL prompt is comming
    Please help
    rgds

    Hi markus,
    thanks for reply . .
    control files are not created. . . .
    alertSID logs shows as follows
    orap47> tail -f alert_P47.log
    ARCH shutting down
    Thu Dec 13 13:01:51 2007
    ARC0: Archival stopped
    Thu Dec 13 13:01:51 2007
    ARC1: Archival stopped
    Thu Dec 13 13:01:54 2007
    ARCH: Archiving is disabled
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    <b>When @/oracle/saptrace/usertrace/control.sql command given in sepearate SQL window</b>
    Thu Dec 13 13:03:37 2007
    Starting ORACLE instance (normal)
    Disable cache advisory with old cache parameters
    Thu Dec 13 13:03:37 2007
    WARNING: EINVAL creating segment of size 0x000000004b800000
    fix shm parameters in /etc/system or equivalent
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    SCN scheme 3
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 9.2.0.4.0.
    System parameters with non-default values:
      processes                = 80
      sessions                 = 96
      timed_statistics         = TRUE
      shared_pool_size         = 704643072
      enqueue_resources        = 8000
      control_files            = /oracle/P47/sapdata1/cntrl/cntrlP47.dbf, /oracle/P47/sapdata2/cntrl/cntrlP47.dbf, /oracle/P47/sapdata3/cntrl/cntrlP47.dbf
      db_block_buffers         = 56033
      db_block_checksum        = FALSE
      db_block_size            = 8192
      compatible               = 9.2.0
      log_archive_start        = TRUE
      log_archive_dest         = /oracle/P47/saparch/P47arch
      log_buffer               = 1048576
      log_checkpoint_interval  = 0
      db_files                 = 354
      db_file_multiblock_read_count= 8
      log_checkpoints_to_alert = TRUE
      control_file_record_keep_time= 30
      dml_locks                = 2500
      row_locking              = always
      replication_dependency_tracking= FALSE
      transactions_per_rollback_segment= 20
      rollback_segments        = PRS_0, PRS_1, PRS_10, PRS_11, PRS_12, PRS_13, PRS_14, PRS_2, PRS_3, PRS_4, PRS_5, PRS_6, PRS_7, PRS_8, PRS_9
      transaction_auditing     = FALSE
      remote_os_authent        = TRUE
      db_domain                = world
      parallel_max_servers     = 20
      hash_join_enabled        = FALSE
      background_dump_dest     = /oracle/P47/saptrace/background
      user_dump_dest           = /oracle/P47/saptrace/usertrace
      core_dump_dest           = /oracle/P47/saptrace/background
      optimizer_features_enable= 9.2.0
      sort_area_size           = 2097152
      sort_area_retained_size  = 0
      db_name                  = P47
      open_cursors             = 800
      optimizer_mode           = choose
      btree_bitmap_plans     = FALSE
      pushjoin_predicate     = FALSE
      optimizer_index_cost_adj = 10
      newinitial_join_orders = FALSE
      optimpeek_user_binds   = FALSE
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    Thu Dec 13 13:03:39 2007
    ARCH: STARTING ARCH PROCESSES
    ARC0 started with pid=8
    ARC0: Archival started
    ARC1 started with pid=9
    Thu Dec 13 13:03:39 2007
    ARCH: STARTING ARCH PROCESSES COMPLETE
    Thu Dec 13 13:03:39 2007
    ARC0: Thread not mounted
    Thu Dec 13 13:03:39 2007
    ARC1: Archival started
    ARC1: Thread not mounted
    rgds

  • Dynamic location for RTF file in Bursting Control File

    Hi
    I have a query that determines the directory location of the RTF file on the server. (eg. query returns /u01/apps/erpd2/inst/apps/erpd2_mcdeagaix821/temp/XMCI_B2CR009_RFS.rtf
    Instead of hard-coding this location as:
    <xapi:template type="rtf" location="/u01/apps/erpd2/inst/apps/erpd2_mcdeagaix821/temp/XMCI_B2CR009_RFS.rtf">
    </xapi:template>
    I change the above to
    <xapi:template type="rtf" location="${RTF_LOC}">
    </xapi:template>
    and fetch RTF_LOC at the bursting level in the Data template.
    After specifying the location as a token in the bursting control file, the Bursting program errors out. It does not even go to the post-processing stage.
    I have fetched the Outbound SMTP server name in a similar fashion and specified the same as a token in the Bursting XML. It works fine. Also, when I hard-code the same RTF location in the bursting file, it works! Just specifying it as a token errors out the bursting process.
    Pls advise.
    Ritu

    Hi Ritu,
    I am probably too late to help you, but here is an answer for completeness. I had the same problem as you, I needed to make my template selection dynamic.
    The bursting control file below was not working until I applied patch 8594771 (BURSTING DOES NOT SUPPORT ESCAPE CHARACTERS LIKE "FIRST LAST <[email protected]>" )
    I managed to find this patch by running the XML Publisher Report Bursting Program with debug=Yes and got the message "java.util.zip.ZipException: ZIP file must have at least one entry". Searching on Oracle Support for this message delivered patch number 8594771
    Here is my control file:
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
    <xapi:request select="/XX_DUNNING/LIST_G_SITE_USE_ID1/G_SITE_USE_ID1/LIST_G_CORRESPONDENCES/G_CORRESPONDENCES">
    <xapi:delivery>
    <xapi:email server="localhost" port="99"
    from="[email protected]"
    reply-to="[email protected]">
    <xapi:message id="email1" to="${CF_EMAIL_ADDRESS}" cc="${CF_CC_EMAIL_ADDRESS}"
    attachment="true"
    subject="${LIST_G_CUSTOM_LETTER_HEADER/G_CUSTOM_LETTER_HEADER/HEADER_TEXT}">
    ${LIST_G_CUSTOM_LETTER_FOOTER/G_CUSTOM_LETTER_FOOTER/FOOTER_TEXT}
    </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output-type="pdf" delivery="email1">
    <xapi:template type="xsl-fo" location="${TEMPLATE_NAME}"
    filter=".//G_CORRESPONDENCES[DUNNING_METHOD='Email']">
    </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    location="xdo://XX.${LETTER_NAME}.en.00" also worked
    Regards,
    Ruth Miller

  • How to use old archieve logs with a new control file

    Environment:
    ORACLE_BASE="/export/home/oracle"
    ORACLE_HOME="/export/home/oracle/product/8.1.6"
    NLS_LANG=".UTF8"
    2 partitions:
    i) /data1 -- contains important datafiles (OS striping on 3 hard
    disks)
    ii) /export/home -- contains the oracle program, and SYS/SYSTEM
    datafiles
    Problem:
    -/data1 cannot be read/mount (damaged)
    -oracle failed
    Action Performed:
    -reinstalled OS
    -mount /export/home successfully (all oracle system files,
    instance init files exist)
    -/data1 is an empty partition
    -created the oracle user, and its groups
    -chown recusively for the $ORACLE_BASE directory
    -set all the oracle environment variables
    -attempted to start the instance, but failed due to a control
    file was
    missing
    -since control files were set to be mirrored, i copied a control
    file somewhere
    from /export/home/oracle/oradata/<SID>/control1.ctl to
    /data1/oracle/oradata/<SID>/control2.ctl (i.e. have them back to
    their original locations)
    -the instance failed to start as well, since the datafile set in
    the control files couldn't be found
    -this forced me to re-create the control file... b4 i re-create
    a new control file, i backed up the old one
    -once the control file was created, the database can be started,
    but, to oracle, all achieve log information are lost (although
    the achieve log's physical files r still there)
    -i imported the important data from a dump file that was
    exported a week ago b4 the system failure
    -since we r using the new control file, the redo logs switch
    contains no achieve log information that the old control file
    has, so running "recover database" doesn't do anything
    Purpose:
    since the dump file is a week old, i'd like to get the data
    after my last export and b4 the system failure. the database was
    run in arhieve log mode, how can i recover those data with the
    new control file
    Question:
    -how can we create a new control file that can drive the old
    achieve logs?
    -can we convert the achieve log data (.dbf format) into text
    format?
    -can we still use the old control files to start the database?
    -what's a suggested solution if we'd like to re-construct the
    database up to the moment b4 the system failure in another
    server?
    thx

    user3930585 wrote:
    I am in an unenviable position, with an unsupported database.
    We are running Oracle 9i on Windows XP. We are upgrading soon to Oracle 11g on a newer platform, but need to get our development environment working first.
    We lost a system that was running our development database without having a database export. The C drive was placed into a new system as the D drive.
    I have loaded Oracle 9i on the C drive, but I have been unable to determine how to point it to the existing data files on the D drive. My search skills may be the limiting factor here...
    We cannot simply load the drive as C, since the hardware is different.
    What are the steps to point the new database software at the data files on the D drive? Or, how do I copy the old data files into the new Oracle Home and have them recognized properly?
    Are you stating that you don't know how to use COPY command?
    Can you recreate same directory structure on new C drive as exist on old C drive?
    Can you then drag & drop copies of the files?

  • Control File Date/Time Field

    Hello all,
    Im using SQL Loader to load a text file into a database table. Im having an issue with one of the fields that contains date and time. Here's what I have:
    Data:
    Customer 1|850510|C2117-2972A|2011-07-07 00:00:00|21172972|BA
    Customer 2|850511|C2118-2972A|2011-04-07 00:00:00|21172972|BA
    Customer 3|850512|C2119-2972A|2011-12-07 00:00:00|21172972|BA
    Customer 4|850513|C2120-2972A|2011-11-07 00:00:00|21172972|BA
    Customer 5|850514|C2121-2972A|2011-10-07 00:00:00|21172972|BA
    Customer 6|850515|C2122-2972A|2011-02-07 00:00:00|21172972|BA
    Customer 7|850516|C2123-2972A|2011-01-07 00:00:00|21172972|BA
    Control File:
    LOAD DATA
    APPEND
    INTO TABLE MYTBL
    FIELDS TERMINATED BY "|"
    TRAILING NULLCOLS
         response_key "response_seq.NEXTVAL",
         response_dt "sysdate",
         response_cust,
         response_mcn INTEGER,
         response_isc,
         response_id "to_date(:response_id,'YYYY-MM-DD HH:MI:SS')",
         response_ordernum INTEGER,
         response_too
    LOG Results:
    Column Name Position Len Term Encl Datatype
    RESPONSE_KEY FIRST * | CHARACTER
    SQL string for column : "seq_response_seq.NEXTVAL"
    RESPONSE_DT NEXT * | CHARACTER
    SQL string for column : "sysdate"
    RESPONSE_CUST NEXT * | CHARACTER
    RESPONSE_MCN NEXT 4 INTEGER
    RESPONSE_ISC NEXT * | CHARACTER
    RESPONSE_ID NEXT * | CHARACTER
    SQL string for column : "to_date(:response_id,'YYYY-MM-DD HH:MI:SS')"
    RESPONSE_ORDERNUM NEXT 4 INTEGER
    RESPONSE_TOO NEXT * | CHARACTER
    Record 1: Rejected - Error on table "MYDB"."MYTBL", column RESPONSE_ID.
    ORA-01861: literal does not match format string
    Record 2: Rejected - Error on table "MYDB"."MYTBL", column RESPONSE_ID.
    ORA-01861: literal does not match format string
    Record 3: Rejected - Error on table "MYDB"."MYTBL", column RESPONSE_ID.
    ORA-01861: literal does not match format string
    Record 4: Rejected - Error on table "MYDB"."MYTBL", column RESPONSE_ID.
    ORA-01861: literal does not match format string
    Record 5: Rejected - Error on table "MYDB"."MYTBL", column RESPONSE_ID.
    ORA-01861: literal does not match format string
    Record 6: Rejected - Error on table "MYDB"."MYTBL", column RESPONSE_ID.
    ORA-01861: literal does not match format string
    Record 7: Rejected - Error on table "MYDB"."MYTBL", column RESPONSE_ID.
    ORA-01861: literal does not match format string
    How do I format the date correctly?
    Thanks.
    Edited by: 875809 on Jul 29, 2011 1:07 PM

    I suspect your data fields aren't lining up with your control file the way you expect them to...
    For example, using the first record
    Customer 1|850510|C2117-2972A|2011-07-07 00:00:00|21172972|BA
    response_key = "Customer 1" , overridden by response_seq.NEXTVAL
    response_dt = "850510" , overridden by sysdate
    response_cust = "C2117-2972A"
    response_mcn = "2011"
    response_isc = "-07-07 00:00:00"
    response_id = "21172972", with the function attempted as "to_date('21172971','YYYY-MM-DD HH:MI:SS')",
    response_ordernum = "BA"
    response_too = ???
    You might consider EXPRESSION fields, which let you insert a calculated value, but don't replace a data field in the source record:
    LOAD DATA
    APPEND
    INTO TABLE MYTBL
    FIELDS TERMINATED BY "|"
    TRAILING NULLCOLS
    response_key EXPRESSION "response_seq.NEXTVAL",
    response_dt EXPRESSION "sysdate",
    response_cust,
    response_mcn INTEGER,
    response_isc,
    response_id "to_date(:response_id,'YYYY-MM-DD HH:MI:SS')",
    response_ordernum INTEGER,
    response_too
    )which results in
    response_key = response_seq.NEXTVAL
    response_dt = sysdate
    response_cust = "Customer 1"
    response_mcn = "850510"
    response_isc = "C2117-2972A"
    response_id = "2011-07-07 00:00:00", with the function interpreted as "to_date('2011-07-07 00:00:00','YYYY-MM-DD HH:MI:SS')",
    response_ordernum = "21172972"
    response_too = "BA"

  • Cannot open database Control file error

    I am new to Oracle db and while trying to multiplex the control files something went wrong. Now i am not able to open the db and it is in mount state.
    when i try to startup force the database i get the following errors:
    SQL> startup force
    ORACLE instance started.
    Total System Global Area 599785472 bytes
    Fixed Size 1250356 bytes
    Variable Size 260049868 bytes
    Database Buffers 331350016 bytes
    Redo Buffers 7135232 bytes
    Database mounted.
    ORA-01122: database file 1 failed verification check
    ORA-01110: data file 1: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\SREE\SYSTEM01
    ORA-01207: file is more recent than control file - old control file
    The database is in noarchivelog mode and i dont have any backup of it :(.
    As the data is not critical i dont want to recove the data, i just want to bring my Database to Open state! Is it possible??
    Thanks
    Sree

    hi
    you can create new controlfile
    Creating a Controlfile: Example
    This statement re-creates a control file. In this statement, database demo was created with the WE8MSWIN1252 character set. The example uses the word path where you would normally insert the path on your system to the appropriate Oracle Database directories.
    STARTUP NOMOUNT
    CREATE CONTROLFILE REUSE DATABASE "ORABASE" NORESETLOGS NOARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    MAXINSTANCES 8
    MAXLOGHISTORY 292
    LOGFILE
    GROUP 1 'C:\APP\ORACLE\ORADATA\ORABASE\REDO01.LOG' SIZE 50M,
    GROUP 2 'C:\APP\ORACLE\ORADATA\ORABASE\REDO02.LOG' SIZE 50M,
    GROUP 3 'C:\APP\ORACLE\ORADATA\ORABASE\REDO03.LOG' SIZE 50M
    -- STANDBY LOGFILE
    DATAFILE
    'C:\APP\ORACLE\ORADATA\ORABASE\SYSTEM01.DBF',
    'C:\APP\ORACLE\ORADATA\ORABASE\SYSAUX01.DBF',
    'C:\APP\ORACLE\ORADATA\ORABASE\UNDOTBS01.DBF',
    'C:\APP\ORACLE\ORADATA\ORABASE\USERS01.DBF',
    'C:\APP\ORACLE\ORADATA\ORABASE\EXAMPLE01.DBF',
    'C:\APP\ORACLE\ORADATA\ORABASE\UWDATA01.DBF'
    CHARACTER SET WE8MSWIN1252;
    -- Commands to re-create incarnation table
    -- Below log names MUST be changed to existing filenames on
    -- disk. Any one log file from each branch can be used to
    -- re-create incarnation records.
    -- ALTER DATABASE REGISTER LOGFILE 'C:\APP\ORACLE\FLASH_RECOVERY_AREA\ORABASE\ARCHIVELOG\2009_02_02\O1_MF_1_1_%U_.ARC';
    -- ALTER DATABASE REGISTER LOGFILE 'C:\APP\ORACLE\FLASH_RECOVERY_AREA\ORABASE\ARCHIVELOG\2009_02_02\O1_MF_1_1_%U_.ARC';
    -- 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;
    -- Commands to add tempfiles to temporary tablespaces.
    -- Online tempfiles have complete space information.
    -- Other tempfiles may require adjustment.
    ALTER TABLESPACE TEMP ADD TEMPFILE 'C:\APP\ORACLE\ORADATA\ORABASE\TEMP01.DBF'
    SIZE 20971520 REUSE AUTOEXTEND ON NEXT 655360 MAXSIZE 32767M;
    -- End of tempfile additions.
    -- Set #2. RESETLOGS case
    -- The following commands will create a new control file and use it
    -- to open the database.
    -- Data used by Recovery Manager will be lost.
    -- The contents of online logs will be lost and all backups will
    -- be invalidated. Use this only if online logs are damaged.
    -- After mounting the created controlfile, the following SQL
    -- statement will place the database in the appropriate
    -- protection mode:
    -- ALTER DATABASE SET STANDBY DATABASE TO MAXIMIZE PERFORMANCE
    http://psoug.org/reference/control_file.html
    http://www.comp.dit.ie/btierney/oracle11gdoc/server.111/b28286/statements_5003.htm
    hope this helps
    zekeriya

  • Control file not created at time of installtion

    control file not created at time of installtion of oracle database
    now how we can create it
    see alert file
    Dump file e:\ORacle\admin\new\bdump\newALRT.LOG
    Tue Sep 09 10:45:53 2003
    ORACLE V8.1.6.0.0 - Production vsnsta=0
    vsnsql=e vsnxtr=3
    Windows 2000 Version 5.0 , CPU type 586
    Starting up ORACLE RDBMS Version: 8.1.6.0.0.
    System parameters with non-default values:
    processes = 59
    shared_pool_size = 52428800
    large_pool_size = 614400
    java_pool_size = 20971520
    control_files = e:\ORacle\oradata\new\control01.ctl, e:\ORacle\oradata\new\control02.ctl, e:\ORacle\oradata\new\control03.ctl
    db_block_buffers = 19200
    db_block_size = 8192
    compatible = 8.1.0
    log_buffer = 32768
    log_checkpoint_interval = 10000
    log_checkpoint_timeout = 1800
    db_files = 1024
    db_file_multiblock_read_count= 8
    max_enabled_roles = 30
    remote_login_passwordfile= EXCLUSIVE
    global_names = TRUE
    distributed_transactions = 500
    instance_name = new
    service_names = new
    mts_dispatchers = (PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)
    open_links = 4
    sort_area_size = 65536
    sort_area_retained_size = 65536
    db_name = new
    open_cursors = 100
    os_authent_prefix =
    job_queue_processes = 0
    job_queue_interval = 10
    parallel_max_servers = 5
    background_dump_dest = e:\ORacle\admin\new\bdump
    user_dump_dest = e:\ORacle\admin\new\udump
    max_dump_file_size = 10240
    oracle_trace_collection_name=
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    Tue Sep 09 10:45:55 2003
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Tue Sep 09 10:45:58 2003
    create controlfile reuse set database new
    datafile 'e:\ORacle\oradata\new\system01.dbf',
    'e:\ORacle\oradata\new\temp01.dbf',
    'e:\ORacle\oradata\new\rbs01.dbf',
    'e:\ORacle\oradata\new\indx01.dbf',
    'e:\ORacle\oradata\new\tools01.dbf',
    'e:\ORacle\oradata\new\dr01.dbf',
    'e:\ORacle\oradata\new\users01.dbf'
    logfile 'e:\ORacle\oradata\new\redo01.log' size 1M,
    'e:\ORacle\oradata\new\redo02.log' size 1M,
    'e:\ORacle\oradata\new\redo03.log' size 1M resetlogs
    Tue Sep 09 10:46:03 2003
    ORA-1503 signalled during: create controlfile reuse set database new
    datafile...
    Tue Sep 09 10:46:03 2003
    alter database new open resetlogs
    ORA-1507 signalled during: alter database new open resetlogs...
    Tue Sep 09 10:46:14 2003
    alter database new character set WE8ISO8859P1
    Tue Sep 09 10:46:14 2003
    ORA-1507 signalled during: alter database new character set WE8ISO8859P1...
    Tue Sep 09 10:46:14 2003
    alter database new national character set WE8ISO8859P1
    ORA-1507 signalled during: alter database new national character set WE8ISO88...
    Shutting down instance (normal)
    License high water mark = 1
    Tue Sep 09 10:46:15 2003
    ALTER DATABASE CLOSE NORMAL
    ORA-1507 signalled during: ALTER DATABASE CLOSE NORMAL...
    archiving is disabled
    Starting up ORACLE RDBMS Version: 8.1.6.0.0.
    System parameters with non-default values:
    processes = 59
    shared_pool_size = 52428800
    large_pool_size = 614400
    java_pool_size = 20971520
    control_files = e:\ORacle\oradata\new\control01.ctl, e:\ORacle\oradata\new\control02.ctl, e:\ORacle\oradata\new\control03.ctl
    db_block_buffers = 19200
    db_block_size = 8192
    compatible = 8.1.0
    log_buffer = 32768
    log_checkpoint_interval = 10000
    log_checkpoint_timeout = 1800
    db_files = 1024
    db_file_multiblock_read_count= 8
    max_enabled_roles = 30
    remote_login_passwordfile= EXCLUSIVE
    global_names = TRUE
    distributed_transactions = 500
    instance_name = new
    service_names = new
    mts_dispatchers = (PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)
    open_links = 4
    sort_area_size = 65536
    sort_area_retained_size = 65536
    db_name = new
    open_cursors = 100
    os_authent_prefix =
    job_queue_processes = 4
    job_queue_interval = 10
    parallel_max_servers = 5
    background_dump_dest = e:\ORacle\admin\new\bdump
    user_dump_dest = e:\ORacle\admin\new\udump
    max_dump_file_size = 10240
    oracle_trace_collection_name=
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    SNP0 started with pid=8
    SNP1 started with pid=9
    SNP2 started with pid=10
    SNP3 started with pid=11
    Tue Sep 09 10:46:30 2003
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Tue Sep 09 10:46:31 2003
    alter database mount
    Tue Sep 09 10:46:34 2003
    ORA-00202: controlfile: 'e:\ORacle\oradata\new\control01.ctl'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Tue Sep 09 10:46:34 2003
    ORA-205 signalled during: alter database mount...
    Dump file e:\ORacle\admin\new\bdump\newALRT.LOG
    Tue Sep 09 11:18:54 2003
    ORACLE V8.1.6.0.0 - Production vsnsta=0
    vsnsql=e vsnxtr=3
    Windows 2000 Version 5.0 , CPU type 586
    Starting up ORACLE RDBMS Version: 8.1.6.0.0.
    System parameters with non-default values:
    processes = 59
    shared_pool_size = 52428800
    large_pool_size = 614400
    java_pool_size = 20971520
    control_files = e:\ORacle\oradata\new\control01.ctl, e:\ORacle\oradata\new\control02.ctl, e:\ORacle\oradata\new\control03.ctl
    db_block_buffers = 19200
    db_block_size = 8192
    compatible = 8.1.0
    log_buffer = 32768
    log_checkpoint_interval = 10000
    log_checkpoint_timeout = 1800
    db_files = 1024
    db_file_multiblock_read_count= 8
    max_enabled_roles = 30
    remote_login_passwordfile= EXCLUSIVE
    global_names = TRUE
    distributed_transactions = 500
    instance_name = new
    service_names = new
    mts_dispatchers = (PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)
    open_links = 4
    sort_area_size = 65536
    sort_area_retained_size = 65536
    db_name = new
    open_cursors = 100
    os_authent_prefix =
    job_queue_processes = 4
    job_queue_interval = 10
    parallel_max_servers = 5
    background_dump_dest = e:\ORacle\admin\new\bdump
    user_dump_dest = e:\ORacle\admin\new\udump
    max_dump_file_size = 10240
    oracle_trace_collection_name=
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    SNP0 started with pid=8
    SNP1 started with pid=9
    SNP2 started with pid=10
    SNP3 started with pid=11
    Tue Sep 09 11:18:57 2003
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Tue Sep 09 11:18:58 2003
    alter database mount exclusive
    Tue Sep 09 11:19:01 2003
    ORA-00202: controlfile: 'e:\ORacle\oradata\new\control01.ctl'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Tue Sep 09 11:19:01 2003
    ORA-205 signalled during: alter database mount exclusive...
    Shutting down instance (abort)
    License high water mark = 5
    Instance terminated by USER, pid = 1156
    Dump file e:\ORacle\admin\new\bdump\newALRT.LOG
    Tue Sep 09 11:22:12 2003
    ORACLE V8.1.6.0.0 - Production vsnsta=0
    vsnsql=e vsnxtr=3
    Windows 2000 Version 5.0 , CPU type 586
    Starting up ORACLE RDBMS Version: 8.1.6.0.0.
    System parameters with non-default values:
    processes = 59
    shared_pool_size = 52428800
    large_pool_size = 614400
    java_pool_size = 20971520
    control_files = e:\ORacle\oradata\new\control01.ctl, e:\ORacle\oradata\new\control02.ctl, e:\ORacle\oradata\new\control03.ctl
    db_block_buffers = 19200
    db_block_size = 8192
    compatible = 8.1.0
    log_buffer = 32768
    log_checkpoint_interval = 10000
    log_checkpoint_timeout = 1800
    db_files = 1024
    db_file_multiblock_read_count= 8
    max_enabled_roles = 30
    remote_login_passwordfile= EXCLUSIVE
    global_names = TRUE
    distributed_transactions = 500
    instance_name = new
    service_names = new
    mts_dispatchers = (PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)
    open_links = 4
    sort_area_size = 65536
    sort_area_retained_size = 65536
    db_name = new
    open_cursors = 100
    os_authent_prefix =
    job_queue_processes = 4
    job_queue_interval = 10
    parallel_max_servers = 5
    background_dump_dest = e:\ORacle\admin\new\bdump
    user_dump_dest = e:\ORacle\admin\new\udump
    max_dump_file_size = 10240
    oracle_trace_collection_name=
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    SNP0 started with pid=8
    SNP1 started with pid=9
    SNP2 started with pid=10
    SNP3 started with pid=11
    Tue Sep 09 11:22:15 2003
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Tue Sep 09 11:22:16 2003
    alter database mount exclusive
    Tue Sep 09 11:22:19 2003
    ORA-00202: controlfile: 'e:\ORacle\oradata\new\control01.ctl'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.

    Hi Kuljeet,
    since you have a Windows system, I suggest you to open Windows explorer and check if all the 3 control files are there or not in the given location. It seems that your control01.ctl file is missing. If so then you have 2 options;
    1. Delete the entry from the parameter file for this control file so that Oracle does not use this file at all.
    OR
    2. Shut down your database normally and then copy the control02.ctl or control03.ctl manually with the copy command and rename it to control01.ctl. If you follow this option you need not delete the control01.ctl entry from the parameter file. But note to copy the control file the database has to be shutdown normally.

  • What is Control file ?

    Hi Gurus,
    Please explain me that what is Control file and what was the purpose of it in SAP Oracle DataBase.
    Thanks.

    Hi Kalyan
    <b>What Is a Control File?</b>
    Every Oracle Database has a control file, which is a small binary file that records the physical structure of the database. The control file includes:
    The database name
    Names and locations of associated datafiles and redo log files
    The timestamp of the database creation
    The current log sequence number
    Checkpoint information
    The control file must be available for writing by the Oracle Database server whenever the database is open. Without the control file, the database cannot be mounted and recovery is difficult.
    The control file of an Oracle Database is created at the same time as the database. By default, at least one copy of the control file is created during database creation. On some operating systems the default is to create multiple copies. You should create two or more copies of the control file during database creation. You can also create control files later, if you lose control files or want to change particular settings in the control files.
    <b>Guidelines for Control Files</b>
    This describes guidelines you can use to manage the control files for a database, and contains the following topics:
    Provide Filenames for the Control Files
    Multiplex Control Files on Different Disks
    Back Up Control Files
    Manage the Size of Control Files
    Role of Control File will remain the same even when you use Oracle with SAP. Just there will be some more entries in the file.
    Refer the link below as well:
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14231/control.htm#i1006143
    Hope this should clear you doubt.
    Regards
      Sumit Jain
    [Reward with points if useful]
    Message was edited by:
            Sumit Jain

  • Path file control indicating the installation file directory

    Hello,
    I'm making a package on labview 6.1.
    Once this package is installed on a pc the software will use some txt files.
    On my code I specified the directory of these txt file but if the user want to change the install directory given by default, the txt file will be no more accessible.
    Is there a possibilty to put a control in the labview code that allow to take the real install directory of the exe and then indicate the name of the txt file.
    Thanks for your help
    Regards
    Popo

    Dr. Imad, et al.,
    I just wanted to expand on your post to clarify the intermediate steps that must be taken for this to work correctly.
    The output from the "Current VI's Path" vi needs to be wired to a
    "Strip Path" vi to remove the current vi's name from the path. 
    The "stripped path" terminal is then wired to the "base path" terminal
    of a "Build Path" vi.
    Thank you for the great information; it helped me over a hurdle I had been struggling with.
    DaBayer

  • Some users are experiencing difficulty opening certain docx files sent as email attachments. These files contain content controls to protect data in the document. Could someone please confirm that the content controls are the reason the files won't open.

    Some users are experiencing difficulty opening certain docx files sent as email attachments. These files contain content controls to protect data in the document. Could someone please confirm that the content controls are the reason the files won't open.
    These files open correctly when sent as doc files.
    Thanks

    Congrats to Saeid, Ronen, and Ricardo! Big thank you to all our contributors!
     Transact-SQL Technical Guru - February 2015  
    Saeid Hasani
    T-SQL: How the Order of Elements in the ORDER BY Clause Implemented in the Output Result
    Durval Ramos: "Very well structured and with examples that clarify how a T-SQL statement can change the data output order."
    Richard Mueller: "Good use of Wiki guidelines and great examples."
    Ronen Ariely
    Free E-Books about SQL and Transact-SQL languages
    Richard Mueller: "An excellent collection and a great idea."
    Durval Ramos: "A good initiative. Very useful !!!"
    Ricardo Lacerda
    Declare Cursor (Transact-SQL) versus Window with Over - Running Totals
    - Accumulated Earnings
    Durval Ramos: "The "Window function" sample was well presented, but it was unclear how the chart was generated."
    Richard Mueller: "A new idea that can be very useful. Grammar needs work"
    Also worth a mention were the other entries this month:
    [T-SQL] Retrieve Table List with Number of Rows by
    Emiliano Musso
    Richard Mueller: "Short but sweet solution to basic question."
    Durval Ramos: "A simple T-SQL script, but useful."
    [T-SQL] Search for Missing Values within a Numerical Sequence by
    Emiliano Musso
    Richard Mueller: "Clever solution with good code examples."
    Durval Ramos: "You need add more details about development of the idea and create a "Conclusion" section to easy understanding."
    [T-SQL] Converting Multiple Rows into HTML Format single ROW by
    Maheen Khizar (Bint-e-Adam)
    Durval Ramos: "In some situations, It's need to consume and format HTML tags for a UI, but It's important to remember that Best Practices recommend this formatting process preferably in Presentation Layer"
    Richard Mueller: "A great new idea. Some features need more explanation. Avoid first person."
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • How can i validate the data in the control file?

    Consider that the SQLLoader reads the Input data File from the path and it loads the data into the tables based up on the descrition specified in the control File.
    First, the table to be filled is created:
    create table sql_loader_1 ( load_time date, field_1 Numeric, field_2 varchar2(10)
    Sample Control File :
    load_1.ctl
    load data
    infile 'load_1.dat' "str '\r\n'"
    insert into table sql_loader_1
    load_time sysdate,
    field_2 position( 1:10),
    field_1 position(11:20)
    Note that the positions 11 through 20 are loaded into field_1 and positions 1 through 10 into field_2. The field load_time is filled with the current time (sysdate) of the load.
    Here's the data. The name of the file (load_1.dat) had been specified with the infile statement in the control file.
    load_1.dat
    0123456789abcdefghij
    foo bar
    here comes a very long line
    and the next is
    short
    Here i want to validate the field_1 (Numeric Datatype) since the data file contains the character value (i.e)abcdefghij

    Good question for this forum:
    Export/Import/SQL Loader & External Tables
    Werner

  • Bursting Control file, Error!! Could not deliver the output for Delivery

    Hi,
    I am using bursting control file to send report output to email in R12.1.3.
    If the report output is having data, it is working fine. if there is no data it is getting errored out with the below message.
    "Error!! Could not deliver the output for Delivery channel:null "
    In the report output i put "No data found", when i click on view output the output in application is showing as "NO DATA FOUND" in PDF .
    "Bursting VMC Approved Purchase Orders for a period (XML Publisher Report Bursting Program)" got above error.
    my requirement is if there is no data, still i require the output to email.
    Thanks in Advance
    Adina.

    Hi,
    I am facing the same situation and want the bursting program to finish in normal even when there is no data.
    Can you please let me know how you resolved this?
    Thanks
    RG

Maybe you are looking for

  • Consuming Web Services with Web Dynpro Java

    Hi All, I've been searching around for a weblog that would describe building a web dynpro java app that consumes a web service. Ideally, I'm looking for something that has at least two views. Does anyone know of good weblogs that address this? Thanks

  • Aperture 3.4.1 can't import .mov files

    I upgraded to Aperture 3.4.1 on my OS 10.8.2 iMac and can no longer import video (.mov) files from my Canon powershot S95. I get an unsupported file error. iPhoto allowed me to import but the previews are garbled in Aperture and it can't play the vid

  • Static ip address 97.82.184.234

    Hey, i need help with a static ip address setup on a linksys E1200 wireless router. i want to use the ip address 97.82.184.234. i want to use this address because it was the default address of my minecraft server, but, however, has changed after the

  • Deactivate Portal server node from Web dispatcher, but still keep online

    We want to deactivate a Portal server node from the Web dispatcher. We also need to connect directly to the specific node.  We configured the Server Node using  Config Tool --> Server_ID####### --> Debug --> Debuggable --> Restricted Load Balancing.

  • Search doesnt work

    Iphone search doesnt work