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
Similar Messages
-
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,
Sunilsunil907 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? -
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/ -
Hi gurus,
I have been getting this warning for a while but I can't find a way to get rid of it.
Fri Apr 08 10:29:04 2011
WARNING: The user_dump_dest init.ora parameter has been deprecated.
WARNING: Please remove the user_dump_dest parameter from the init.ora file.
WARNING: The diagnostic_dest init.ora parameter now determines the location of the diagnostic data
WARNING: The new location for the user logs and traces is c:\oracle\diag\rdbms\orcl\orcl\trace
I looked at the init.ora and init_SID.ora file and the pfile but I do not see this parameter. The only places I see this parameter user_dump_dest is through the show parameter user_dump_dest is SQL*Plus and the EM Initialization Parameters, and they both show c:\oracle\diag\rdbms\orcl\orcl\trace.
Please help me fix this warning.
Thank you!
BenStarting in Oracle11g we not longer have many of the original OFA file system structures and we see that the ancient dump destination init.ora parms (core_dump_dest, background_dump_dest, user_dump_dest) are placed by a single diagnostic_dest parameter, the place to go when Oracle wants to take a dump.
You can use the new initialization parameter diagnostic_dest to specify an alternative location for the diag directory contents.
As of Oracle Database 11g Release 1, the diagnostics for each database instance are located in a dedicated directory, which can be specified through the DIAGNOSTIC_DEST initialization parameter. The structure of the directory specified by DIAGNOSTIC_DEST is as follows:
<diagnostic_dest>/diag/rdbms/<dbname>/<instname>
This location is known as the Automatic Diagnostic Repository (ADR) Home. For example, if the database name is proddb and the instance name is proddb1, the ADR home directory would be <diagnostic_dest>/diag/rdbms/proddb/proddb1.
The following files are located under the ADR home directory:
Trace files - located in subdirectory <adr-home>/trace
Alert logs - located in subdirectory <adr-home>/alert. In addition, the alert.log file is now in XML format, which conforms to the Oracle ARB logging standard.
Core files - located in the subdirectory <adr-home>/cdumd
Incident files - the occurrence of each serious error (for example, ORA-600, ORA-1578, ORA-7445) causes an incident to be created. Each incident is assigned an ID and dumping for each incident (error stack, call stack, block dumps, and so on) is stored in its own file, separated from process trace files. Incident dump files are located in <adr-home>/incident/<incdir#>. You can find the incident dump file location inside the process trace file.
refer the link:-
http://download.oracle.com/docs/cd/B28359_01/server.111/b28320/initparams071.htm
http://www.dba-oracle.com/oracle11g/oracle_11g_diagnostic_dest_tips.htm -
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
-
How to find current init.ora file
I have 2 issues:
Issue 1:--
I have some 4-5 init.ora file which are created by some other user and facing difficulties to find exact init.ora which is used by my oracle 9.2 database. same thing for spfile.
Is there any way so that i can find the currently use init.ora file?
Issue 2:
I want to change init.ora file parameters for the oracle9.2(siebel).
Presently default it is showing optimizer_mode=CHOOSE
I have tried to change to RULE but not refelecting after database restart.
at session level i can modify but i want permanent change and for thius i tried with
user SYS as SYSDBA with
ALTER SYSTEM SET optimizer_mode=RULE;
but getting following Oracle erroe message
ORA-02096 specified initialization parameter is not modifiable with this option
Cause: Though the initialization parameter is modifiable, it cannot be modified using the specified command.
Action: Check the Oracle9i Database Administrator's Guide for information about under what scope the parameter may be modified
How we can make changes in init.ora file?
Regards
JunuAs far as I know, there's no possible way to find out which parameter file was used to start instance. And, even if it was, I don't really see much sense in it because parameter file is a client-side file, and usually it required to start up Oracle instance remotely.
In principle, parameter files are obsolete beasts, consider using server parameter file (SPFILE) instead. And, for SPFILE, it's pretty easy to find out its location:
SQL> show parameter pfile
NAME TYPE VALUE
spfile string %ORACLE_HOME%\DATABASE\SPFILE%
ORACLE_SID%.ORAAs for your ORA-02096 error, you have two opportunities to resolve it.
If you decided to use SPFILE, create one (for example, using CREATE SPFILE FROM PFILE command), start your instance with SPFILE then issue:
ALTER SYSTEM SET optimizer_mode=RULE SCOPE = SPFILE;and bounce your instance.
If you still wish to use old-style parameter file, you have to add corresponding setting into that file manually (it's a plain text file in fact) and restart instance.
Regards.
P.S.: Why do you want to enforce rule-based optimizer by the way?... -
Unsetting an init.ora parameter
Version : 11.2, 10.2
Platform : Solaris 10
To Unset an init.ora parameter , would you do
alter system set shared_pool_size='' scope=both sid = '*';
or
alter system reset shared_pool_size scope=both sid = '*';Tom wrote:
RESET doesn't seem to work well for me. I tried RESET for shared_pool_size and PARALLEL_MAX_SERVERS parameters.
After executing RESET
shared_pool_size should have gone back to its default value of 0 . It didn't
PARALLEL_MAX_SERVERS should have gone back 485 . It didn'tNeither of the above parameter reverted to default. PARALLEL_MAX_SERVERS is OS dependant. So I chose a parameter which is not OS dependant : SQL_TRACE
SQL_TRACE's default is FALSE. I set it to TRUE. Then I did a RESET. But this parameter didn't go back to FALSE.
Testing on 11.2.0.2
SQL> show parameter memory_target
NAME TYPE VALUE
memory_target big integer 1200M
SQL> show parameter shared_pool_si
NAME TYPE VALUE
shared_pool_size big integer 0
SQL>
SQL>
SQL> alter system set shared_pool_size = 50m scope=both;
System altered.
SQL> show parameter shared_pool_size
NAME TYPE VALUE
shared_pool_size big integer 64M
SQL>
SQL> alter system reset shared_pool_size;
System altered.
SQL> show parameter shared_pool_size
NAME TYPE VALUE
shared_pool_size big integer 64M
SQL>
SQL> show parameter PARALLEL_MAX_SERVERS
NAME TYPE VALUE
parallel_max_servers integer 485
SQL>
SQL>
SQL>
SQL> alter system set PARALLEL_MAX_SERVERS = 482 scope=both;
System altered.
SQL> show parameter PARALLEL_MAX_SERVERS
NAME TYPE VALUE
parallel_max_servers integer 482
SQL> alter system reset PARALLEL_MAX_SERVERS;
System altered.
SQL> show parameter PARALLEL_MAX_SERVERS
NAME TYPE VALUE
parallel_max_servers integer 482-- Test failed for SQL_TRACE parameter as well
SQL_TRACE's default is FALSE. I set it to TRUE. Then I did a RESET. But this parameter didn't go back to FALSE.
So, I had to manually set sql_trace = false scope=both . Here is what I did
SQL> show parameter sql_trace
NAME TYPE VALUE
sql_trace boolean FALSE
SQL>
SQL>
SQL> alter system set sql_trace = true scope=both;
System altered.
SQL> show parameter sql_trace
NAME TYPE VALUE
sql_trace boolean TRUE
SQL> alter system reset sql_trace;
System altered.
SQL> show parameter sql_trace
NAME TYPE VALUE
sql_trace boolean TRUE
SQL>
SQL> ----------------------> Since RESET didn't work, I am setting it manually
SQL>
SQL> alter system set sql_trace = false scope=both;
System altered.
SQL> show parameter sql_trace
NAME TYPE VALUE
sql_trace boolean FALSE
I retested it and found that we need to give sid='*' only then it will work. So alter system reset doesn't seems to make an immediate effects.
Have a look in my example.
SQL> show parameter shared_pool
NAME TYPE VALUE
shared_pool_reserved_size big integer 10M
shared_pool_size big integer 0
SQL> alter system set shared_pool_size=100m scope=both;
System altered.
SQL> alter system reset shared_pool_size;
System altered.
SQL> show parameter shared_pool
NAME TYPE VALUE
shared_pool_reserved_size big integer 10M
shared_pool_size big integer 100M
SQL> show parameter PARALLEL_MAX_SERVERS
NAME TYPE VALUE
parallel_max_servers integer 20
SQL> alter system set PARALLEL_MAX_SERVERS=50;
System altered.
SQL> show parameter PARALLEL_MAX_SERVERS
NAME TYPE VALUE
parallel_max_servers integer 50
SQL> alter system reset PARALLEL_MAX_SERVERS;
System altered.
SQL> show parameter PARALLEL_MAX_SERVERS
NAME TYPE VALUE
parallel_max_servers integer 50Now with SID='*'
SQL> show parameter shared_pool
NAME TYPE VALUE
shared_pool_reserved_size big integer 10M
shared_pool_size big integer 0
SQL> alter system set shared_pool_size=120m scope=both;
System altered.
SQL> alter system reset shared_pool_size sid='*';
System altered.
SQL> show parameter shared_pool
NAME TYPE VALUE
shared_pool_reserved_size big integer 10M
shared_pool_size big integer 120M
SQL> startup force
Total System Global Area 523108352 bytes
Fixed Size 1375704 bytes
Variable Size 293601832 bytes
Database Buffers 222298112 bytes
Redo Buffers 5832704 bytes
Database mounted.
Database opened.
SQL> show parameter shared_pool
NAME TYPE VALUE
shared_pool_reserved_size big integer 10M
shared_pool_size big integer 0Now for parallel_max_server test
SQL> show parameter parallel_max
NAME TYPE VALUE
parallel_max_servers integer 20
SQL> alter system set parallel_max_servers=20 scope=both;
System altered.
SQL> alter system set parallel_max_servers=30 scope=both;
System altered.
SQL> show parameter parallel_max
NAME TYPE VALUE
parallel_max_servers integer 30
SQL> alter system reset parallel_max_servers sid='*';
System altered.
SQL> show parameter parallel_max
NAME TYPE VALUE
parallel_max_servers integer 30
SQL> startup force
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instan
ORACLE instance started.
Total System Global Area 523108352 bytes
Fixed Size 1375704 bytes
Variable Size 293601832 bytes
Database Buffers 222298112 bytes
Redo Buffers 5832704 bytes
Database mounted.
Database opened.
SQL> show parameter parallel_max
NAME TYPE VALUE
parallel_max_servers integer 20My database is 11.2.0.1 were i tested
So we have seen that parameters returns to theri default values if you spcify sid='*' and bounce database.
Edited by: 909592 on Mar 23, 2012 1:43 PM -
Init.ora parameter text_enable
What is the relevance of text_enable init.ora
parameter with Intermedia Text 8.1.6. The
parameter exists in the 8.1.6 database, is
not documented in Reference Manual on
Initialization Parameters.http://technet.oracle.com//products/intermedia/htdocs/text_techover.html?found
Scan for text_enable.
This document says it is no longer used in Oracle 8i.
Hope this helps. -
Hello,
I need to change the init.ora file to point to spfile, such as spfile='D:\oracle\product\11.2.0\db_1\database\spfile.ora'
currently the init.ora has all the variables that spfile has, but we would like to point to spfile from init.ora file.
for this do I have to restart the database to add the above command to init.ora file?
what are the other impacts, if I change init.ora to point ot spfile while the DB is online?
Thanks....792290 wrote:
Hello,
I need to change the init.ora file to point to spfile, such as spfile='D:\oracle\product\11.2.0\db_1\database\spfile.ora'
currently the init.ora has all the variables that spfile has, but we would like to point to spfile from init.ora file.
for this do I have to restart the database to add the above command to init.ora file?
what are the other impacts, if I change init.ora to point ot spfile while the DB is online?
Thanks....
Assuming your pfile is using the default name in the default location ...
sql> conn / as sysdba
sql> shutdown immediate
sql> create spfile from pfile;
sql> startup;
sql> show parameter spfile
done.
At this point you should be running entirely off the spfile. The pfile is irrelevant, though as Joel mentioned, it's not a bad thing to recreate it from the spfile occasionally and back it up.
-- edit several hours later ...
I should have mentioned that that init file does NOT have an 'ifile' reference to the spfile. -
What is the quickest way to query the init.ora?
What is the quickest way to query the init.ora?
Use SHOW PARAMETER at the sql plus prompt.
SQL> show parameter undo
NAME TYPE VALUE
undo_management string AUTO
undo_retention integer 7200
undo_suppress_errors boolean FALSE
undo_tablespace string rollback01
SQL> -
I live in Australia but when I upgraded to IOS6 it changed my App Store region to the US. How can I change it back? I have been trying to find the answer.
Contact iTunes support & request they clear the balance:
http://www.apple.com/support/itunes/ -
I'm trying to find the download for Adobe Creative Suite that I bought.
I'm trying to find the download for Adobe Creative Suite that I bought.
I have it in my order history with the serial clearly displayed, but no download button and it can't be found on the adobe site. I know it's old, but I don't care. I paid for it and I want to use it.Downloads available:
Suites and Programs: CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
Acrobat: XI, X | 9,8 | 9 standard
Premiere Elements: 13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
Photoshop Elements: 13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
Lightroom: 5.7| 5 | 4 | 3
Captivate: 8 | 7 | 6 | 5
Contribute: CS5 | CS4, CS3
Download and installation help for Adobe links
Download and installation help for Prodesigntools links are listed on most linked pages. They are critical; especially steps 1, 2 and 3. If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'. -
Trying to find the number of rows in a ResultSet
I am trying to find the number of rows in a ResultSet, using the following code:
rs = st.executeQuery(query);
rs.last(); // to move the cursor to the last row
System.out.println(rs.getRow());
However, I am getting this error:
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Unsupported method: ResultSet.last
Whats going wrong??praveen_potru wrote:
You might have not used scrollable result set..
Try like this:
stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);rs = stmt.executeQuery(sqlString);
// Point to the last row in resultset.
rs.last();
// Get the row position which is also the number of rows in the ResultSet.
int rowcount = rs.getRow();
System.out.println("Total rows for the query: "+rowcount);
cheersAnd I hope the OP would read it because the thread is a year old. -
I lost an xcel doc a couple of days ago. Tried to find the Library folder in Users but not there when I use Finder (even when I do shift-command-G). But when trying to upload a photo in iphoto I found the library folder in Users. I can see my doc in Office 2011 Autorecovery, but can't access it! How do I get User to show Library then I can get to my long lost document?
The auto recovery dat should be in the Microsoft User Data folder in your documents folder, not in the Library. However, I Haven't had to look recently.
-
I'm trying to find the plugin for camera raw, but all I can find is the page with the cameras that are supported. But I don't find how to find and install the actual plugin. The end name is ARW, and all I need is to find WHERE I can download it. Thanks.
cr is installed by updating your app. use help>update, or update manually
pre cc updates: http://www.adobe.com/downloads/updates/
cc updates: http://prodesigntools.com/adobe-cc-updates-direct-links-windows.html
cc 2104 updates: http://prodesigntools.com/adobe-cc-2014-updates-links-windows.html
Maybe you are looking for
-
A lot of blocking locks on NRIV daily
Hi experts, Our system has a lot of blocking locks on NRIV. I use DMV to check and find many processes update RF_BELEG frequently. I find note 840901 can solve using parallel buffering, but our FI users do not agree sale document number without con
-
Ipod nano 4th gen won't synch with windows 7
I recently reset my windows 7 laptop. Ever since, itunes has not been synching with my 4th gen ipod nano. The device is being recognised and charges, but music would not synch. This wasn't too much of an issue for a while. But today I wanted to updat
-
NI-DNET software version 1.4.2 does not show up on Labview 8.2
I am using the NI Devicenet PCI card in my system. After installing the 1.4.2 software, I had no trouble communicating with my Devicenet controller with Labview 8.0. After downloading Labview 8.2, I no longer get the devicenet vi's on the Instrument
-
Hello, Can you please suggest if it is possible to change mail title for a amended PO as 'Purchase Order Amendment' whenever a change is done to PO and then the output message is reprocessed?Any advice would be greatly appreciated.Thanks. Kind regard
-
Iphone 5 connectivity worse than Iphone5
I just got an iphone 5 and (like my wife's new droid) the verizon connectivity at our house went from bad (old phones) to worse (can't connect/send text). Looking at returning my new phone, reverting my contract extension and replacing my wife's wit