Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: spfile vs pfile in 9i

Re: spfile vs pfile in 9i

From: <Kenneth>
Date: Sat, 23 Oct 2004 14:02:21 GMT
Message-ID: <417a6329.404937@news.inet.tele.dk>


On Sat, 23 Oct 2004 05:55:30 +1000, "Howard J. Rogers" <hjr_at_dizwell.com> wrote:

>In summary: don't over-sell the spfile. It is merely a binary version of the
>init.ora, and intrinsically has no advantages over the init.ora at all.
>With one glaring exception: it's new, Oracle is pushing it, and has already
>developed one key piece of advanced functionality (namely Data Guard) which
>*demands* the use of an spfile. You can confidently expect there will be
>others that do the same thing as future versions materialise. Therefore,
>it's the way of the future and we might as well all get used to it.
>
>But functionally, in the terms you have used, they are identical.
>
>Regards
>HJR
>

One clear advantage there is: Instant validation.

 Assume you add a parameter to an init.ora-file (with the vi editor or so) and by accident entered a non-displayable sign into it or simple entered an invalid value. The validation will only take place at startup. With an SPfile, however,

Alter system set <parameter>=<value> scope=spfile

which is functionally equal to changing the init.ora, but Oracle will complain immediately if anything wrong.

Received on Sat Oct 23 2004 - 09:02:21 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US