Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

When you start an Oracle DB which file is accessed first?

This is a discussion on When you start an Oracle DB which file is accessed first? within the Oracle forums, part of the Databases category; Oracle first opens and reads the initialization parameter file (init.ora)....

Go Back   Geeks Talk > Databases > Oracle
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

Oracle Oracle 9i & Oracle 10g Knowledge Base Learn and Share Oracle Technology related articles, white papers, tutorials / study materials, example codes, FAQ's, Tips and Tricks.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-13-2009
Junior Member
 
Join Date: Dec 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
swetashashi is on a distinguished road
When you start an Oracle DB which file is accessed first?

Oracle first opens and reads the initialization parameter file (init.ora).
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-13-2009
Moderator
 
Join Date: Jun 2007
Location: Bangalore,India
Posts: 1,933
Thanks: 10
Thanked 179 Times in 149 Posts
debasisdas has a spectacular aura aboutdebasisdas has a spectacular aura about
Re: When you start an Oracle DB which file is accessed first?

what is that ?
why are you posting both questions and answers ?
Reply With Quote
  #3 (permalink)  
Old 04-14-2009
Junior Member
 
Join Date: Dec 2007
Location: pune
Posts: 24
Thanks: 0
Thanked 1 Time in 1 Post
parag_tyagi2001 is on a distinguished road
Re: When you start an Oracle DB which file is accessed first?

before parameter file (init.ora) , oracle reads spfile
Reply With Quote
  #4 (permalink)  
Old 04-15-2009
Junior Member
 
Join Date: Apr 2009
Location: Chennai
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
vijaygkm is on a distinguished road
Re: When you start an Oracle DB which file is accessed first?

If it has First read init.ora file otherwise spfile.ora
Reply With Quote
The Following User Says Thank You to vijaygkm For This Useful Post:
  #5 (permalink)  
Old 04-16-2009
Contributing Member
 
Join Date: Jan 2009
Posts: 31
Thanks: 0
Thanked 3 Times in 3 Posts
chaitra murthy is on a distinguished road
Re: When you start an Oracle DB which file is accessed first?

The order:-
init.ora
spfile.ora
init.ora
Reply With Quote
  #6 (permalink)  
Old 05-10-2009
Junior Member
 
Join Date: Jun 2007
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
raj_java_j2ee is on a distinguished road
Re: When you start an Oracle DB which file is accessed first?

Correction from previous post:
the directory is Oracle_Home\database and not Oracle_Home\dbs

the first file which is accessed when an Oracle DB is opened is in the following order

1.firstly the spfile which is located in Oracle_Home\database directory.
2.secondly the pfile which is located in Oracle_Home\database directory.
3.If none of the two file exists then the oracle instance will not startup.
4.if you do not want oracle to use the spfile or pfile which is located in Oracle_Home\dbs directory then you can explicitly startup the instance using the pfile created manually using the
following command.

startup pfile='..\initinstancename.ora'
Reply With Quote
  #7 (permalink)  
Old 06-03-2009
Junior Member
 
Join Date: May 2009
Location: India, Mumbai
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
dj_dj_dj is on a distinguished road
Re: When you start an Oracle DB which file is accessed first?

Quote:
Originally Posted by debasisdas View Post
what is that ? why are you posting both questions and answers ?
ans- when you start an oracle db server parameter file (spfile) is accessed first and in case if doesn't exist the parameter file (pfile) is accessed. -regards dharmendra jaiswal (9987926154)
Reply With Quote
Reply

  Geeks Talk > Databases > Oracle

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
How to create ASCII file in oracle with out using UTL package srinivasa.dinesh Oracle 2 02-05-2008 04:31 AM
to start as oracle DBA rpsheth Database General 2 08-06-2007 01:31 AM
Where and how should I start from to learn Oracle Forms Geek_Guest Oracle 0 04-19-2007 04:45 AM
Retrive objects which are last accessed or updated Bhavesh69 Oracle 0 04-17-2007 04:38 PM
Difference between start task and start workflow JobHelper Data Warehousing 1 01-04-2007 11:21 AM


All times are GMT -4. The time now is 12:33 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2005 - 2010 GeekInterview.com. All Rights Reserved