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

Similar Messages

  • Can not select from data dictionary view from a procedure

    Hi,
    I wonder, which privilege is missing here:
    my schema has this roles and privs:
    GRANT CONNECT, RESOURCE TO cb ;
    GRANT CREATE SESSION TO cb ;
    GRANT SELECT_CATALOG_ROLE TO cb ;
    GRANT CREATE SYNONYM TO CB;
    GRANT CREATE VIEW TO CB;
    I create a procedure:
    create or replace procedure dd_test as
    begin
         dbms_output.enable(2000000);
         for r in (select table_name from sys.dba_tab_partitions     where owner = 'CB') loop
                   dbms_output.put_line(r.table_name);
         end loop;
    end;
    sho err
    4/38 PL/SQL: ORA-00942: table or view does not exist
    When I run the core statement form sql prompt, it works !
    so what privilege is missing here ???
    thanks for any hint, Lao De

    Hi,
    thanks for that reply, after doing that I can not select this DD-view from sql-prompt anymore (which I don't wonder ;-). Can you tell me, what idea you had behind that test ?
    I found another instance, where the procedure works and I will compare those privileges, but it's hard to sort out that complex structure of nested roles and sys_privs.
    How ever, I will update here, when I found the missing privilege.
    regards LaoDe

  • 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 file location

    Hi,
    Is there any query by which i can find out the location of init.ora file. We are using unix server.
    Thanks in advance.

    The location of the init.ora file was not stored in the database because with Oracle8 it was possible to start the db remotely using a local init.ora file ( I never did it myself but I did read about it, proberbly on asktom). So a '/tmp/init.ora' would have been meaningless because you would not know which machine it refered to.
    If you have lost your init.ora file it is possible to recreate it by quering v$parameter, if your on 9i or above you can do
    'create pfile from spfile' to get a new copy if you are using an spfile that is! A 'find' on the unix might be the quickest!!
    Regards
    Wayne
    Edited by: waynemac910 on 11-Dec-2008 06:44

  • Init.ora file parameter 'processses' not working

    When I change the number of processes in my init.ora file from the default of 30 to 200, I get an error when accessing from SQLPlus that Oracle cannot be found. I run Oracle 8.1.6i on a Solaris v7 platform. Any suggestions???

    I think your database could not "be found"
    'cause it isn't up.
    Change the init.ora file parameter 'processses' to 'processes' and restart
    the database.
    Oracle refuses starting up, if there are
    mistyped parameters in init<SID>.ora.
    C.Scholten

  • Which init.ora file in use?

    I found init.ora in a couple places.
    How do I determine which init.ora file my oracle is using?
    Is there a sqlplus command to fine the init.ora in use?
    So far, I found them here:
    c:\oracle11g\dbs\init.ora
    c:\oracle11g\admin\mydb1\pfile\init.ora.8172009222712
    Which one is active?
    Any suggestions are greatly appreciated.

    The one that's there in the DBS folder is the first one that is going to be looked upon by Oracle when it will try to start the instance. The one in the $OH/dbs/ is going to be active. The other location would not have the pfile all the time. Also, spfile should be used if you are in 11g. Why you areusing pfile instead of it?
    Here is what I have for 11g system,
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, Oracle Label Security, OLAP, Data Mining
    and Real Application Testing options
    SQL> show parameter spfile
    NAME                                 TYPE        VALUE
    spfile                               string      /u01/app/oracle/product/11.1.0
                                                     /db_1/dbs/spfileorcl.ora
    SQL>You can see the path is $OH/dbs.
    HTH
    Aman....

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

    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.Taken note of yingkuan's comments about directory objects - which don't need a utl_file_dir entry - if you really still need to know (on e-business suite or some other product that needs them) then UTL_FILE_DIR is an initialisation parameter which takes a comma separated list of directories on the database server and to which the oracle software owner (usually oracle on *nix systems and system on windows) has read/write access. To set it therefore you'll need to identify or create your directory and then either
    a) add the line UTL_FILE_DIR=/path/to/dir1, /path/to/dir2
    to your init.ora if you are using one or use
    b) ALTER SYSTEM SET UTL_FILE_DIR=/path/to/dir1, /path/to/dir2 SCOPE=SPFILE;
    if you are using a server parameter file.
    You should be able to find this and more information in the documentation for your version of Oracle.
    Niall Litchfield
    http://www.orawin.info/

  • Init.ora file???

    Hi
    I have a database "Xdb" running on winNT.
    My "ora_home\database" folder contains the following files:
    oradba.exe
    OraDim.exe
    PWDXdb.ora
    SNCFAXDB.ORA
    SPFILEXDB.ORA
    and, ora_home\admin\xdb\pfile\init.ora_242323.
    Well, as far as my knowledge is concerned, to start a database, we need a "init.ora" file. But I don't see any init.ora file in the above said folders, and how come the databas is getting started automatically and from where it reads the "init.ora" file when it is not present?
    Explain me pls.
    TIA
    Aqueel.

    Hi,
    If u want to create a init.ora file u can do the following:
    create pfile='path' from
    spfile;
    This will generate a pfile(init.ora) which can be read.
    If you want to make any changes, u can do that and you can replace the spfile in the same way. Just change the order in the above statement. Generally, the parameters can be changed with the alter system command. This explaination is just to kill your curiosity!!

  • Missing "init.ora" file

    I search lots of website to find out how to create batabase by manual without using OBCA. Almost of the website said that I need to find the "init.ora" file,
    then copy and edit some of the parameters. But the problem is I couldn't find
    "init.ora" file in Windows XP Pro. Is thers someone can tell me the exactly path for this file or help me to create a New "init.ora" file ?
    One more question. Does this file exist before I create new SID or after ?
    Thank you.

    Hi,
    go to start menu and click search option then find init.ora or *.ora, see results ? anyways the location of the init.ora file is d:\oracle\0ra90\admin\sample\pfile if you replace ora_home with d:\oracle and your db must be oracle 9.0.1.you can do one more thing use dbca to create a sampme file.use it and at the very last step uncheck create database and check create script sort of option.save it and use it accroding to your requirement.
    thanks
    Alok.

  • 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

  • Oracle 11g init.ora file

    1) I am a bit confused with init.ora file format in oracle 11g. In addition=
    to the usual entries that are prefixed with *.<parameter>, it also has ent=
    ries prefixed with <sid>.__<parameter>. I am not able to find an explanatio=
    n of these <sid>__ entries from oracle 11g documentation. I am told by a co=
    lleague that they are for instance, to cater for multiple-instances databa=
    ses. Is that correct?
    2) The presence of the <sid>.__ entries confuse me since some parameters ap=
    pear in both <sid>__ and *. sections. What if the values for the same param=
    eter are different, which one is used by oracle? I guess it's the <sid>.__ =
    one?=20
    3) In my case the database has only 1 instance, so I guess I can remove all=
    <sid>.__ entries and only work with *. entries?
    Thanks
    Long

    Hi,
    the entries with double underscore in the spfile that you mention are not new in 11g but also show up in 10g.
    They are caused by the background process MMAN (Memory Manager), that is active if you set SGA_TARGET>0 (in 10g) rsp. MEMORY_TARGET>0 (in 11g).
    This MMAN modifies the Oracle Memory components like the shared pool and the buffer cache, using performance statistics captured by the MMON (Manageability Monitor) and storing the new size of the component in the spfile in order to make that size persistent through instance restarts.
    The prefix of the SID is meaningless in case of a non-RAC database.
    Kind regards
    Uwe
    http://uhesse.wordpress.com

  • 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

  • Init ora file for 2000 server oracle

    i'm running 9.02 on windows 2000. How do i find out which init ora file the start services is picking up. I looked it up in the registry and it wasn't obvious.
    thanks

    Hi,
    All oracle parameters registry related can be found in the book for window. If you don't see the init which is pointing to it is going to the default. Look in ORACLE_HOME\database
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/win.920/a95491/admin.htm#1004903
    Best,
    EA

  • Usage of init.ora file ?

    Hi everybody,
    can anyone explain me in detail about the usage of init.ora
    file. thank u
    hav fun
    prabhu.

    Prabhu,
    As you probably noticed, one book is not enough when preparing for the exams. Also, you need a library of books just to be a DBA. Although some people could do it strictly from memory, when you are working with live systems, it helps to have an extensive collection to reference on a day to day basis. The following is a list of my most recommended books. For a syntax reference book, I would reference "Oracle8i: The Complete Reference" by Kevin Loney and George Koch. Although this will give you the syntax you need to compose the "Create Database" script, you will still need the other books to understand what parameters you will want to set.
    "Oracle8i: The Complete Reference" by Kevin Loney,George Koch
    "Oracle8i DBA Handbook" by Kevin Loney,Marlene Theriault
    "Oracle8i Backup and Recovery" by Rama Velpuri,Anand Adkoli,George Williams
    "Oracle8i DBA: Network Administration" by Barbara Ann Pascavage
    "Oracle8i PL/SQL Programming" by Scott Urman
    "Oracle Performance Tuning Tips & Techniques" by Richard Niemiec, Bradley Brown, Joseph Trezzo
    This is not the complete list of books that you will want as a DBA. There are many great books on Oracle. This is mainly my core recommended reads. If you are studying for your certification, don't be surprised if it takes you a long time to prepare. It is not unusual for it to take more than a year to become certified as the Oracle exams are pretty thorough and require a lot of information. I would also recommend you take the practice exams prior to taking the certification exams. I still have nightmares about taking the Performance Tuning exam. (And I'm no slouch.) I'm not trying to scare you out of taking the exams because I believe that they are very beneficial to DBAs. It will give you a more rounded education in Oracle database administration. Especially if you haven't had a lot of exposure to database administration. Before you take the exams, you will have to understand the application of the knowledge and not just the book material. And it's a lot of material. Good luck to you.
    LM

Maybe you are looking for

  • HP Expert Day - January 9-10, 2013: Tough questions? Ask the Experts!

    Thank you for coming to Expert Day – the event has now concluded. **To find out about future HP Expert Day events, check out this page** On behalf of the Experts, I would like to thank you for coming to the Forum to connect with us.  We hope you will

  • How can I copy a YouTube clip into iMovie?

    How can I copy a clip from YouTube into iMovie?

  • Quicktime pro MPEG - 2 codec

    I recently bought PRO and the Mpeg codec too. PRO works great, but I can't get MPEG to play still. IT is also giving me an error when I try to update, I believe this is the way to get the MPEG installed. Are there any ways around this??

  • Drill-down report (fgi3)

    Hi, in the moment I face two problems with the FI drilldown reports. 1) I want to show the keys and not the corresponding text for a field for customer fields 2) I want to show the hierarchy for Cost of Sales Accounting and furthermore the correspond

  • Sound problems in a video

    i have the latest version of adobe flash player 11.7.700.203 my problem is that whenever i play a video let it be youtube or any other i can only hear the background score and can not hear what the people are saying and their voices sound as if they