Home » RDBMS Server » Server Administration » spfile
spfile [message #167797] Mon, 17 April 2006 03:11 Go to next message
maoro
Messages: 312
Registered: May 2005
Senior Member
hello
i noticed that oracle 9i on windows xp locate the spfile always in \oracle_home\database
how can i change this preference?
i know that i can specify a pfile on startup
like sql> startup pfile=c:\pfile
but how to change the spfile location ?

thanks
Re: spfile [message #167808 is a reply to message #167797] Mon, 17 April 2006 03:52 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
create spfile='/.../.../myspfile' from pfile='/.../../mypfile';
spfile [message #167839 is a reply to message #167797] Mon, 17 April 2006 07:58 Go to previous messageGo to next message
maoro
Messages: 312
Registered: May 2005
Senior Member
i did so
but i still looking for the spfile under the same old location ora_home\database\
?
help thanks
Re: spfile [message #167853 is a reply to message #167839] Mon, 17 April 2006 08:52 Go to previous message
JSI2001
Messages: 1016
Registered: March 2005
Location: Scotland
Senior Member
create a pfile with the line
spfile='location of spfile'

then start the instance pointing to the pfile:

startup pfile='location of your pfile'

However, you must bear in mind that the spfile must still reside on the server itself (even tho' not necessarily in the default location)

HTH
Jim
Previous Topic: where to set redo buffers initialize parameter values
Next Topic: take backup
Goto Forum:
  


Current Time: Fri Sep 20 13:49:00 CDT 2024