Solved

Init.ora File Points to SPFILE

Posted on 2016-08-02
6
86 Views
Last Modified: 2016-08-09
We run an Oracle RAC system with ASM.  I noticed our init.ora file has a pointer to spfile:

spfile='+DATA'

Assume this means database is not using init.ora, but is using spfile located on ASM?  Is this typical done on RAC implementations where the database uses a SPFILE that lives in the ASM storage path?  Why is this necessary?
0
Comment
Question by:sdruss
  • 2
  • 2
  • 2
6 Comments
 
LVL 74

Assisted Solution

by:sdstuber
sdstuber earned 250 total points
ID: 41739117
it's not necessary but it is common.

the goal with this is to put the spfile on shared storage, which is often implemented with ASM.

if you keep your files in filesystems that are shared, then it's possible to write the spfile there instead of ASM shared storage; but again, that's less common.
0
 
LVL 4

Accepted Solution

by:
Abhimanyu Suri earned 250 total points
ID: 41739242
In RAC it is always suggested to use common spfile placed at the shared location, so that all instances are identical in terms of memory/parameters.

In RAC with ASM the spfile is placed in the ASM ( shared location maintained by ASM) so all instances can access it.
 init file is local to instance, hence it automatically gets updated with the location of spfile.

Also, Oracle has a preference when it comes to choose spfile over pfile

 spfileSID.ora
 spfile.ora
 initSID.ora
 init.ora

It will look in /dbs for given files and hence gets routed to ASM.

There is further enhancement to it with GPNP profile.
0
 
LVL 1

Author Comment

by:sdruss
ID: 41743620
Exactly what I was looking for. Excellent!
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 4

Expert Comment

by:Abhimanyu Suri
ID: 41743628
Please close the thread when you get chance.
0
 
LVL 1

Author Comment

by:sdruss
ID: 41746414
Nice job.
0
 
LVL 74

Expert Comment

by:sdstuber
ID: 41746431
clearly that post was not an answer.

Please close the question accepting the post, or posts that were actually helpful.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PL SQL Search Across Columns 4 53
Oracle DB monitor SW 21 60
oracle DR - data guard failover. 18 48
join actual table rows based on the column 25 22
Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question