To edit init.ora

This is a continuation from this thread Create a db manually
I am using 9i on Windows platform.
I want to edit / copy the init.ora file so that I can create a db manually.
I have located the init file, to exist here:
C:\oracle\admin\unidad\pfile
The name of the file is init.ora.0262007174511
On the link that Paola sent, it says :
One way of getting started on your initialization parameter file is to edit a copy of the sample initialization parameter file
Sorry, but how can I edit this init file, or make a copy to use for my new database?

The database instance can be started using a PFile or an SPFile (Server PFile). These files tell the instance how to do basic memory configuration, advanced memory configuration (using parms such as processes), load and lock specific memory info (instance and DB name) and where to find the control files.
The steps are detailed in the DBA manual - there is an entire chapter provided in excruciating detail and - if you were to use Oracle 10g R2, the part you want is at http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#i1008760
You can copy any existing pfile (init???.ora) as a new file (initSID.ora) and edit the copy using any editor (notepad). The valid fields and values are all defined in the Oracle Reference manual. (That is Oracle Reference, not Oracle SQL Reference, not Oracle PL/SQL Reference, or any other variant.) Each field has it's own entry in the table of contents. For 10gR2 the document is http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams_part.htm#i200948
Since you want to use Oracle 9i, I refer you to the general documentation site to get to these manuals - either http://docs.oracle.com or http://tahiti.oracle.com

Similar Messages

  • Edit init.ora at host or client machine ?

    Hi all,
    i am trying to use UTL_FILE to write errors to a log file if an exception is encountered when running a stored procedure . I call the stored procedure from a client machine
    I have some basic qns:
    1) Can the log file exist on the client server or it has to be on the server machine?
    2)i know i have to edit the init.ora file to include the directory where the file exists. Should i edit the init.ora file on the client or the server?
    I believe if the qn to (1) is server machine, then naturally the ans to (2) should also be server?

    I believe if the qn to (1) is server machine, then naturally the ans to (2) should also be server? Yes,you are right,and don't confuse between server and client,because init.ora always exists on server machine ,and its not part of client installation.
    Kuljeet

  • Pausing SAPinst to adjust Oracle init.ora parameter

    Guys, I'm doing an unicode system import and its taking too long. So I intend to adjust some of the oracle memory and other parameters as recommended the SAP notes.
    However, in SAPinst, from the phases of db creation, tablespace creation, r3load process and till the end is one continuous phase. I want to stop SAPinst right after the db creation phase, so that I can edit init.ora, restart the db and proceed with the r3load phase.
    how do i do it ? I've tried making a dummy change to the location of the "import directory", to trick sapinst to stop on purpose, but this doesnt  seem to be working.
    do it need to edit the confusing control.xml or keydb.xml, i miss those *.r3s days.

    > your mean the R3load.exe binary itself in the kernel directory ? Perhaps i can give it a try..
    Yes.
    Or select "start migration monitor manually". Sapinst will then stop, you can reconfigure the database and then use the import monitor to import the database.
    Markus

  • Questions on init.ora file

    Hi,
    I have some questions on init.ora file. While checking the init file in my system i found that it defines a spfile in a non default location.
    The parameter names are like
    1) db1.__db_cache_size
    2) *._kgl_large_heap_warning_threshold
    3) *.sga_target
    what do they indicate? I mean what does 'db1.__' , '*._' and '*.' indicate? There are multiple database in the Windows 2003 server and the db version is 10g R1
    Regards,
    SID
    Edited by: SID3 on Jun 29, 2010 5:55 AM
    Edited by: SID3 on Jun 29, 2010 5:56 AM

    SID3 wrote:
    From the discussion i guess the following points
    1) db1._ means they are specific to databases.
    2) *._ and * means they are used accross databases and chaging it in any of the initfile might affect all? I seriously doubt this.You are mistaken when speaking about database. Bear in mind, a database is not an instance.
    * here means this parameter will apply to any instance of that database (if it is in RAC), or to the only one instance of that database (if it is in non-RAC).
    Find out more :
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_2013.htm#i2146449
    Nicolas.

  • Unable to find the utl_file_directory option in init.ora

    Hi all these are the contents of init.ora file in nacedell server.i did'nt find any thing as utl_file_directory to update with my directory created through sql*plus using
    command
    create directory dir as 'c:\dir';
    here are the contents of init.ora file
    cat init.ora command is giving contents as
    # $Header: init.ora 06-aug-98.10:24:40 atsukerm Exp $
    # Copyright (c) 1991, 1997, 1998 by Oracle Corporation
    # NAME
    # init.ora
    # FUNCTION
    # NOTES
    # MODIFIED
    # atsukerm 08/06/98 - fix for 8.1.
    # hpiao 06/05/97 - fix for 803
    # glavash 05/12/97 - add oracle_trace_enable comment
    # hpiao 04/22/97 - remove ifile=, events=, etc.
    # alingelb 09/19/94 - remove vms-specific stuff
    # dpawson 07/07/93 - add more comments regarded archive start
    # maporter 10/29/92 - Add vms_sga_use_gblpagfile=TRUE
    # jloaiza 03/07/92 - change ALPHA to BETA
    # danderso 02/26/92 - change db_block_cache_protect to dbblock_cache_p
    # ghallmar 02/03/92 - db_directory -> db_domain
    # maporter 01/12/92 - merge changes from branch 1.8.308.1
    # maporter 12/21/91 - bug 76493: Add control_files parameter
    # wbridge 12/03/91 - use of %c in archive format is discouraged
    # ghallmar 12/02/91 - add global_names=true, db_directory=us.acme.com
    # thayes 11/27/91 - Change default for cache_clone
    # jloaiza 08/13/91 - merge changes from branch 1.7.100.1
    # jloaiza 07/31/91 - add debug stuff
    # rlim 04/29/91 - removal of char_is_varchar2
    # Bridge 03/12/91 - log_allocation no longer exists
    # Wijaya 02/05/91 - remove obsolete parameters
    # Example INIT.ORA file
    # This file is provided by Oracle Corporation to help you customize
    # your RDBMS installation for your site. Important system parameters
    # are discussed, and example settings given.
    # Some parameter settings are generic to any size installation.
    # For parameters that require different values in different size
    # installations, three scenarios have been provided: SMALL, MEDIUM
    # and LARGE. Any parameter that needs to be tuned according to
    # installation size will have three settings, each one commented
    # according to installation size.
    # Use the following table to approximate the SGA size needed for the
    # three scenarious provided in this file:
    # -------Installation/Database Size------
    # SMALL MEDIUM LARGE
    # Block 2K 4500K 6800K 17000K
    # Size 4K 5500K 8800K 21000K
    # To set up a database that multiple instances will be using, place
    # all instance-specific parameters in one file, and then have all
    # of these files point to a master file using the IFILE command.
    # This way, when you change a public
    # parameter, it will automatically change on all instances. This is
    # necessary, since all instances must run with the same value for many
    # parameters. For example, if you choose to use private rollback segments,
    # these must be specified in different files, but since all gc_*
    # parameters must be the same on all instances, they should be in one file.
    # INSTRUCTIONS: Edit this file and the other INIT files it calls for
    # your site, either by using the values provided here or by providing
    # your own. Then place an IFILE= line into each instance-specific
    # INIT file that points at this file.
    # NOTE: Parameter values suggested in this file are based on conservative
    # estimates for computer memory availability. You should adjust values upward
    # for modern machines.
    # You may also consider using Database Configuration Assistant tool (DBCA)
    # to create INIT file and to size your initial set of tablespaces based
    # on the user input.
    # replace DEFAULT with your database name
    db_name=DEFAULT
    db_files = 80 # SMALL
    # db_files = 400 # MEDIUM
    # db_files = 1500 # LARGE
    db_file_multiblock_read_count = 8 # SMALL
    # db_file_multiblock_read_count = 16 # MEDIUM
    # db_file_multiblock_read_count = 32 # LARGE
    db_block_buffers = 100 # SMALL
    # db_block_buffers = 550 # MEDIUM
    # db_block_buffers = 3200 # LARGE
    shared_pool_size = 3500000 # SMALL
    # shared_pool_size = 5000000 # MEDIUM
    # shared_pool_size = 9000000 # LARGE
    log_checkpoint_interval = 10000
    processes = 50 # SMALL
    # processes = 100 # MEDIUM
    # processes = 200 # LARGE
    parallel_max_servers = 5 # SMALL
    # parallel_max_servers = 4 x (number of CPUs) # MEDIUM
    # parallel_max_servers = 4 x (number of CPUs) # LARGE
    log_buffer = 32768 # SMALL
    # log_buffer = 32768 # MEDIUM
    # log_buffer = 163840 # LARGE
    # audit_trail = true # if you want auditing
    # timed_statistics = true # if you want timed statistics
    max_dump_file_size = 10240 # limit trace file size to 5 Meg each
    # Uncommenting the line below will cause automatic archiving if archiving has
    # been enabled using ALTER DATABASE ARCHIVELOG.
    # log_archive_start = true
    # log_archive_dest = disk$rdbms:[oracle.archive]
    # log_archive_format = "T%TS%S.ARC"
    # If using private rollback segments, place lines of the following
    # form in each of your instance-specific init.ora files:
    # rollback_segments = (name1, name2)
    # If using public rollback segments, define how many
    # rollback segments each instance will pick up, using the formula
    # # of rollback segments = transactions / transactions_per_rollback_segment
    # In this example each instance will grab 40/5 = 8:
    # transactions = 40
    # transactions_per_rollback_segment = 5
    # Global Naming -- enforce that a dblink has same name as the db it connects to
    global_names = TRUE
    # Edit and uncomment the following line to provide the suffix that will be
    # appended to the db_name parameter (separated with a dot) and stored as the
    # global database name when a database is created. If your site uses
    # Internet Domain names for e-mail, then the part of your e-mail address after
    # the '@' is a good candidate for this parameter value.
    # db_domain = us.acme.com # global database name is db_name.db_domain
    # FOR DEVELOPMENT ONLY, ALWAYS TRY TO USE SYSTEM BACKING STORE
    # vms_sga_use_gblpagfil = TRUE
    # FOR BETA RELEASE ONLY. Enable debugging modes. Note that these can
    # adversely affect performance. On some non-VMS ports the db_block_cache_*
    # debugging modes have a severe effect on performance.
    #_db_block_cache_protect = true # memory protect buffers
    #event = "10210 trace name context forever, level 2" # data block checking
    #event = "10211 trace name context forever, level 2" # index block checking
    #event = "10235 trace name context forever, level 1" # memory heap checking
    #event = "10049 trace name context forever, level 2" # memory protect cursors
    # define parallel server (multi-instance) parameters
    #ifile = ora_system:initps.ora
    # define two control files by default
    control_files = (ora_control1, ora_control2)
    # Uncomment the following line if you wish to enable the Oracle Trace product
    # to trace server activity. This enables scheduling of server collections
    # from the Oracle Enterprise Manager Console.
    # Also, if the oracle_trace_collection_name parameter is non-null,
    # every session will write to the named collection, as well as enabling you
    # to schedule future collections from the console.
    # oracle_trace_enable = TRUE
    # Uncomment the following line, if you want to use some of the new 8.1
    # features. Please remember that using them may require some downgrade
    # actions if you later decide to move back to 8.0.
    #compatible = 8.1.0
    $

    There are strange things in the file you posted, are you sure that's your init.ora ? where did you find it ?
    Moreover, you use "cat" to list the file, but you name "c:\dir" the directory : what is your OS ?
    Furthermore, if you use directories, then you don't need to set utl_file_dir in init.ora, and directories don't show up within parameters, you can see them by
    SQL> select * from all_directories;

  • CHANGING THE DIRECTORY OF INIT.ORA FILE

    Hi,
    I have a database in 8i. Can I change the diredtory of init.ora file ? If yes how ?
    it is in d:\oracle\ora8
    and I want tu put it in d:\anothrfolder
    Many thanks before.

    That's what I did , but :
    SQL> SHUTDOWN IMMEDIATE
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> exit
    Disconnected from Oracle8i Enterprise Edition Release 8.1.7.4.1 - Production
    With the Partitioning option
    JServer Release 8.1.7.4.1 - Production
    C:\Documents and Settings\user>oradim -delete -sid DB1
    C:\Documents and Settings\user>oradim -EDIT -SID DB1 -PFILE C:\oracle\admin\db1\exp\initdb1.ora
    DIM-00010: SYSTEM\CurrentControlSet\Services\OracleService key does not exist
    O/S-Error: (OS 2) Le fichier spÚcifiÚ est introuvable.
    DIM-00010: SYSTEM\CurrentControlSet\Services\OracleService key does not exist
    O/S-Error: (OS 2) Le fichier spÚcifiÚ est introuvable.
    C:\Documents and Settings\user>oradim -EDIT -SID DB1 -PFILE C:\oracle\admin\db1\exp\initdb1.ora -startmode auto
    DIM-00010: SYSTEM\CurrentControlSet\Services\OracleService key does not exist
    O/S-Error: (OS 2) Le fichier spÚcifiÚ est introuvable.
    DIM-00010: SYSTEM\CurrentControlSet\Services\OracleService key does not exist
    O/S-Error: (OS 2) Le fichier spÚcifiÚ est introuvable.
    C:\Documents and Settings\user>oradim -NEW -SID DB1 -PFILE C:\oracle\admin\db1\exp\initdb1.ora -startmode auto
    C:\Documents and Settings\user>sqlplus "/ as sysdba"
    SQL*Plus: Release 8.1.7.0.0 - Production on Me Mai 16 12:22:25 2007
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.7.4.1 - Production
    With the Partitioning option
    JServer Release 8.1.7.4.1 - Production
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup
    LRM-00109: could not open parameter file 'C:\oracle\admin\db1\pfile\initdb1.ora'
    LRM-00113: error when processing file 'C:\oracle\admin\db1\pfile\initdb1.ora'
    ORA-01078: failure in processing system parameters

  • Init.ora in Oracle 10g

    Hi,
    I installed the Oracle 10g in windows XP and I need to edit some parameters in the init.ora file.
    When I searched for the init.ora file it is not available.
    Please let me know whether in oracle 10g it is renamed as other file name or whether I need to edit the init.ora only in the enterprise manager which we connect through url as http://mydb:5055/em
    Thanks and Regards,
    A.Mohammed Rafi

    Rafi,
    I am sure that the database is using spfile not the init.ora file.
    The location of spfile is ORACLE_HOME/database directory.
    However, you can easily modify the most of the parameters dynamically using the following command from sqlprompt.
    alter system parameter = value scope = both;
    when you say scope = both, parameters values are in the spfile and the values also reflect the new connections to the database.
    If you wanna change in the spfile, then, you need to create pfile from spfile, since spfile can't directly modified, and change/add the parameters in the pfile(init.ora) and finally create spfile from pfile.
    Jaffar
    null

  • Need help in configuring PROCESSES (Maually in init.ora)

    Hi There,
    I want to install datbase schemas using RCU but it is throwing me an message
    "RCU-6083:Failed - Check prerequisites requirement for selected component:WEBCENTER
    Please refer to RCU log at C:\OracleRCU\ofm_rcu_win32_11.1.1.2.1_disk1_1of1\rcuHome\rcu\log\logdir.2013-01-22_16-03\rcu.log for details.
    RCU-6107:DB Init Param Prerequisite failure for: PROCESSES
    Current Value is 150. It should be greater than or equal to 300."
    I tried to change the process using SQL> alter system set processes=300 scope=spfile;
    and got the msg that system altered
    but still the error persisit. I reffered to a link
    RCU-6107, RCU-6092 for the same here it is mentioned in one ofthe post that some user has changed it manually ion init.ora file...kindly help in changing manually or through cmd ....
    Reghards
    Vivekk
    Edited by: Vivekk.Arora on Jan 22, 2013 2:58 AM

    You need to re-start the instances after changing the parameter.

  • Changing init.ora file

    Hi,
    I need to add the utl_file_dir parameter to the init.ora file. Do I need to restart the database for the changes to be effective?
    My oracle version is
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production

    Akhil  N K wrote:
    Does the below two statements means the same?No.
    1) creating an oracle directory using create or replace directory command This is referring to create a directory object in the database using the create directory command which should be mapping to a valid o/s level directory path.
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_58a.htm#SQLRF01207
    2) adding utl_file_dir parameterThis is referring to the edition of the init file and adding the parameter there .
    HTH
    Aman....

  • Archivelog Mode / init.ora file

    Hi,
    Maybe someone can help me out. I am presently trying to set up a dev server that has 3 or 4 databases on it. The first database is installed by the Oracle installation kit. The 2nd one that I am now trying to configure is giving me the following error: Ora-01126: database must be mounted EXCLUSIVE and not open for this operation. I am also setting it up for archiving.
    When I do a SELECT * from V$database; the answer comes back that it is in noarchivelog mode. I even edited the init.ora file in both the pfile folder and the ora81/database folder and yet the answer is still the same. I even rebooted it with the same results. I understand that the database is in exclusive mode by default. Does this have anything to do with Parrelizm (spelling). I tried altering the database to archivelog mode but with no results.
    Any ideas? Im at a loss.
    Thanks for your time.
    Al

    Hi Al,
    try to startup the db with startup mount or startup read only and try
    the alter command again.
    Normally it should work then!
    Tobias

  • Relation between tnsname.ora, Listner.ora, Init.ora

    Hi
    Can any body send me link of documentation which tells the relation between
    tnsnames.ora, listner.ora, init.ora file.
    and any link which tells what is sid, Service_name, db_name and service.
    and how to see them all
    thanks
    Message was edited by:
    umesh049

    Hi,
    Why don't you try Tahiti at http://tahiti.oracle.com/?
    Type in tnsnames.ora and you will get a list with - for example - 698 matches for DB 10g. Click on 'Search this library' and proceed from there.
    Happy reading,
    Guido

  • What are the recomended init.ora params?

    Hi,
    I am following the Doc ID: 298877.1 of MetaLink.
    Let we have
    50 captures processes on Central Servers which are capturing the "ABC" Schema (DDL's,DML's),
    50 propagations (Each capture process has it's own Propagation queue),
    50 apply (All 50 sites apply processes apply changes on central server).
    DEL Machine 2950: RAM=4GB :
    My capture process state is "Pause For Flow Control..".
    All sites and central server used same schema:
    My current setting are:(Which I selected)
    --> Compatible='10.2.0.1.0'
    --> SHARED_POOL_SIZE=140M
    --> PARALLEL_MAX_SERVERS=200
    --> JOB_QUEUE_PROCESSES=100
    --> OPEN_LINKS=30
    --> PROCESSES=500
    --> SESSIONS=70
    --> SGA_MAX_SIZE=500M
    --> STREAMS_POOL_SIZE=200M
    Can anyone help me to proper setting up the following init.ora parameters?
    --> SHARED_POOL_SIZE
    --> PARALLEL_MAX_SERVERS
    --> JOB_QUEUE_PROCESSES
    --> OPEN_LINKS
    --> PROCESSES
    --> SESSIONS
    --> SGA_MAX_SIZE
    --> STREAMS_POOL_SIZE
    Thanks,
    Faziarain
    Edited by: [email protected] on Aug 5, 2009 4:17 AM

    The recommended init parameters are clearly spelled out in the docs at http://tahiti.oracle.com and no doubt you can read them as well as we can.
    My only recommendation would be to patch to 10.2.0.4 first.
    PS: Some of the things you are asking about no one can possibly answer without knowing everything about how the system is used. For example
    the number of open database links? Are they used by anything else? How can we know. Number of session? How can we possibly know the number
    of connected sessions on your server? This is something you need to do yourself or ask your DBA to help you.

  • Where is my init.ora file ?

    Hi folks;
    I just want to know how find the directory of the "init.ora" of my database ?
    SQL> select * from v$version;
    BANNER
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    PL/SQL Release 9.2.0.8.0 - Production
    CORE    9.2.0.8.0       Production
    TNS for Solaris: Version 9.2.0.8.0 - Production
    NLSRTL Version 9.2.0.8.0 - Production

    michaels2 wrote:
    I just want to know how find the directory of the "init.ora" of my database ?might be in the same directory as your spfile, which can be found with
    SQL> select name, value from v$parameter where lower(name ) like '%pfile%'
    NAME       VALUE                                  
    spfile     /oracle/dbs/spfileoracle.ora           
    1 row selected.
    Well, if this query extracts a row then the init file doesn't exist... the two are mutually exclusive...
    Max
    http://oracleitalia.wordpress.com

  • Oracle 10g R2 for Windows ignores init.ora and registry values

    Hello,
    I have a strange issue. I try to set some parameters for Oracle but it doesn't seem to work.
    Here the story:
    I created the DB with the DBCA under windows and set my init parameter at frist creation with 3 important values:
    OS_AUTHENT_PREFIX = ""
    REMOTE_OS_AUTHENT=TRUE
    remote_login_passwordfile=EXCLUSIVE
    this values are in the Registry and the init.ora and the init.ora.7192011143454 in ORAHOME_DB/scripts and pfile
    I've now changed these parameters in the init.ora and registry to:
    OS_AUTHENT_PREFIX = ""
    REMOTE_OS_AUTHENT=FALSE
    remote_login_passwordfile=EXCLUSIVE
    and restarted the whole system - after the restart I checked the value for REMOTE_OS_AUTHENT:
    show parameter remote_os_authent
    NAME TYPE VALUE
    remote_os_authent boolean TRUE
    It keeps true. But why it keeps true why I can't change this value anymore after the DBCA?
    Do I miss something?
    Thanks
    Edited by: ioGLNX on 22.08.2011 04:18

    show parameter spfile;
    NAME TYPE VALUE
    spfile string C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\SPFILEMACSCURR.ORA
    NAME TYPE VALUE
    I have created a new spfile from my init.ora with:
    create spfile='C:\oracle\product..toMyInstanceDbs\ioglnx.ora' from pfile='C:\pathToPfile\DBHOME\scripts\init.ora'
    So the problems as it seem to me to instrcut oracle to use my new spfile...in Windows.

  • Init.ora & config.ora

    Hi,
    I have 2 databases on my server, can I have the init.ora and the config.ora on the same directory? or it may cause troubles at the database performance?
    Message was edited by:
    BalVe

    Please specify which DB and OS version you are currently working.
    init.ora is no longer a good practice since 9i, when spfile.ora file first appeared. Working init.ora won't allow you to dynamically change instance parameters and its usage may lead to lack of manageability.
    If you want, there is an instance parameter named pfile which lets spfile know where the included spfile resides.
    A good practice is to leave initialization scripts on the default search directory, unless, of course a good reason exists to have it changed.
    ~ Madrid.

Maybe you are looking for