joe
Niall Litchfield wrote:
Not only that but this sort of thing should be avoidable.
SQL> alter system set db_cache_size=10m scope=both;
System altered.
<time passes>
SQL> alter system set db_block_buffers=1000 scope=spfile;
System altered.
SQL> shutdown; Database closed. Database dismounted. ORACLE instance shut down. SQL> startup ORA-00381: cannot use both new and old parameters for buffer cache size specific ation SQL>
What do you do if you didn't have an old fashioned text file? I'd also
like to know how spfile changes get documented, it scares me enough that
someone can change parameters on the fly, let alone that that can be
done without comment or recording who did it. I'll admit thugh that this
last is actually a failure of management and not technology.
Niall
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arup Nanda
Sent: 16 July 2003 06:09
To: Multiple recipients of list ORACLE-L
Subject: Re: How to make SPFILE in sync with INIT.ORA ?
Dennis,
My understanding is that Oracle felt if it was going to be a 24x7x365 database, it had to have more parameters that could be changed onlineI couldn't agree more. 9i had more parameters that can be changed online; hope there are more in line.
it doesn't make sense to rely on the DBAAbsolutely. That's the point I was trying to raise. Oracle did provide the spfile route to make _persistent_ changes on the fly, but for only those parameters that can be changed through alter system set ... The problem was there is a different file that needs to be updated when making those other parameter changes. There should be only one place to change - hopefully spfile - either through the alter system command or othe editing. This editing could be done through a GUI interface, too, if needed; although, call me old-fashioned (and I am old, anyway, at least in IT timeline), personally I prefer the vi editor. And this is not an impossible idea. I gave the example of the listener.ora file. It can be edited (so old fashioned), through the lsntctl SAVE_CONFIG command (so spfile-like) or through Net Assistant (so GUI-friendly). The end result is the same - one file - regardless of how you modify a parameter. The same approach could have been done in pfile-spfile case.
to remember to also update the init.ora file. You should be able to just make the change once.
I think with the pfile and spfile, Oracle was trying togive us the
best of both worlds.Hmm! You think so? I think they just gave us a half-cooked hair-brained split-pea honey-mustard-ketchup-coated germ of a solution - sort of like Oracle 6 _without_ the Transaction Processing Option, if anyone remembers that. After you wipe off all those condiments, you find a Dr. Jekyll & Mr. Hyde parameter file(s)!
Regards,
Arup
----- Original Message ----- To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]> Sent: Wednesday, July 16, 2003 12:24 AM
ArupSome
My understanding is that Oracle felt if it was going to be a 24x7x365 database, it had to have more parameters that could be changed online.
parameters were made changeable in Oracle9i, with hints ofmore to come.
If the future is online changes, it doesn't make senseto rely on
theDBA
to remember to also update the init.ora file. You should be able to just make the change once.doesn't
Also, there is a new generation of I.S. people coming along that
think you can operate a computer without a mouse. AgainstMicrosoft's
super
GUI interfaces, the idea of manually editing a textconfiguration file
seems
very last century.give us the
I think with the pfile and spfile, Oracle was trying to
best
of both worlds. How well they succeeded is a matter of judgement.instance
Dennis Williams DBA Lifetouch, Inc. [EMAIL PROTECTED]
-----Original Message----- Sent: Tuesday, July 15, 2003 9:14 PM To: Multiple recipients of list ORACLE-L
The ability to change the system parameters without bouncing the system is not provided by spfile, neither in RAC nor single
databas. It depends upon the the parameter that can be changed dynamically or not.spfiles the
I guess you wanted to convey the impression that the using
parameters can be changed and the changes can be persistent across shutdowns. But that is not just in RAC; it's true forsingle instance
DBs, too.changed using
Now, suppose you want to set a parameter that can't be
ALTER SYSTEM, such as, say, java_pool_size. How do you plan to make the change? You have to open up the old favorite init.ora file and start the database with pfile=init.ora option. At that stage the spfile is not active andyour
issuing Alter system set db_cache_size = 800m scope = [ memory | spfile | both ] sid = * has no effect. You must create thespfile from
the pfileand
then use the newly created spfile to use this "dynamic" parameter persistent. Note the complexity involved - spfile allowedyou to make
the changes to some parmeters using alter systempersistent; but for
all other parametrs you are forced to use pfile. Whathappens if you
ommit the pfile=init.ora clause? The database will pickupthe spfile,
which will_not_
have your changes.Oracle should
To fully appreciate the value of the spfile parameter,
have allowed editing spfile directly and completely done away with pfile. Splitting functionality across two different implementations adds to difficulties, does not resolve them. I hope futureversions of
Oracle do offer that functionality. It's not that difficultor unheard
of, either. Listener.ora, tnsnames.ora are all editable andalso read
by NetAssistant.
just my .02memory | spfile
Arup Nanda
----- Original Message ----- To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]> Sent: Tuesday, July 15, 2003 8:09 PM
Spfile is shared and can be modified dynamically without bouncing the instances.
Eg. Alter system set db_cache_size = 800m scope = [
but|both ]
sid = *
Without spfile, you can still make this change dynamically in memory,
not worth it.you would have to manually update init.ora file to reflect your change. Spfile allows you to automatically capture these dynamic changes.
Gerardo
-----Original Message----- Sent: Tuesday, July 15, 2003 4:45 PM To: Multiple recipients of list ORACLE-L
And how, exactly?
----- Original Message ----- To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]> Sent: Tuesday, July 15, 2003 7:29 PM
You'll appreciate spfiles if you're using RAC.
-----Original Message----- Sent: Tuesday, July 15, 2003 2:09 PM To: Multiple recipients of list ORACLE-L
And create pfile from spfile; does a similar job.
I'm rapidly beginning to think that spfiles are just
them for 9iNow how to reverse the policy decision having mandated
the databaseinstalls :(
Niall
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arup Nanda
Sent: 15 July 2003 04:44
To: Multiple recipients of list ORACLE-L
Subject: Re: How to make SPFILE in sync with INIT.ORA ?
As user sys, issue
CREATE SPFILE FROM PFILE;
This will create the spfile. You must have started
started theusing the pfile to use this command.
HTH.
Arup Nanda
----- Original Message -----
To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
Sent: Monday, July 14, 2003 10:59 PM
Guys,
i have a 9iR2/win2k test instance.
i just renamed CONTROL01.CTL once and tried to start the instance.
SQL>startup But it gave a ORA-00205 error.
so i removed CONTROL01.CTL from INIT.ORA file and
http://www.fatcity.comCONTROL01.CTL in it.instance SQL>startup pfile='d:\oracle\admin\pe92\pfile\init.ora' Now it worked fine.
BUT:
SQL>startup
This is not possible because the SPFILE still has
How do i make my SPFILE in sync with the INIT.ORA ?
Regards, Jp.
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Prem Khanna J INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051
----------------------------------------------------------------San Diego, California -- Mailing list and webhosting services
'ListGuru') and----
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of
UNSUB ORACLE-L (orin the message BODY, include a line containing:
from). You maythe name of mailing list you want to be removed
http://www.fatcity.comalso send
the HELP command for other information (like subscribing).
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Arup Nanda INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051
servicesSan Diego, California -- Mailing list and web hosting
----------------------------------------------------------------
E-Mail message----
-
To REMOVE yourself from this mailing list, send an
http://www.fatcity.comto: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Niall Litchfield INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051
hosting servicesSan Diego, California -- Mailing list and web
------------------------------------------------------------------
E-Mail message---
To REMOVE yourself from this mailing list, send an
'ListGuru') and into: [EMAIL PROTECTED] (note EXACT spelling of
ORACLE-L (or thethe message BODY, include a line containing: UNSUB
may also sendname of mailing list you want to be removed from). You
http://www.fatcity.comthe HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Molina, Gerardo INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051
hosting servicesSan Diego, California -- Mailing list and web
------------------------------------------------------------------
E-Mail message---
To REMOVE yourself from this mailing list, send an
'ListGuru') and into: [EMAIL PROTECTED] (note EXACT spelling of
ORACLE-L (or thethe message BODY, include a line containing: UNSUB
may also sendname of mailing list you want to be removed from). You
http://www.fatcity.comthe HELP command for other information (like subscribing).
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Arup Nanda INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051
hosting servicesSan Diego, California -- Mailing list and web
--------------------------------------------------------------------
'ListGuru') and in the-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of
(or the name ofmessage BODY, include a line containing: UNSUB ORACLE-L
send the HELPmailing list you want to be removed from). You may also
http://www.fatcity.comcommand for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Molina, Gerardo INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051
hosting servicesSan Diego, California -- Mailing list and web
--------------------------------------------------------------------
'ListGuru') and in-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of
from). You maythe message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed
subscribing).also send the HELP command for other information (like
hosting services
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Arup Nanda INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail messagealso send
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may
hosting servicesthe HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: DENNIS WILLIAMS INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail messagealso send
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may
the HELP command for other information (like subscribing).
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Arup Nanda INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--
Joseph S Testa
Chief Technology Officer Data Management Consulting
p: 614-791-9000
f: 614-791-9001
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Joe Testa INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
