set the database parameters using the init.ora file

Hi all

I'm working on a product of oracle (BI Apps), it gives a setting recommended database values in an inti.ora file. How can I apply this file to my database? in other how can words I use the values of the recommended settings in this file?

Thanks for your time.

Hello

Try this:

(1) connect to your database as a SYSDBA
(2) issue: CREATE PFILE='/tmp/pfile.ora' OF SPFILE;
(3) /tmp/pfile.ora to modify and add some references in your init.ora requests file - or update the current entries if those that already exist.
(4) stop your database.
(5) start your database in restricted using the new /tmp/pfile.ora mode to see if the settings are ok and if your database will start with them. (If he - go to 6), if no, go to 3)
(6) question: CREATE SPFILE FROM PFILE='/tmp/pfile.ora'
(7) judgment of the database
(8) start as usual-, this will use the spfile with the changes.

Nice.

Note:
Step 2) assumes that you are on * NIX and are actually using a spfile in your database already...

Tags: Database

Similar Questions

  • What average star (asterisk) in the init.ora file

    What average star (asterisk) in the init.ora file? Parameters such as core_dump_dest, db_block_size db_domain mentioned below has a prceeding *.

    What does that mean?
    jap91.__sga_target=1392508928
    jap91.__shared_io_pool_size=0
    jap91.__shared_pool_size=822083584
    jap91.__streams_pool_size=0
    *.core_dump_dest='/data_DISK1/bkp_dir/jap91/cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16

    This is the rating that mentions that the setting is applied to all instances, if you use a RAC database. Instead of *, you can also SID in the specific case of fees so if you want that the parameter only works for this instance.

    HTH
    Aman...

  • Modify the init.ora file

    Hello

    I need to add the utl_file_dir parameter in the init.ora file. I have to restart the database changes to be effective?
    My version of oracle's
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
    With partitioning, OLAP and Oracle Data Mining options
    Release 9.2.0.8.0 - Production jserver

    Akhil N K wrote:
    The below two statements mean the same thing?

    N °

    (1) creating a directory of oracle to help create or replace directory command

    This refers to create a Directory object in the database by using the create directory command which must be mapped to a path of directory valid o/s.
    http://download.Oracle.com/docs/CD/B10501_01/server.920/a96540/statements_58a.htm#SQLRF01207

    (2) adding parameter utl_file_dir

    It is referring to the init file editing and the addition of the parameter here.

    HTH
    Aman...

  • How to find the init.ora file active.

    My current database version is 9.2.0.1. I need find the init.ora file that is actively used by the database.
    When I try to search in files, I get too many files with the same name and the same extension. (i.e., initdb.ora, etc...) I need help to understand which file is good.

    Thank you...

    If your database is opened with PFILE that running it is watch the current init.ora used to open the DB.

    SQL > show the settings file
    SPFile string C:\ORACLE\PRODUCT\10.2.0\DB_1\
    DATABASE\SPFILESAMDB. ORA

    THiiS watch my DB is started with spfile and the location of the SPFILE.

  • There the init.ora parameters cannot be changed at all?

    DB version: 11 GR 2

    We have the following two types of initialization parameters

    Dynamic - which can be changed without a rebound in DB (example CURSOR_SHARING)
    Static - which can be changed with a rebound in DB (example MEMORY_MAX_TARGET)

    The two types of init parameters listed above can be changed with or without a rebound in the DB. There are initialization parameters that cannot be changed at all with or without a rebound in DB?

    Max wrote:

    Documentation is Oracle that describes the init.ora parameters ' Oracle database reference 11gRelease 2'. It is not answered my question

    Maybe it does.

    of DB_BLOCK_SIZE

    The value of DB_BLOCK_SIZE in effect at the time you create the database determines the size of the blocks. The value must be set to its initial value.


  • How to create a single init.ora file for node 3 RAC to the title of the ASM

    All,

    Our environment is that a combination of different memory machines (V880, V490 & 250R) SUN of size.
    Establishing a single init.ora file that includes each of the memory of nodes in the SGA sizing is our desired configuration.
    Although we have created the file, the question becomes each NŒUD on the FCAC to use this unique setting
    file to launch its database instead of take the default init.ora file in the default directory (asm/dbs).

    As we conducted tests of failover, on restarting the instances they have restarted with bad memory
    definitions that have hung the nodes when it took more memory then what was available and the swap space has begun
    to develop.

    Steps to configure and activate the process, that's what I'm looking for.

    Thank you

    Gerry

    Gerry,

    Here's what we do. Don't know if it is relevant to your situation...

    (on each node)
    $ cat $ORACLE_HOME/dbs/initrac11d1.ora
    SPFile='+Data/rac11d/spfilerac11d.ora'

    (as ASM)
    $ asmcmd
    ASMCMD > ls - al + data/rac11d
    Name of type Redund time scratched Sys
    Y CONTROLFILE.
    DATAFILE Y.
    Y ONLINELOG.
    FICHIER_PARAMETRES Y.
    TEMPFILE Y.
    N spfilerac11d.ora-online +DATA/RAC11D/PARAMETERFILE/spfile.267.685170285

    The spfile has all the parameters, described by the node, if any. For example:

    $ sqlplus / as sysdba

    SQL * more: version 11.1.0.7.0 - Production Wednesday, may 6, 19:00:45 2009

    Copyright (c) 1982, 2008, Oracle. All rights reserved.

    Connected to:
    Oracle Database 11 g Release 11.1.0.7.0 - 64 bit Production
    With the Real Application Clusters option

    SQL > create pfile='/tmp/sb.ora' of spfile;

    Created file.

    SQL > disconnected from the database to Oracle 11 g Release 11.1.0.7.0 - 64 bit 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

  • What process reads the spfile/init.ora file


    Hello

    When we start the Oracle DB using the 'START' command, what background process reads the spfile/init.ora file?

    Also at startup, process that reads the control file?

    In my humble OPINION, there isn't any background process, but the server process.

    Aman...

  • Creation of the two controlfiles in an auxiliary init.ora file

    How the two controlfiles can be created in an auxiliary init.ora file?

    (1) immediate stop

    (2) manually copy original controlfile and paste in any other destination

    (3) changing init.ora

    control_file = ,

    (4) starting with the init.ora.

  • Net Oracle does not read the tnsnames.ora file.

    I am running 11.2.0.3 on Solaris 10 SPARC x 64. I'm trying to configure oracle net for a new database on hold in order to be able to use rman duplicate to create. LDAP is what we mainly use for all of our connections and, possibly, what I could use very well for my goal of rman duplication. But, I fear that I do nothing seems to allow me to read the tnsnames.ora file.

    My SQLNET. ORA file is as follows:

    NAMES. DIRECTORY_PATH = (LDAP, TNSNAMES)

    NAMES. DEFAULT_DOMAIN = mydomain.com

    My TNSNAMES file. ORA file is as follows on both servers:

    WLDB_HERE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = primary_server) (PORT = 1521))
    )
    (CONNECT_DATA = (SERVICE_NAME = wldb_here.mydomain.com))
    )

    WLDB_THERE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby_server) (PORT = 1521))
    )
    (CONNECT_DATA = (SERVICE_NAME = wldb_there.mydomain.com))
    )

    I have a static entry in the remote listener.ora file so I can connect to create the instance:

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = wldb_there.mydomain.com)
    (ORACLE_HOME = / u01/app/oracle/product/OraHome112)
    (SID_NAME = WJZI)
    )
    )

    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby_server) (PORT = 1521))
    )

    Permissions on my .ora files in $ORACLE_HOME/network/admin are

    -rw - r - r - 1 oracle dba

    The user that I am connected to who is oracle.

    I have set up several times before, but for some reason that I can't get this to work. I get

    AMT-03505: failed to resolve host

    Of

    tnsping wldb_there

    or

    tnsping wldb_here

    I have not tried to take the LDAP Protocol on my sqlnet.ora because I need, but I really want to know if anyone has had an experience like this before.

    Thank you-

    gregb wrote:

    I am running 11.2.0.3 on Solaris 10 SPARC x 64. I'm trying to configure oracle net for a new database on hold in order to be able to use rman duplicate to create. LDAP is what we mainly use for all of our connections and, possibly, what I could use very well for my goal of rman duplication. But, I fear that I do nothing seems to allow me to read the tnsnames.ora file.

    My SQLNET. ORA file is as follows:

    NAMES. DIRECTORY_PATH = (LDAP, TNSNAMES)

    NAMES. DEFAULT_DOMAIN = mydomain.com

    My TNSNAMES file. ORA file is as follows on both servers:

    WLDB_HERE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = primary_server) (PORT = 1521))
    )
    (CONNECT_DATA = (SERVICE_NAME = wldb_here.mydomain.com))


    )

    Because you have NAMES. DEFAULT_DOMAIN = mydomain.com in your sqlnet.ora, when you try to connect to "WLDB_HERE", before tnsnames.ora is read, sqlnet will transform your application in "WLDB_HERE.mydomain.com".  And that's what he's going to get.

    You do not have an entry in your tnsnames.ora to 'WLDB_HERE.mydomain.com '.

    WLDB_THERE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby_server) (PORT = 1521))
    )
    (CONNECT_DATA = (SERVICE_NAME = wldb_there.mydomain.com))
    )

    I have a static entry in the remote listener.ora file so I can connect to create the instance:

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = wldb_there.mydomain.com)
    (ORACLE_HOME = / u01/app/oracle/product/OraHome112)
    (SID_NAME = WJZI)
    )
    )

    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby_server) (PORT = 1521))
    )

    Permissions on my .ora files in $ORACLE_HOME/network/admin are

    -rw - r - r - 1 oracle dba

    The user that I am connected to who is oracle.

    I have set up several times before, but for some reason that I can't get this to work. I get

    AMT-03505: failed to resolve host

    Of

    tnsping wldb_there

    or

    tnsping wldb_here

    I have not tried to take the LDAP Protocol on my sqlnet.ora because I need, but I really want to know if anyone has had an experience like this before.

    Thank you-

  • What is the endpoints_listener.ora file?

    In 11.2.0.1 (OH/network/admin) it is a new file called endpoints_listener.ora. What is the purpose of this file and what is its relationship with listener.ora? Couldn't find much info on this file in the docs.

    Check here:
    [http://download.oracle.com/docs/cd/E11882_01/readmes.112/e11015/toc.htm]

    The endpoints_listener.ora file is used for the default listener endpoints when the files of data in Oracle Database 11 g Release 1 or Oracle Database 10 g Release 2 are created on a disk ASM 11.2 release group. However, when the listener is changed (for example, changing a number of port using the Network Setup Wizard), the endpoints_listener.ora file is not updated.

    -André

  • How to create the listener.ora file

    Hi all

    My emca start dbconsole... successful because I do not have in network/admin listener.ora. My interlocutor only runs on the default config

    I can't run gui netca bacause I connect only remotely using PuTTY.

    I want to run in silent mode netca to create the listener.ora file... can you give me response.file of the sample for netca?


    Thank you

    Published by: yxes2013 on 3.5.2013 04:14

    I meet emca error before and it is just resolved when I created lisnter.ora, so I want to try it.

    I doubt that listener.ora was the cause.

    Although experience is a better teacher.

    No, trying to find the cause of a problem is a better teacher, just try things at random - it's a good way to teach you things like "emctl start dbconsole does not work without a listener.ora", which is clearly false.

    Once start emca

    The command is not 'emca,' maybe that's your problem.

    We don't know, because you have not copied/pasted something here, including the error message

  • How to set the permissions of files Adobe in environment Windows 10?

    I had a Photoshop 30 day trial on Windows 7 works well. I then upgraded to 10 Windows and all of a sudden my Photoshop does not work. I tried to reinstall several times using creative cloud and get the following errors:

    -0 fatal Error (s), 2 error (s)

    -Payload: Adobe Preview CC (32 bit) 1.0.0.0 {A7E22330-5471-4FC9-B06A-8EFC8F9418E2}.

    ERROR: DF024: cannot move the file in 'C:\Program Files\Common Files\Adobe\Installers\adobeTemp\ {A7E22330-5471-4FC9-B06A-8EFC8F9418E2} \_2052_6f88c959db3 e30eb5993c963941d67c8' to
    'C:\Program Files\Common Files\Adobe\Plug-Ins\CC\Generator\preview.generate\node_modules\ws\build\Release\bufferut il.node' error 32 the present query is used by another process... Try setting the correct permissions for the specified file/folder or parent, so that the admin has the right to modify. SEQ (2052).

    I am a newbie to win 10 with administrator rights and have been pulling on my hair, trying to set permissions. Is there anyone who can HELP me either by email {email removed by Mod} or by providing a phone number so that I can call it. I am abroad and heres my temporary cell phone deleted by Mod {number} or how can I get remote assistance? Also, I'm new to this forum, any help is appreciated. URL, YouTube etc..

    Sicerely,

    Dave Perez

    Post edited by: Moderator

    Hind site, it would have been better to leave the trial run before the upgrade or wait until you upgrade and then installed the trial. I'm afraid that it compromised the authorisation scheme that counts how many days you have left.

    I will forward this thread to Adobe and see if someone can help. I wish you good luck...

  • CFHeader to set the content-disposition file name does not

    Hello


    We have the code that creates a workbook with the POI library and then using CFHeader to set name of file with content-disposition, as shown in the code below. After making the content available, we write the Excel workbook in the browser. The code is below.


    This works perfectly in CF 9 but when we went to SEE 11 we found it doesn't work anymore. The same code works fine in CF 9 but not in CF 11. The file name is ignored and the file is now given the name of the cfm script is called with the correct xls extension.


    Any suggestions as to what is the cause for CF not CF 9 11 would be appreciated.


    Code:

    < name cfheader = "Content-Disposition" value = "seizure; filename = "#arguments. "FileName #" ">"

    < cfscript >

    Write the workbook in the ByteArrayOutputStream to get the ContentLength

    local.workBook.write (local.outStream);

    local. Len = arrayLen (local.outStream.toByteArray ());

    local.outStream.flush ();

    local.outStream.close ();

    Working now on the display of the browser output stream

    local. Context = getPageContext();

    local.context.setFlushOutput (false);

    Calling the getResponse twice (2nd getResponse) method gets the binary response of the character response (1st getResponse)

    local. Response = local.context.getResponse (m:System.NET.FtpWebRequest.GetResponse ());

    retrieve the output stream from the response to the browser.

    local.out = local.response.getOutputStream ();

    local. Response.Reset ();

    Set the content type and the contentLength

    If the two are not provided, then the data will be displayed not correctly

    local.response.setContentType("application/vnd.ms-excel");

    local.response.setContentLength (local.len);

    write the workbook in the binary output of http response stream

    local.workBook.write (local.out);

    clean things up and close the output stream

    local.out.Flush ();

    local.response.flushBuffer ();

    local.out.Close ();

    < / cfscript >

    Kind regards

    Leslie

    I found the problem. He is not related to the use of the POI library to all. Also we are migrating to CF 11 currently and just try to get things migrated as is. After our migration, we will look at CFSpreadsheet to see if it can meet the demand of our users formatting now.

    It seems that the call to local.response.reset () in CF 11 now clears the response properties, including the elements of headers. CF 9, he should not have deleted them as background. By setting the Content-Disposition response header after this point, the value was available for the browser to use.

    If the default file for a generated file name must be the name of the script creating the name of the file followed by the file appropriate for the file extension.

    The updated code is below, note the lines of code in bold.

    Write the workbook in the ByteArrayOutputStream to get the ContentLength

    local.workBook.write (local.outStream);

    local. Len = arrayLen (local.outStream.toByteArray ());

    local.outStream.flush ();

    local.outStream.close ();

    Working now on the display of the browser output stream

    local. Context = getPageContext();

    local.context.setFlushOutput (false);

    Calling the getResponse twice (2nd getResponse) method gets the binary response of the character response (1st getResponse)

    local. Response = local.context.getResponse (m:System.NET.FtpWebRequest.GetResponse ());

    retrieve the output stream from the response to the browser.

    local.out = local.response.getOutputStream ();

      local. Response.Reset ();

    Send the browser the good content-disposition header

    local.resp = local.context.getResponse ();

    local.resp.setHeader (("string", "Content-Disposition") javacast, javacast ("string", "001438.EPS nt;filename=#arguments.fileName#")); "))

    Set the content type and the contentLength

    If the two are not provided, then the data will be displayed not correctly

    local.response.setContentType("application/vnd.ms-excel");

    local.response.setContentLength (local.len);

    write the workbook in the binary output of http response stream

    local.workBook.write (local.out);

    clean things up and close the output stream

    local.out.Flush ();

    local.response.flushBuffer ();

    local.out.Close ();

  • Change the listener.ora file

    Hello, I'm trying to set Microsoft Excel file as a source file in Oracle 11 g Release 2.

    I need to change the file with the following entries listener.ora:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = excelsid)
    (OWB_HOME = C:\oracle11g\product\11.2.0\db_1)
    (PROGRAM = dg4odbc)
    )
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (OWB_HOME = C:\oracle11g\product\11.2.0\db_1)
    (= Extproc PROGRAM)
    )
    )

    When I opened listener.ora without modification, he showed this:

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\app\user\product\11.2.0\dbhome_1)
    (= Extproc PROGRAM)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\user\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    )
    )

    ADR_BASE_LISTENER = C:\app\user

    OK with the first half, it's the same, I can make changes, it needs to be done. But what I do with the other halves? (SID_DESC =
    (SID_NAME = PLSExtProc)
    (OWB_HOME = C:\oracle11g\product\11.2.0\db_1)
    (= Extproc PROGRAM)
    )
    Should I write it above the listener...?
    I'm afraid to damage the file. Can you please tell me if you know exactly? Thank you

    In your case, the listner.ora will be like

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\app\user\product\11.2.0\dbhome_1)
    (= Extproc PROGRAM)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\user\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
    (SID_DESC =
    (SID_NAME = excelsid)
    (OWB_HOME = C:\oracle11g\product\11.2.0\db_1)
    (PROGRAM = dg4odbc)
    )
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (OWB_HOME = C:\oracle11g\product\11.2.0\db_1)
    (= Extproc PROGRAM)
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    )
    )

    ADR_BASE_LISTENER = C:\app\user

    But befor changing file creake listner.ora a backup of it to face in a new file say listner_bkp.ora

    Thank you
    Fati

  • Number of headphone port as alias in the listener.ora file name

    Hello
    I heard that the TCP/IP port number can be specified as either a number or alias mapped to the port name in the file/etc/services.

    I added this port number in the file/etc/services as follows

    #######################################
    Listener listener port number 1521/tcp #oracle
    #######################################

    and I added the alias name in the following listener.ora file

    ################################################
    (ADDRESS = (PROTOCOL = TCP) (HOST = 15.154.53.66)(PORT = écouteur))
    ################################################

    but when I start the listener, it gives me this error.

    ######################################################################################
    Oracle of $ lsnrctl start

    LSNRCTL for HP - UX: release 10.2.0.4.0 - Production on June 8, 2009 18:21:15

    Copyright (c) 1991, 2007, Oracle. All rights reserved.

    From /opt/oracle/product/10.2.0.1.0/bin/tnslsnr: Please wait...

    TNSLSNR for HP - UX: release 10.2.0.4.0 - Production
    System settings file is /opt/oracle/product/10.2.0.1.0/network/admin/listener.ora
    Log messages written to /opt/oracle/product/10.2.0.1.0/network/log/oracle.log
    AMT-01150: the name of the specified listener address is incorrect
    AMT-01153: failed to process the string: (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 15.154.53.66)(PORT=listener)))

    Listening port could start. See the above error messages...
    #####################################################################################

    Could you get it someone please let me know the mistake I made here or the right way to do this?

    Thank you...

    Using Oracle, you should not 'hear' (fairy tales that are), but you should read (documentation)

    You 'heard' a fairy tale.

    ---------------
    Sybrand Bakker
    Senior Oracle DBA

    Experts: those who don't read the documentation.

Maybe you are looking for

  • 10.11.4 external drive not recognized

    I've recently updated to OS X 10.11.4; Since then, when you try to use Time Machine to back up my MacBook Air to Rikiki external hard drive connected via USB, I get an error message: "the backup drive is not available."  When I use the same exact dis

  • Not appearing phone numbers do not

    On my laptop HP with Windows Vista, phone numbers seem to be missing, for example as email when someone sends me a phone number, or on Craigslist where there should be a phone number to call.  When I'm on my PC with XP installed, I can open the email

  • VISTA INSTALLATION PROBLEM RE. MS OFFICE HAS DISAPPEARED

    YET ONCE AGAIN, I WAS INVITED TO START TO USE THE BOOT CD. BUT THIS TIME HE WAS INSTALLING A FULL RE. APPARENTLY ALREADY THE ROOT FILES WERE DAMAGED. DON'T KNOW WHAT THIS MEANS. NOW, I FIND THAT MY SUITE MS OFFICE WENT. IT IS NOT IN THE CREATED FILE.

  • Windows Update fails, "returning changes" hangs forever

    I seem to have bricked just computer from a friend, unless someone has an idea what to do.  This morning, I got it innocently install 108 updates.  Towards the end of this afternoon she called me to say that the computer had asked to be restarted to

  • MapView

    Hello Where can I find more information on MapView? There are in the release notes for the beta 2 release of Cascades information that MapView has been added in this version, but I can't find all classes with those in QAnywhere. Also, there are no ex