Init.ora - service_names  / tnsnames.ora

From what I understand - by using the SERVICE_NAMES parameter in the init.ora file , you can specify alias/new instance name for a database , which is automatically detected by the listener. And would not require updates to the TNSNAMES.ORA file.
So normally and in tnsnames.ora I have a instance called TRN. In the init.ora file I have
service_names = trn.world,trn_test.world
But this is not working. I can connect to trn but not trn_test. Is my understanding of this parameter wrong?
or am I doing something wrong?
thanks in advance.

SERVICE_NAMES
Parameter type
String
Syntax
SERVICE_NAMES =
db_service_name [, db_service_name [,...] ]
Default value
DB_NAME.DB_DOMAIN if defined
Parameter class
Dynamic: ALTER SYSTEM
Range of values
Any ASCII string or comma-separated list of string names
SERVICE_NAMES specifies one or more names for the database service to which this instance connects. You can specify multiple service names in order to distinguish among different uses of the same database.
For example:
SERVICE_NAMES = sales.acme.com, widgetsales.acme.com
You can also use service names to identify a single service that is available from two different databases through the use of replication.
In an Oracle9i Real Application Clusters environment, you must set this parameter for every instance.
If you do not qualify the names in this parameter with a domain, Oracle qualifies them with the value of the DB_DOMAIN parameter. If DB_DOMAIN is not specified, Oracle uses the domain of your local database as it currently exists in the data dictionary.
See Also:
Oracle9i Net Services Administrator's Guide for more information on this parameter and its settings
"DB_DOMAIN"
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96536/ch1186.htm#REFRN10194
Joel P�rez

Similar Messages

  • 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

  • Where the init.ora ,   tnsnames.ora,   listener.ora,    sqlnet.ora

    If client-side and server-side software are located in different machines, basically, init.ora and listener.ora are located in the server-side, and tnsnames.ora and sqlnet.ora are located in the client-side, am I right?

    The confusion comes because, as stated earlier by Sanjay, a server could also be a client...
    Here a very simple example on one and only one Windows machine with the same user :
    ---here it is a connection as from client
    E:\apps\oracle\ora1110PE\NETWORK\ADMIN>tnsping demo111p
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.7.0 - Production on 21-JUN-2009 09:36:38
    Copyright (c) 1997, 2008, Oracle.  All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = phoenix)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DEMO111P)))
    OK (10 msec)
    E:\apps\oracle\ora1110PE\NETWORK\ADMIN>sqlplus scott/demo111@demo111p
    SQL*Plus: Release 11.1.0.7.0 - Production on Sun Jun 21 09:27:02 2009
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    Connected to:
    Personal Oracle Database 11g Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> quit
    Disconnected from Personal Oracle Database 11g Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    --- we remove the sqlnet.ora
    E:\apps\oracle\ora1110PE\NETWORK\ADMIN>rename sqlnet.ora _sqlnet.ora
    ---here it is a connection as from client
    E:\apps\oracle\ora1110PE\NETWORK\ADMIN>tnsping demo111p
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.7.0 - Production on 21-JUN-2009 09:37:30
    Copyright (c) 1997, 2008, Oracle.  All rights reserved.
    Used parameter files:
    TNS-03505: Failed to resolve name
    E:\apps\oracle\ora1110PE\NETWORK\ADMIN>sqlplus scott/demo111@demo111p
    SQL*Plus: Release 11.1.0.7.0 - Production on Sun Jun 21 09:27:11 2009
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    Enter user-name:
    ---here it is a connection as from server, still working, in that case it does not use tnsnames/sqlnet
    E:\apps\oracle\ora1110PE\NETWORK\ADMIN>set ORACLE_SID=demo111p
    E:\apps\oracle\ora1110PE\NETWORK\ADMIN>sqlplus scott/demo111
    SQL*Plus: Release 11.1.0.7.0 - Production on Sun Jun 21 09:27:37 2009
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    Connected to:
    Personal Oracle Database 11g Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>So, we are on server, the behaviour change depending what we are connecting with (client or server method).
    Nicolas.

  • Trying to find the init.ora parameter..

    Hi,
    I am trying to locate the init.ora parameter under the Oracle Database. I was under the impression, that it would be present in the same location as tnsnames.ora, but Ican see that it's not.
    Can someone please advise the right location to look for the init.ora parameter file?
    Thank You.

    It is a good practice to let us know the OS and DB version from the start of the thread, so a more accurate answer can be issued sooner.
    From the above post I can see you are on a 10g Windows platform. Since 9i inti.ora is not used as the first option, but the spfile. 10g is the same thing, it can work with a pfile, but must probably you have an spfile.
    Default location for a 10g spfile in a windows platform is here:
    %ORACLE_HOME%\database\spfile%ORACLE_SID%.ora
    In case you are working with a pfile, path is quite the same:
    %ORACLE_HOME%\database\init%ORACLE_SID%.ora
    You can find the path/name of your spfile from an instance parameter inside a SYSDBA session:
    SQL> show parameter spfile
    HR Madrid

  • Oracle 11g init.ora parameter settings

    Hi Friends,
    Oracle 11.2.0.1.0 on Suse Linux.
    Can you please let me know what are the things need to be followed while setting init.ora parameters for the database?
    And, can you please suggest me the best init.ora settings for the database?
    Thanks
    KSG

    Hi JL Sir,
    Thanks for your valuable guidance.
    We have finally come up with the init.ora parameters. Please review and guide me further.
    NAME VALUE
    tracefiles_public TRUE
    tracefile_identifier
    processes 100
    sessions 120
    timed_statistics TRUE
    timed_os_statistics 0
    resource_limit TRUE
    license_max_sessions 0
    license_sessions_warning 0
    cpu_count 2
    instance_groups
    event
    shared_pool_size 268435456
    sga_max_size 1075800904
    shared_pool_reserved_size 13421772
    large_pool_size 16777216
    java_pool_size 167772160
    java_soft_sessionspace_limit 0
    java_max_sessionspace_size 0
    pre_page_sga FALSE
    shared_memory_address 0
    hi_shared_memory_address 0
    use_indirect_data_buffers FALSE
    lock_sga FALSE
    spfile ?/dbs/[email protected]
    lock_name_space
    enqueue_resources 1542
    trace_enabled TRUE
    nls_language american
    nls_territory america
    nls_sort
    nls_date_language
    nls_date_format DD-MON-RR
    nls_length_semantics BYTE
    nls_nchar_conv_excp FALSE
    filesystemio_options asynch
    disk_asynch_io TRUE
    tape_asynch_io TRUE
    dbwr_io_slaves 0
    backup_tape_io_slaves FALSE
    resource_manager_plan
    cluster_interconnects
    file_mapping FALSE
    active_instance_count
    control_files /u020/oradata/mecdb/control01.ctl, /u021/oradata/mecdb/control02.ctl, /u026/or
    adata/mecdb/control03.ctl
    db_file_name_convert
    log_file_name_convert
    db_block_buffers 0
    db_block_checksum TRUE
    db_block_size 8192
    db_writer_processes 1
    db_keep_cache_size 0
    db_recycle_cache_size 0
    db_2k_cache_size 0
    db_4k_cache_size 0
    db_8k_cache_size 0
    db_16k_cache_size 0
    db_32k_cache_size 0
    db_cache_size 134217728
    buffer_pool_keep
    buffer_pool_recycle
    db_cache_advice ON
    max_commit_propagation_delay 700
    compatible 11.2.0
    remote_archive_enable true
    log_archive_start TRUE
    log_archive_dest /app/oracle/admin/mecdb/arch
    log_archive_duplex_dest
    log_archive_max_processes 2
    log_archive_min_succeed_dest 1
    standby_archive_dest ?/dbs/arch
    log_archive_trace 0
    fal_server
    fal_client
    log_archive_format mecdb_T%t_S%S.arc
    log_buffer 1048576
    log_checkpoint_interval 100000
    log_checkpoint_timeout 72000
    archive_lag_target 0
    log_parallelism 1
    db_files 1022
    db_file_multiblock_read_count 16
    read_only_open_delayed FALSE
    cluster_database FALSE
    parallel_server FALSE
    parallel_server_instances 1
    cluster_database_instances 1
    standby_file_management MANUAL
    gc_files_to_locks
    thread 0
    fast_start_io_target 0
    fast_start_mttr_target 0
    log_checkpoints_to_alert FALSE
    recovery_parallelism 0
    control_file_record_keep_time 7
    logmnr_max_persistent_sessions 1
    dml_locks 500
    row_locking always
    serializable FALSE
    replication_dependency_tracking TRUE
    instance_number 0
    transactions 132
    transactions_per_rollback_segment 5
    max_rollback_segments 30
    rollback_segments
    transaction_auditing TRUE
    undo_management AUTO
    undo_tablespace undo1
    undo_suppress_errors TRUE
    undo_retention 900
    fast_start_parallel_rollback LOW
    db_block_checking FALSE
    os_roles FALSE
    rdbms_server_dn
    max_enabled_roles 40
    remote_os_authent FALSE
    remote_os_roles FALSE
    O7_DICTIONARY_ACCESSIBILITY TRUE
    remote_login_passwordfile EXCLUSIVE
    dblink_encrypt_login FALSE
    license_max_users 0
    global_context_pool_size
    audit_sys_operations FALSE
    db_domain world
    global_names FALSE
    distributed_lock_timeout 60
    commit_point_strength 1
    instance_name mecdb
    service_names mecdb.world
    dispatchers
    mts_dispatchers
    shared_servers 0
    mts_servers 0
    max_shared_servers 20
    mts_max_servers 20
    max_dispatchers 5
    mts_max_dispatchers 5
    circuits 0
    mts_circuits 0
    shared_server_sessions 0
    mts_sessions 0
    local_listener mecdb_lsnr
    remote_listener
    mts_service mecdb
    mts_listener_address
    mts_multiple_listeners FALSE
    serial_reuse DISABLE
    cursor_space_for_time FALSE
    session_cached_cursors 0
    remote_dependencies_mode TIMESTAMP
    utl_file_dir *
    plsql_v2_compatibility FALSE
    plsql_compiler_flags INTERPRETED
    plsql_native_c_compiler
    plsql_native_linker
    plsql_native_library_dir
    plsql_native_make_utility
    plsql_native_make_file_name
    plsql_native_library_subdir_count 0
    job_queue_processes 1
    parallel_min_percent 0
    create_bitmap_area_size 8388608
    bitmap_merge_area_size 1048576
    cursor_sharing EXACT
    parallel_min_servers 0
    parallel_max_servers 5
    parallel_instance_group
    parallel_execution_message_size 2152
    hash_join_enabled TRUE
    hash_area_size 131072
    shadow_core_dump partial
    background_core_dump partial
    background_dump_dest /app/oracle/admin/mecdb/bdump
    user_dump_dest /app/oracle/admin/mecdb/udump
    max_dump_file_size 102400000
    core_dump_dest /app/oracle/admin/mecdb/cdump
    audit_file_dest /app/oracle/admin/mecdb/adump
    hpux_sched_noage 0
    oracle_trace_enable FALSE
    oracle_trace_facility_path ?/otrace/admin/fdf
    oracle_trace_collection_path ?/otrace/admin/cdf
    oracle_trace_facility_name oracled
    oracle_trace_collection_name
    oracle_trace_collection_size 5242880
    object_cache_optimal_size 102400
    object_cache_max_size_percent 10
    session_max_open_files 10
    open_links 4
    open_links_per_instance 4
    optimizer_features_enable 11.2.0
    fixed_date
    audit_trail DB
    sort_area_size 65536
    sort_area_retained_size 0
    db_name mecdb
    open_cursors 200
    ifile
    sql_trace FALSE
    os_authent_prefix ops$
    optimizer_mode CHOOSE
    sql92_security FALSE
    blank_trimming FALSE
    partition_view_enabled FALSE
    star_transformation_enabled FALSE
    parallel_adaptive_multi_user FALSE
    parallel_threads_per_cpu 2
    parallel_automatic_tuning FALSE
    optimizer_max_permutations 2000
    optimizer_index_cost_adj 100
    optimizer_index_caching 0
    query_rewrite_enabled false
    query_rewrite_integrity enforced
    sql_version NATIVE
    pga_aggregate_target 536870912
    workarea_size_policy auto
    optimizer_dynamic_sampling 1
    statistics_level TYPICAL
    aq_tm_processes 0
    hs_autoregister TRUE
    dg_broker_start FALSE
    drs_start FALSE
    dg_broker_config_file1 ?/dbs/[email protected]
    dg_broker_config_file2 ?/dbs/[email protected]
    olap_page_pool_size 33554432
    Thanks
    KSG
    Edited by: KSG on Apr 27, 2011 1:39 PM

  • Can we determine path of my INIT.ORA file from data dictionary views.

    Hello Guru’s
    I am new to oracle, My question is for the sake of my knowledge: I work on oracle 10G.
    Is there any data dictionary view from where I can get the path of my INIT.ORA file.
    Regards,

    NewDay wrote:
    Hello Guru’s
    I am new to oracle, My question is for the sake of my knowledge: I work on oracle 10G.
    Is there any data dictionary view from where I can get the path of my INIT.ORA file.
    AFAIK , its no. You can check the path from the show parameter command like following,
    SQL> show parameter spfile
    NAME                                 TYPE
    VALUE
    spfile                               string
    /u01/app/oracle/product/10.2.0
    /db_1/dbs/spfileorcl.ora
    SQL>HTH
    Aman....

  • 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;

  • How to establish a single init.ora file for 3 node RAC under ASM

    All,
    Our environment is a combination of several different memory sized SUN machines (V880, V490 & 250R).
    Setting up a single init.ora file that encompasses each of the nodes memory into the SGA sizing is our desired setup.
    Though we have established the file, the question is getting each NODE on the RAC to use that single parameter
    file to start its database instead of taking the default init.ora file in the default (asm/dbs) directory.
    As we have performed fail-over testing, upon the restart of instances they have restarted with wrong memory
    definitions that have hung the nodes when it took more memory then what was available and swap space began
    to grow.
    Steps to configure and enable this process is what I am looking for.
    Thanks
    Gerry

    Gerry,
    Here's what we do. Not sure if it is relevant to your situation ...
    (on each node)
    $ cat $ORACLE_HOME/dbs/initrac11d1.ora
    SPFILE='+DATA/rac11d/spfilerac11d.ora'
    (in ASM)
    $ asmcmd
    ASMCMD> ls -la +data/rac11d
    Type Redund Striped Time Sys Name
    Y CONTROLFILE/
    Y DATAFILE/
    Y ONLINELOG/
    Y PARAMETERFILE/
    Y TEMPFILE/
    N spfilerac11d.ora => +DATA/RAC11D/PARAMETERFILE/spfile.267.685170285
    The spfile has all parameters, qualified by node where applicable. For example :
    $ sqlplus / as sysdba
    SQL*Plus: Release 11.1.0.7.0 - Production on Wed May 6 19:00:45 2009
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Release 11.1.0.7.0 - 64bit Production
    With the Real Application Clusters option
    SQL> create pfile='/tmp/sb.ora' from spfile;
    File created.
    SQL> Disconnected from Oracle Database 11g Release 11.1.0.7.0 - 64bit Production
    With the Real Application Clusters option
    $ cat /tmp/sb.ora
    *.archive_lag_target=1800
    *.audit_file_dest='/var/oracle/admin/rac11d/adump'
    rac11d1.dispatchers='(address=(protocol=tcp)(host=msdbc11-vip)(port=64000))'
    rac11d2.dispatchers='(address=(protocol=tcp)(host=msdbc12-vip)(port=64000))'
    *.global_names=TRUE
    rac11d1.instance_number=1
    rac11d2.instance_number=2
    rac11d1.undo_tablespace='UNDOTBS1'
    rac11d2.undo_tablespace='UNDOTBS2'
    Hope this helps,
    Steve

  • How to set UTL_FILE parameter in the INIT.ORA file

    Dear all,
    How can i set UTL_FILE parameter in the INIT.ORA file.
    Also let me know how to create a directory over there.I am new to this area.
    Where exactly i can locate these details and create directory.
    Regards,
    Bala.

    post this in database forum

  • Question on db_unique_name in init.ora for Data Guard

    I need to set up only one physical standby on a different box (at a different location) for the primary db in production.
    OS: Sun Sparc Solaris 10
    Oracle: 10.2.0.3
    Can I use the same db_unique_name in init.ora for both primary and standby DBs?
    What are the minimal parameters required by Data Guard I have to specify in the init.ora in my case?
    Could anyone please post an example of init.ora for both primary and standby DBs?
    Thanks very much in advance.

    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ps.htm#i63561

  • ORA-48108: invalid value given for the diagnostic_dest init.ora parameter

    Hi All,
    I am trying to start my oracle 11g database on windows 7 PC and i am getting below exception
    SQL> startup mount
    ORA-48108: invalid value given for the diagnostic_dest init.ora parameter
    ORA-48140: the specified ADR Base directory does not exist [d:\oracle\app\product\11.2.0\dbhome_1\database\<oracle_base>]
    ORA-48187: specified directory does not exist
    OSD-00002: additional error information
    O/S-Error: (OS 123) The filename, directory name, or volume label syntax is incorrect.
    SQL>
    Earlier it was working fine. For learning purpose, i have created spfile using pfile and after that i got this issue.
    Please help.
    Regards,
    Sunil

    sunil907 wrote:
    Hi,
    I have provided diagnostic_dest folder location (physical path). Now i am getting some different kind of error on startup.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1068937216 bytes
    Fixed Size                  2182592 bytes
    Variable Size             616563264 bytes
    Database Buffers          444596224 bytes
    Redo Buffers                5595136 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    Please help
    What does your own research of 'ORA-00205' indicate?
    the text of the error message is pretty self explanatory .. it couldn't find the control file.
    The control files are specified by the "control_files"  initialilzation paramter.  When you get this error, the instance has started but was unable to mount the control file.  since the init file (spfile) was processed and the instance started you can easily see what it thinks are the control files.
    oracle:fubar$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Jul 16 12:51:37 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area  835104768 bytes
    Fixed Size                  2217952 bytes
    Variable Size             490735648 bytes
    Database Buffers          339738624 bytes
    Redo Buffers                2412544 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    SQL> show parameter control
    NAME                                 TYPE        VALUE
    control_file_record_keep_time        integer     7
    control_files                        string      /u01/app/oracle/oradata/FUBAR/
                                                     controlfile/o1_mf_8ybx4t7w_.ct
                                                     x, /u01/app/oracle/flash_recov
                                                     ery_area/FUBAR/controlfile/o1_
                                                     mf_8ybx4tom_.ctl
    control_management_pack_access       string      NONE
    SQL>
    So what did you do in fixing your original problem that caused your control_files parameter to go south?

  • Best config for init.ora

    Hi,
    I am using
    OS:win 2k8 server 32 bit
    Oracle Database:11g EE 11.2.0.1.0
    RAM: 8GB
    Like to now what is the best config parmaters for a OLTP with maximum of 100 users at the time
    When i use the DBCA command i got the template of init.ora
    where i am not seeing anything for PGA or SGA.
    if i run the
    SQL> show parameter db_cache_size
    NAME                                 TYPE        VALUE
    db_cache_size                        big integer 0
    SQL> show sga
    Total System Global Area  778387456 bytes
    Fixed Size                  1374808 bytes
    Variable Size             486540712 bytes
    Database Buffers          285212672 bytes
    Redo Buffers                5259264 bytes
    SQL> show parameter target
    NAME                                 TYPE        VALUE
    archive_lag_target                   integer     0
    db_flashback_retention_target        integer     1440
    fast_start_io_target                 integer     0
    fast_start_mttr_target               integer     0
    memory_max_target                    big integer 1232M
    memory_target                        big integer 1232M
    parallel_servers_target              integer     16
    pga_aggregate_target                 big integer 0
    sga_target                           big integer 0
    INIT.ORA(DBCA Configuration)
    db_block_size=8192
    open_cursors=300
    db_domain=""
    db_name=mydb
    control_files=
    db_recovery_file_dest=
    db_recovery_file_dest_size=5218762752
    compatible=11.2.0.0.0
    diagnostic_dest=
    memory_target=1287651328
    processes=150
    audit_file_dest=
    audit_trail=db
    remote_login_passwordfile=EXCLUSIVE
    dispatchers="(PROTOCOL=TCP) (SERVICE=MYDBXDB)"
    undo_tablespace=UNDOTBS1
    Is the current setting is good or i need to fine tune my parameters
    Max of 20 million records from max of 100 users per day
    Your suggestions would be helpful for my configutations
    Thanks in advance.

    You cant generalize performance configuration. If it can be oracle would have don it. Fine tuning of parameter values is a on going process. Its not like you set it one and its done. You need to monitor it constantly and tune it on need basis.
    Said that, the first thing that caught me is the setting of SGA_TARGET and PGA_AGGREGATE_TARGET. Both are set to 0 meaning Automated memory management is turned off.
    Run the following two query
    select name
         , value
      from v$parameter
    where upper(name) = 'PGA_AGGREGATE_TARGET'
        or upper(name) = 'WORKAREA_SIZE_POLICY'
        or upper(name) like '%\_AREA\_SIZE' escape '\';
    select name
         , value
      from v$parameter
    where upper(name) in ( 
                              'SGA_TARGET'
                            , 'DB_CACHE_SIZE'
                            , 'SHARED_POOL_SIZE'
                            , 'LARGE_POOL_SIZE'
                            , 'JAVA_POOL_SIZE'
                            , 'STREAMS_POOL_SIZE'
    This will indicate the memory related parameters that are manually set in your environment.

  • 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

Maybe you are looking for

  • What is the best practice to deploy the SharePoint site from test to production environment?

    We are beginning to start a new SharePoint 2010 and 2013 development projects, soon developing new features, lists, workflows, customizations to the SharePoint site, customization to list forms and would like to put good practice (that will help in d

  • LMS 4.2 Device Discovering issue

    HI All I have experience in LMS 3.2 and my company asked me to install and LMS 4.2. I have all documents about LMS 4.2 but it is taking time to read and doing as per document. I started discovery but the problem is last two days it is running and fin

  • Product category in srm should over write the punch-out catalog category

    Hello Gurus, I have a requirement to overwrite the product category which is coming from the punch-out catalog with the SRM product category. Exactly saying i am looking for a mapping program. Because the product category schema in Punch-out Catalog

  • IMovie export question

    I am using Roxio video converter to take my old 8mm tapes into iMovie (10.0.6) and then into iDVD.  I have two questions.  I have read that you should change the video format to AIC for older versions of iMovie, is this still the best practice with t

  • Pull out the SIM card without turn off

    What would happen if I pull out my SIM card without turn off my iPhone? Is it harm my phone?