Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Shooting yourself in the spfile
Tom
The ALTER SYSTEM command has a COMMENT parameter that will write to the spfile. Would this meet your requirement?
One purpose Oracle gave for moving to SPFILE was to reduce the number of database bounces -- ie. change the parameter on-line with the SCOPE=BOTH parameter and then you don't need to bounce the database. Has this been an advantage for anyone?
Dennis Williams
DBA
Lifetouch, Inc.
dwilliams_at_lifetouch.com
-----Original Message-----
From: Mercadante, Thomas F [mailto:thomas.mercadante_at_labor.state.ny.us]
Sent: Friday, February 20, 2004 8:54 AM
To: 'oracle-l_at_freelists.org'
Subject: RE: Shooting yourself in the spfile
Niall,
Aren't you glad that you still have the init.ora file? :)
As for the SPfile, Chris's example is the only one that I've seen so far that makes any sense for using the Spfile. When you are managing hundreds of databases across many remote sites, the Spfile makes sense.
I just wish that the Spfile had a way of documenting when something was changed. When I change the Init.ora, I leave notes within the file detailing what changed and when for histories sake. The Spfile is just a mish-mash of the params not suitable for viewing. So now, I would need to update two things - the Spfile (via OEM or SqlPLus) and a Word document keeping track off changes.
I'm not sure if this is better or worse.
Tom Mercadante
Oracle Certified Professional
-----Original Message-----
From: Niall Litchfield [mailto:n-litchfield_at_audit-commission.gov.uk]
Sent: Friday, February 20, 2004 9:36 AM
To: oracle-l_at_freelists.org
Subject: RE: Shooting yourself in the spfile
Don't you just love it when a demo goes even better than you anticipated
ORA-00381: cannot use both new and old parameters for buffer cache size spe=
cification
SQL> oops
SP2-0042: unknown command "oops" - rest of line ignored.
SQL> create spfile from pfile
2 ;
create spfile from pfile
*
ERROR at line 1:
ORA-00600: internal error code, arguments: [908], [], [], [], [], [], [], []
:(=20
Niall Litchfield
Oracle DBA
Audit Commission
+44 117 975 7805=20
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlput 'unsubscribe' in the subject line.
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request_at_freelists.org
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlput 'unsubscribe' in the subject line.
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request_at_freelists.org
![]() |
![]() |