Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: spfile vs pfile in 9i
Holger Baer wrote:
> Howard J. Rogers wrote:
> [...]
>> Exactly. You actually have to fix the problem twice. Which I suppose >> might mean that at least the person involved will remember not to stuff >> things up again. But its wasted effort, and twice as many chances of >> setting something incorrectly. >> >> But my real concern is that you are relying on what I believe to be an >> undocumented feature (unless you can point me at a bit of doco saying >> otherwise).
I don't want to necessarily prolong discussion about a two-line text file, as you put it, but that wasn't the 'undocumented' thing I was talking about. The business about repeating parameters, and only having the last repeat take effect; or about listing parameters multiple times consecutively and having the multiple values concatenated; none of that is new, and has been around and well-documented since at least version 8.0.
The undocumented feature I'm worried about is: if you have an init.ora that contains SPFILE=/somewhere AND a "shared_pool_size=80M", according to you that means the 80M setting for the shared pool will over-ride whatever the value is in the spfile.
I can find no documentation on that behaviour. And it is, to my mind, in contradiction to the extensively-quoted documentation regarding what happens when a single parameters is set multiple times.
If S_P_S is set once in the init.ora and once in the spfile, I would expect the spfile's setting to take precedence over the init.ora's, based on that documentation. Because, to my way of thinking, the init.ora is read as a whole, and only then is the spfile read and applied.
Or does it depend on the ordering of the SPFILE= and the S_P_S parameters in the init.ora? Because that is even worse, if so!
When I wake up properly, I'll play around with it and find out for myself, I guess.
Regards
HJR
Received on Wed Oct 27 2004 - 14:19:28 CDT