Home » RDBMS Server » Server Administration » Pfile or Spfile
Pfile or Spfile [message #166183] Wed, 05 April 2006 01:18 Go to next message
suryamz
Messages: 17
Registered: March 2006
Junior Member
Hi

We currently are on 8i/Win NT and would be migrating to 10g.

1)For the creation of a database, ideally which one is suggested
to use - either PFILE or SPFILE ?

2)Going forward on 10g, would it be okie if we go with PFILE instead of SPFILE .

Also,
please can anyone forward me a link or white paper that signifies the latest init parameters that are includedin 10g as against 8i.

Thanks
Surya.
Re: Pfile or Spfile [message #166198 is a reply to message #166183] Wed, 05 April 2006 02:24 Go to previous messageGo to next message
madhusunkara
Messages: 59
Registered: March 2006
Location: hyderabad,india
Member
http://www.adp-gmbh.ch/ora/misc/init_params.html


Thanks
Madhu
Re: Pfile or Spfile [message #166484 is a reply to message #166183] Thu, 06 April 2006 10:10 Go to previous messageGo to next message
oldschool
Messages: 8
Registered: August 2005
Junior Member
Hi,
The big difference between SPFILE and PFILE :

If you use SPFILE, you can change dynamic parameters without restarting your instance. So it can be useful sometime in production.

Be careful to recreate your spfile from pfile when you change static parameters.

In 10g, startup database by default is on spfile.

So, for stactic parameters, change the pfile
startup like that :

startup pfile=$oracle_home/admin/ORACLE_SID/pfile...

and afterthat, update your spfile like that :
SQL> create spfile from pfile;

Re: Pfile or Spfile [message #166489 is a reply to message #166484] Thu, 06 April 2006 10:42 Go to previous messageGo to next message
JSI2001
Messages: 1016
Registered: March 2005
Location: Scotland
Senior Member
@oldschool, your method would require 2 'bounces' of the Oracle server. rather than that use:

alter system set parameter = value scope = spfile;
or scope = memory
or scope = both
(default is both)
then shutdown and startup.
no need to
alter the pfile, shutdown the db, startup with pfile parameter. create the spfile, shutdown the db. startup the db.
Re: Pfile or Spfile [message #166515 is a reply to message #166489] Thu, 06 April 2006 15:27 Go to previous messageGo to next message
madhusunkara
Messages: 59
Registered: March 2006
Location: hyderabad,india
Member
how are you migrating 8i to 10g, i would suggest that use DBUA that will do everything for you.check DBUA guide for more details
http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10763/toc.htm

Thanks
Madhu

Re: Pfile or Spfile [message #167056 is a reply to message #166489] Tue, 11 April 2006 01:55 Go to previous messageGo to next message
oldschool
Messages: 8
Registered: August 2005
Junior Member
Why not !!

Re: Pfile or Spfile [message #167068 is a reply to message #167056] Tue, 11 April 2006 03:26 Go to previous message
JSI2001
Messages: 1016
Registered: March 2005
Location: Scotland
Senior Member
Why not what .... !!!!
Previous Topic: Discoverer for Oracle9i Enterprise Edition Release 9.2.0.3.0
Next Topic: Invalid objects
Goto Forum:
  


Current Time: Fri Sep 20 12:43:45 CDT 2024