Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Init.ora File Points to SPFILE

Posted on 2016-08-02
6
Medium Priority
?
240 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 1000 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 5

Accepted Solution

by:
Abhimanyu Suri earned 1000 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 5

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
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…
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
Suggested Courses

772 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