Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: spfile vs pfile in 9i
Howard J. Rogers wrote:
> Fabrizio wrote: > >> >> >> Richard Stanton wrote:
>> >> >> In a spfile I miss the old-fashioned comments who could be added in a >> pfile. :( > > First, comments should never be in the init.ora. They make it extremely > hard to read, and I well recall the 33-page one I had to wade through not > a million years ago: every damn parameter preceeded by comments such as > "I, Fred, was authorised by Wilma to increase the shared pool to 160MB. > This was because of blah-de-blah-de-blah". You could never tell whether a > line in the file was actually setting something or was merely the start of > another essay on the meaning of life as seen by Fred. > > Yuk, yuk, yuk. The init.ora should be short, sharp and functional. Keep > change management (and change history) out of it. > > Second, you can of course add comments into the spfile (each new comment > over-writing the last for any given parameter). > > alter system set shared_pool_size=80M comment='I, Fred, am a wally' > scope=spfile sid='*'; > > Regards > HJR
Oh, and I meant to add: the comments are then visible in the UPDATE_COMMENT column of v$spparameter.
Regards
HJR
Received on Sat Oct 23 2004 - 03:24:26 CDT