Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: cannot delete entry from spfile
Fabrizio wrote:
> Howard J. Rogers wrote: >
> > > Thank you. Second time in a row you teach me something useful about spfile. > > Just to complete what you have started: > can you explain me the part on "sid='*'"? > I'm puzzled: why do I need to specify "all instances"?
It's bizarre, isn't it?!
When you're not running RAC, you might have thought that the specification of a SID was not necessary, since you've only got the one to choose from.
Even in a RAC environment, you might reasonably have thought the specification of a SID was not necessary, because "*" is the default one. If you ever do 'alter system set shared_pool_size=200M scope=spfile', for example, and then look at what has been set inside the spfile, you'll see an entry for...
*.shared_pool_size=200M
...the "*" gets put in automatically.
But when it comes to *resetting* a parameter, relying on the default to kick in doesn't work. You absolutely, explicitly, have to specify either a named instance or a "*":
SQL> alter system reset transactions_per_rollback_segment scope=spfile; alter system reset transactions_per_rollback_segment scope=spfile
*ERROR at line 1:
SQL> alter system reset transactions_per_rollback_segment scope=spfile sid='*';
System altered.
I can't see the logic in having to specify explicitly what would ordinarily be regarded as the default. But that's simply the way it is.
Best regards,
HJR
> > As always: many thanks >Received on Tue Nov 30 2004 - 13:58:47 CST