If it is not specified,Oracle creates one control file in a default locatio

Hi
The CONTROL_FILES parameter is not required when you create a database. If it is not specified,Oracle creates one control file in a default location,.
Where oracle create contol file default in this condition
Thanks

Can you try to create a database and see
FYI
It creates in $ORACLE_HOME\database folder..if not specified but in UNIX i think it will be under $ORACLE_HOME/dbs
Because i dont have UNIX right now to test it
Message was edited by:
Maran Viswarayar

Similar Messages

  • How to create one ISO file large than 2G

    hi,
    here when I create one ISO with 3G(larger than 2G) on solaris 10 machine, I met below error:
    mkisofs: File too large. cannot fwrite 32768*1
    Anyone has suggestion for this problem? How to create one ISO files larger than 2G?
    See the detail logs information:
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    mkisofs -o my.iso -A "Software DVD" -D -L -P "Study "-p CBC/XLE -r -T -V R50 -v iso
    mkisofs: The option '-L' is reserved by POSIX.1-2001.
    mkisofs: The option '-L' means 'follow all symbolic links'.
    mkisofs: Mkisofs-2.02 will introduce POSIX semantics for '-L'.
    mkisofs: Use -allow-leading-dots in future to get old mkisofs behavior.
    mkisofs: The option '-P' is reserved by POSIX.1-2001.
    mkisofs: The option '-P' means 'do not follow symbolic links'.
    mkisofs: Mkisofs-2.02 will introduce POSIX semantics for '-P'.
    mkisofs: Use -publisher in future to get old mkisofs behavior.
    Warning: creating filesystem that does not conform to ISO-9660.
    mkisofs 2.01 (sparc-sun-solaris2.10)
    Scanning iso
    Scanning iso/rac_stage3
    Using RAC_S000 for /rac_stage2 (rac_stage1)
    Using RAC_S001 for /rac_stage1 (rac_stage3)
    Using INSTA000.1;1 for ..
    Writing: The File(s) Start Block 48
    0.42% done, estimate finish Thu Feb 1 16:12:35 2007
    0.84% done, estimate finish Thu Feb 1 16:12:36 2007
    1.26% done, estimate finish Thu Feb 1 16:12:36 2007
    1.69% done, estimate finish Thu Feb 1 16:12:36 2007
    2.11% done, estimate finish Thu Feb 1 16:12:36 2007

    87.65% done, estimate finish Thu Feb 1 16:14:54 2007
    88.07% done, estimate finish Thu Feb 1 16:14:54 2007
    mkisofs: File too large. cannot fwrite 32768*1
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Thanks!

    does it matter "copy protection" ? for the problem that i have?
    my computer is alwyes get stuck while i trying to made a dvd or image
    i made few disks wite menu in the past & i had not problems at all

  • How do i create one source file that feeds two users on the same pro book?

    how do i create one source file/folder of photos that feeds two users on the same pro book?

    Well you can do exactly the same with a folder of photos, just put in the Users/Shared folder.
    Iphoto is a mite more complex than this. It's a database and so there's a bit more involved.
    For iPhoto 09 (version 8.0.2) and later:
    What you mean by 'share'.
    If you want the other user to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account. In that account, enable 'Look For Shared Libraries'. Your Library will appear in the other source pane.
    Any user can drag a pic from the Shared Library to their own in the iPhoto Window.
    Remember iPhoto must be running in both accounts for this to work.
    If you want the other user to have the same access to the library as you: to be able to add, edit, organise, keyword etc.
    Quit iPhoto in both accounts. Move the Library to the Users / Shared Folder
    (You can also use an external HD set to ignore permissions, a Disk Image or even partition your Hard Disk.)
    In each account in turn: Double click on the Library to open it. (You may be asked to repair the Library Permissions.) From that point on, this will be the default library location. Both accounts will have full access to the library, in fact, both accounts will 'own' it.
    However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up.

  • Creating a Control File

    I have a question about creating another control file. If I want to create another control file, do I need to put the values/paths of the current control files in the CREATE CONTROLFILE statement?

    996403 wrote:
    If I am wanting to create a new control file, do you recommend:
    1. Use the Create Control file statementWhen to Create New Control Files:
    All control files for the database have been permanently damaged/missing and you do not have a control file backup.
    You want to change one of the permanent database parameter settings originally specified in the CREATE DATABASE statement.
    These settings include the database name and the following parameters: MAXLOGFILES, MAXLOGMEMBERS, MAXLOGHISTORY, MAXDATAFILES, and MAXINSTANCES.
    For example, you would change a database name if it conflicted with another database name in a distributed environment,
    or you would change the value of MAXLOGFILES if the original setting is too low.
    2. Copy an existing control file and then edit the parameter file?i will recommend 2nd (if you have healthy control file) if you want multiplex control files.

  • Bulk Load data without specifying column names in control file

    I am totally new to the world of Oracle databases and am having some trouble doing some basic data imports from a csv file. I have a large amount of data in an excel spreadsheet (a couple hundred columns by varying numbers of rows from 2- several thousand) which I want to import into my Oracle 11g Database. Currently I am trying to use sql loader and specify the import syntax in the control file. From the examples I've seen so far, it seems you must specify the columns individually for what you are importing. This is simply not reasonable for several hundred columns of data.
    Is there sql loader syntax (or a better method all together) to import a comma delimited csv or excel spreadsheet into an oracle database where it automatically generates a table and columns based on the data in the target import file? Even if I must first create the table in the database, my key issue is being able to generate the column names during import to match the column headers in the import file. I appreciate any help you could provide.
    FYI here is my first meager attempt at importing a comma delimited csv, here is my ctl file:
    load data
    infile 'C:\filepath\mock_data.csv'
    into table allData
    fields terminated by "," optionally enclosed by '"'
    It says Syntax error at line 4. Expecting "(", found end of file.
    I suspect there is more at issue here than a missing "("

    You have to create the control file to map to the table.
    Since you would already have created the tables, you could generate the controlfiles based on the table structures.
    See the "unloader.zip" file under the Files link at http://asktom.oracle.com
    -- it has scripts to create unload a table to a flat file and to create the SQLLoader controlfile to reload that data to another target database. It would be the second set of scripts that you can use.
    Hemant K Chitale

  • How to dynamically create sqlldr control file using stored procedure

    I am trying to dynamically create the control file (.ctl) and execute the same using a stored procedure.I would be passing the file name as a parameter to this procedure. How do I go about doing this?
    The control file has the following structure. The file name (mktg) varies and is passed as an input to the stored procedure.
    SPOOL mktg.ctl
    LOAD DATA
    INFILE 'mktg.csv'
    INTO TABLE staging
    FIELDS TERMINATED BY ','
    TRAILING NULLCOLS
    (COMPANY_NAME,
    ADDRESS,
    CITY,
    STATE,
    ZIP)
    SPOOL OFF ;
    sqlldr scott/tiger CONTROL= mktg.ctl LOG=mktg.log BAD=mktg.bad

    We are using oracle 9i rel 2.
    I have not had much success with the creation of log and bad files using external tables when they are being used within a dynamic sql.
    Plz check this:
    Re: problems related to data loads from excel, CSV files into an oracle 9i db

  • One CONTROL FILE KO

    Hi all,
    I read some post from this forum and i found at this : http://forums.oracle.com/forums/login.jspa
    where user lost all the CONTROL FILE.
    Instead I have a problem only with one...but I have this error "ORA-00205...." I could start the DB but can't mount or open the DB.
    The problem was born when I tried to move one CONTROL FILE (Control02.ctl) from the original dir to another.
    For doing this I have done from SQL+ as SYSDBA: (the DB was OPEN)
    1) SQL> select name from v$controlfile;
    2) SQL> ALTER SYSTEM SET control_files='C:\ORACLE10.2.0G\ORADATA\CENTRALENIXUS\CONTROL01.CTL, G:\ORACLE10.2.0G\ORADATA\CENTRALENIXUS\CONTROL02.CTL, C:\ORACLE10.2.0G\ORADATA\CENTRALENIXUS\CONTROL03.CTL'
    SCOPE=SPFILE;
    --->Changed directory of CONTROL02.CTL from disk C to G <---
    3) SQL> Shutdown immediate
    4) From OS (windows 2003) moved CONTROL02.CTL to new directory (G:\..)
    5) SQL> Startup (--> I have this errors :ORA-00205....check allert.log..)
    Checking ALLERT.LOG I found this errors :
    ORA-00202: control file: 'C:\ORACLE10.2.0G\ORADATA\CENTRALENIXUS\CONTROL01.CTL, G:\ORACLE10.2.0G\ORADATA\CENTRALENIXUS\CONTROL02.CTL, C:\ORACLE10.2.0G\ORADATA\CENTRALENIXUS\CONTROL03.CTL'
    ORA-27041: impossible open file
    OSD-04002: ssible open file
    O/S-Error: (OS 123)
    So now..I have the DB down and I don't know how reopen it. Someone can Help me ?
    Any suggest will'be glad
    Thanks
    Diego

    Hi all,
    I read some post from this forum and i found at this
    : http://forums.oracle.com/forums/login.jspa
    where user lost all the CONTROL FILE.
    Instead I have a problem only with one...but I have
    this error "ORA-00205...." I could start the DB but
    can't mount or open the DB.
    The problem was born when I tried to move one CONTROL
    FILE (Control02.ctl) from the original dir to
    another.
    For doing this I have done from SQL+ as SYSDBA: (the
    DB was OPEN)
    1) SQL> select name from v$controlfile;
    2) SQL> ALTER SYSTEM SET
    control_files='C:\ORACLE10.2.0G\ORADATA\CENTRALENIXUS\
    CONTROL01.CTL,
    G:\ORACLE10.2.0G\ORADATA\CENTRALENIXUS\CONTROL02.CTL,
    C:\ORACLE10.2.0G\ORADATA\CENTRALENIXUS\CONTROL03.CTL'
    SCOPE=SPFILE;
    --->Changed directory of CONTROL02.CTL from disk C to
    G <---
    3) SQL> Shutdown immediate
    4) From OS (windows 2003) moved CONTROL02.CTL to new
    directory (G:\..)
    5) SQL> Startup (--> I have this errors
    :ORA-00205....check allert.log..)
    Checking ALLERT.LOG I found this errors :
    ORA-00202: control file:
    'C:\ORACLE10.2.0G\ORADATA\CENTRALENIXUS\CONTROL01.CTL,
    G:\ORACLE10.2.0G\ORADATA\CENTRALENIXUS\CONTROL02.CTL,
    C:\ORACLE10.2.0G\ORADATA\CENTRALENIXUS\CONTROL03.CTL'
    ORA-27041: impossible open file
    OSD-04002: ssible open file
    O/S-Error: (OS 123)
    So now..I have the DB down and I don't know how
    reopen it. Someone can Help me ?
    Any suggest will'be glad
    Thanks
    DiegoHi,
    in my opinion:
    ad 2)
    ALTER SYSTEM SET control_files="/location1", "/location2","/location3" SCOPE=SPFILE;
    but there is a another solution:
    a) insert correct path into file: init<SID>.ora
    b) startup pfile=/location_to_init.ora
    c) create spfile from pfile
    Also chceck if you have right permission in new location.
    S.

  • Re createing the control file

    alter database backup controlfile to trace;
    How do I re create the control file using what's in trace(Oracle 9i Solaris 9)
    Thanx.

    See Note 1012929.6 How to Recreate the Controlfile, the trace contains the syntax to recreate the controlfile, you can copy the contents to a sql file such as newctl.sql, edit the contents removing the header and make other changes such as increasing maxlogfiles, then run the sql file.
    HTH
    Enrique
    PS Why do you need to rebuild the controlfile?

  • Regarding RESETLOG and NORESETLOG option while creating a control file

    Hi,
    I dont understand the need for resetlogs option while creating a controlfile for a db in NOARCHIVELOGMODE. I assume that reset logs clears all the redo log contents.
    While taking a cold backup what I did was:
    1. Shutdown instance
    2. Copy all the files
    3. Startup
    Now I tried recovering the same database on a new machine (with different path btw.) coz of which i had to create a new control file. My question is: while restoring the database, do I need to create the control file with NORESETLOG or RESETLOG option?
    When I tried using the NORESETLOG (NOARCHIVELOG) option I was able to recover the instance without any hassles.
    ie
    1. STARTUP NOMOUNT
    2. CREATE NEW CONTROL FILE USING NORESETLOG (NOARCHIVELOG)
    3. RECOVER DATABASE
    4. ALTER DATABASE OPEN;
    While the same thing with NORESETLOG (NOARCHIVELOG) option:
    1. STARTUP NOMOUNT
    2. CREATE NEW CONTROL FILE USING RESETLOG (NOARCHIVELOG)
    3. RECOVER DATABASE USING BACKUP CONTROLFILE
    This step asked me for some archivelogs which were not generated since the db is in NOARCHIVELOG mode.
    I wonder why we require the RESETLOG OPTION SINCE A NORMAL SHUTDOWN PERFORMED BEFORE COLD BACKUP would have ensured that there is no redo information left in the redo logs.
    Please let me know if I am thinking the incorrect way.
    Regards and Thanx in Advance,
    Raj

    If you had a db running in noarchivelog mode and had to clone the db and rename it, the create controlfile stmt:
    create controlfile reuse <db_name> needs to be changed to: create controlfile SET <db_name>, in which case the db can only be opened with resetlogs. Hope this answers your question

  • Data not viewable in table using Control file  CharacterSet AL32UTF8

    i have a flat file which contains Chinese characters and English Characters
    I have to create a control file, to insert the data in this flat file to the Table
    The characterset i am using in my control file is AL32UTF8
    When i use this characterset the data is getting loaded into the table,but i am not able to view the Chinese characters.
    i am able to see some Upside down question mark symbol
    Please help me of how to view the chinese characters into the table
    Is that any other characterset i have to set in Control file

    NLS_LANG is an environment variable. I'm assuming you're on Windows, so it's probably something like
    Control Panel | System | Advanced | Environment Variables
    Given that you're using Toad, though, there may be someplace there where you set the character set. There is a discussion on Eddie Awad's blog on how various tools can be made to display Unicode data
    http://awads.net/wp/2006/07/06/sql-developer-and-utf8/
    Some of the comments discuss Toad, though that's not a tool I'm familiar with.
    If you happen to be able to use iSQL*Plus, since that's browser based, it supports unicode natively. That's often the easiest solution.
    Justin

  • Oracle binary and control files

    Hi All,
    I want know whether the oracle binary and control files are they related in anyway.
    I have my physical files on a SAN storage and my oracle binary files on a local disk.
    In case if I delete my oracle binaries and restore it from a backup, will I be able to start my database without any issues.
    Since all my oracle datafiles,controlfiles and redofiles are located in SAN storage.

    Oracle binaries and control files are related in some way because Oracle version is recorded in control files:
    oerr ora 201
    00201, 00000, "control file version %s incompatible with ORACLE version %s"
    // *Cause:  The control file was created by incompatible software.
    // *Action: Either restart with a compatible software release or use
    //          CREATE CONTROLFILE to create a new control file that is
    //          compatible with this release.When restoring Oracle binaries on UNIX you should take care about setuid bits on oracle executable to avoid local connection issues by non oracle Unix accounts.

  • Can I have two Data Files in One control file of sql*loader tool

    hi,
    Can someone help me out. is it possible to have two Data Files in one control file of Sql*loader.
    And isit possible to run 10,000 records before lunch and 10,000 records before tea and 10,000 records before evening session by giving breaks after every 10,000 records.
    Thanks
    Ram

    Yes. You can specify two datafiles in one control file and can load using sql loader.
    I give you the sample control file.
    Load DATA
    INFILE 'TEST1.CSV'
    INFILE 'TEST2.CSV'
    TRUNCATE
    INTO TABLE TEST_P
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    (COL_1,
    COL_2,
    COL_n)
    Hope It will help you.
    -Karthik

  • Creating acscii control file from binary control file

    Hi,
    We are in the process of cloning DB on a different server from cold backups taken on source server. The DBA forgot to take the backup of control file by dumping to trace using command
    alter database backup controlfile to trace;
    We have the cold backup files of control files.
    Is there was to create ascii control file from those binary control file?
    I am wondering if we can use any binary file editors like emacs to do this
    Is there any other way to clone it without backup of control file?
    TIA
    andy

    Apart from that I recommend you to have this thread on hand if you get any trouble duplicating the database.
    TIP 04: Duplicating a Database in 10g by Joel Pèrez
    TIP 04: Duplicating a Database in 10g by Joel Pèrez
    Joel Pérez
    http://otn.oracle.com/experts

  • Is it possible to create a control file without the datafiles

    Hi All,
    Is it possible to create a control file without the datafiles?
    on any OS or DB version
    regards,
    sachin

    if I understand properly:
    - you have a script to recreate the controlfile
    - you have all of your database files backed up except your controlfiles
    This should work as this is how we sometimes refresh dev databases:
    1) restore the copies of the database files
    2) recreate the controlfile
    3) recover the database files to the desired point in time (if hot backup or archivelogs are available, otherwise, it would be as of the time of the backup)
    4) add temp files to temporary tablespace(s)
    The simpler solution would be to backup your controlfile at the same time as your datafiles (RMAN or o/s copy).
    I hope I understood your question properly.

  • Not able to create a text file in Client Machine using Forms 10g

    Hi - I'm mot able to create a text file in Client Machine using Forms 10g. I'm getting error when system executes the bolded line.(i.e. CLIENT_TEXT_IO.FOPEN). During run-time system is throwing "ORA-06508: PL/SQL: could not find program unit being called".
    I had attached webutil.pll in the form.
    Please advise me.
    DECLARE
    l_Temp CLIENT_TEXT_IO.FILE_TYPE;
    LC$Name Varchar2(100) ;
    LC$Fic Varchar2(100) ;
    LN$Lines Pls_integer := 0 ;
    LC$Line Varchar2(4000) ;
    Cursor C_CUR Is
    Select * From TEST_TEXTIO where rownum <= 50;
    BEGIN
    LC$Name := 'tmp_file.txt' ;
    LC$Fic := 'c:\temp\tmp_file.txt';
    Begin
    l_temp := CLIENT_TEXT_IO.FOPEN( 'C:\temp\tmp_file.txt', 'W');
    Exception
         when others then
         message( 'OPEN FILE ERROR ' || LC$Fic ||sqlerrm );
         display_error;
         raise form_trigger_failure;
    End ;
    -- Write the lines --
    For Cur In C_CUR Loop
         LC$Line := Cur.CODE || ' -> ' || Cur.COL1 || ',' || Cur.COL2 || ',' || Cur.Col3 ;
         CLIENT_TEXT_IO.PUT_LINE( LF$File, LC$Line ) ;      
         LN$Lines := C_CUR%ROWCOUNT ;
    End loop ;
    -- Close the file --
    CLIENT_TEXT_IO.FCLOSE( LF$File ) ;
    Exception
         When others Then
    message('err='||sqlerrm);message(' ');
    display_error;
    CLIENT_TEXT_IO.FCLOSE( LF$File ) ;      
         Raise ;
    END;
    Thanks.
    Arun

    Hi ,
    i have one Question though its not related to thos question if some could help me it will be really helpful,
    i have created one program to import and export excel to forms vice versa, if the form is attached with webutil its working fine am using ole2.but i have a new idea if i add this program in menu, it can be used for all the forms attched to that menu, i made program also, but problem am facing right now is if the form is not attched with webutil it will not work so is there possiblity to share my webutil from one form to another form ,so i will keep one form as a interface form in that webutil will be attched ,i can share that webutil to all other forms so that all the forms no need to attach webutil again
    if its possible means please suggest some ideas

Maybe you are looking for

  • WIndows won't install after inital DOS install...

    So I have looked over these message boards and haven't seen my particular problem: After I run Boot Camp, I put in my Windows XP SP 3 disk, and everything seems to work fine. The ugly, blue windows install window opens, and ask for the install locati

  • Syncing iPod freezes iTunes

    I've had my 80GB iPod classic for almost a year. In that time it has blanked itself of all music upwards of 10 times, been restored to it factory settings the same amount of times and totally refused to load video and games. All this I could deal wit

  • SCCM Report Top Console User Computer by User Collection

    Trying to Get a report of where We can have a user collection then it comes back with that users computer information... I have this report working until I try to have it run by user collection.  I have commented out the last join and where  and the

  • The display on my ipod touch is permanently zoomed. what did I do and how to fix it?

    the display on my ipod touch is permanently zoomed. what did I do and how to fix it?

  • Can't add buddy to list

    I just bought a new Macbook, my friend has an older macbook. When I try to add her to my buddy list (which was from my AIM) she pops up...then is gone. I also cannot not do a video chat with her. What should I do?