Switching of pfile from spfile

Oracle 11.0.1.7:

Ask a fundamental question. We got a new database, but that it is currently using pfile. I mean spfile parameter is EMPTY or NULL. How can I make the change as Oracle starts using the spfile? I create spfile spfile to create but when I try to change the spfile parameter I get the following:
SQL> alter system set spfile='/u01/app/oracle/product/11.1.0.7/dbs/spfileprf01.ora' scope=both;
alter system set spfile='/u01/app/oracle/product/11.1.0.7/dbs/spfileprf01.ora' scope=both
*
ERROR at line 1:
ORA-32017: failure in updating SPFILE
ORA-32019: The parameter SPFILE cannot be updated in the server parameter file.
I can update in good memory.

Another question I have is to start up Oracle how to know if she should use pfile or spfile?

Another question I have is to start up Oracle how to know if she should use pfile or spfile?

If $ORACLE_HOME/dbs/spfileSID.ora exists, it will be used first.
If there is no such thing as spfile & initSID.ora file exists in the folder /dbs, it will be used.
Or, if
STARTUP PFILE =
or
START = SPFILE
either use the file can reside in oin any folder as any filename.

Tags: Database

Similar Questions

  • "create pfile from spfile" - pfile displays "underscore" parameters but...

    Environment:

    Oracle on Solaris 11.2.0.3 10.5

    I have two 2 databases on two 2 different servers which were created at the same time and by the same method.

    I did a "create pfile from spfile" on the two databases.

    A pfile file has the list of the parameters expected.

    The other has about 150 parameters that begin with either a single or double underscore.

    I know what are the parameters of underscore.

    My question is, why didn't a pfile has them and the other not?

    Just curious.

    Thanks a lot for your comments or documentation references.

    -gary

    garywicke wrote:
    Could this be another parameter system? If so, no idea which?

    It's intriguing.

    I looked around metalink, and any surprising info.

    "Why create PFILE | SPFILE output MEMORY differs from that of the SPFILE. PFILE? [ID 784133.1] »

    On the one for which the PFILE file does NOT have the hidden settings, works from the SPFILE and PFILE file?

    SQL> SELECT DECODE(value, NULL, 'PFILE', 'SPFILE') "Init File Type"
           FROM sys.v_$parameter WHERE name = 'spfile';
    

    and the SPFILE contains hidden settings? (change the spfile - in r/o If possible - and make sure that you do NOT save at the end)

  • create pfile from spfile error

    Hello!

    I'm under oracle xe 10g on ubuntu 10.10.

    I tried to create a pfile from spfile file.

    I have connected to the db in sqlplus under sys (as sysdba).

    That I executed the following command:

    SQL > create pfile='/tmp/initXE.ora' of spfile;

    and came to the following error:

    create a pfile='/tmp/initXE.ora' of spfile
    *
    ERROR on line 1:
    ORA-27041: could not open the file
    Linux error: 13: permission denied
    Additional information: 2

    What could be my problem?

    Thanks for any help!

    Gerhard
    sys uses the oracle user to create this file?

    It should, if oracle starts the database. To be sure, check oracle has the pmon process and use oracle to run sqlplus. In addition, as pointed out by Srini, a spfile is operated:

    $ ps -ef |egrep pmon
    ...
    oracle  ... ora_pmon_XE
    $ sudo su oracle -c "sqlplus /nolog"
    connect /as sysdba;
    ... connected ...
    show parameter spfile
    ...
    create pfile='/tmp/initXE.ora' from spfile;
    

    Published by: clcarter on Aug 13, 2011 11:19
    Add check spfile

  • Why is there a setting duplicate when I create a file pfile from spfile on a DB of RAC?

    Hello world

    I ran ORACHK on a 11g (11.2.0.4) database RAC and one of the results shows "check no input parameter in the init.ora (spfile) database duplicate" that I generated a pfile from two of the database file and the following repeated, I saw:

    (BD1)

    amagua2.__streams_pool_size = 536870912

    amagua1.__streams_pool_size = 536870912

    amagua2.__streams_pool_size = 536870912

    amagua1.__streams_pool_size = 536870912

    (BD2)

    * .db_16k_cache_size = 1610612736

    METRO1.db_16k_cache_size = 2147483648

    METRO2.db_16k_cache_size = 2147483648

    I don't know why this happens, in BD2 when I select the setting of $ v that I see the greatest value, which was the last one I assigned to the parameter, so I don't know why the lower value appears in my file pfile.

    in BD1 two lines appear just a copy with the same value.

    I would fix this, any help will be appreciated.

    Thanks in advance.

    Giancarlo Giammaria

    (BD1)

    amagua2.__streams_pool_size = 536870912

    amagua1.__streams_pool_size = 536870912

    amagua2.__streams_pool_size = 536870912

    amagua1.__streams_pool_size = 536870912

    This is because Oracle manages the size of the SGA on its own. Either you MEMORY_TARGET or SGA_TARGET value. Oracle wrote its flow Pool size in the SPFILE so that when the instance is started, it can resume with that component SGA size to its last known value, based on the workload of your application. It is curious to see the two sets, and I have no idea why. But you can always delete the duplicate entries and re-create the SPFILE.

    (BD2)

    * .db_16k_cache_size = 1610612736

    METRO1.db_16k_cache_size = 2147483648

    METRO2.db_16k_cache_size = 2147483648

    In the case above, you have a set specifically for the METRO1 instance. And another parameter specifically for instance METRO2. The higher setting is global for all cases, unless the instance-specific setting would be substitute one world. If you have only two instances, then the global is not much until you add a third instance.

    Now for Oracle RAC... it is normally a good idea to have all the instances with the same cache size setting. It is rare that there is a good reason for instance1 to have a different value than instance2. In addition, if you use TAF and/or want a second instance to support connections over the failover of the first instance, then you want your LMS components sized so as to be able to manage not only the current work load, but the additional workload due to the failure of the instance.

    See you soon,.
    Brian

  • Small question about switching from PFILE from SPFILE

    Version: 10 gr 2

    I started my instance of a pfile. To switch to the SPFILE, have I not need to bounce the PB?

    Published by: ScottsTiger on July 17, 2009 12:49 AM

    Hello

    1)
    SQL > create spfile from pfile;
    (2) bounce db
    (3) check if you run db of spfile by
    SQL > show the spfile parameter

    http://www.orafaq.com/node/5

    Kind regards
    Tom
    http://OracleDBA.cz

    Published by: Soli on 17.7.2009 09:54

  • create pfile from spfile

    Hello
    I have Oracle 10 g DB on unix.
    It runs on the spfile parameter.
    I wan to do work the pfile.

    (1) is the correct command?

    CREATE a PFILE='/u03/orclnmc/orcl/dbs/init_orclnmc.ora'
    OF SPFILE='/u03/orclnmc/orcl/dbs/spfileorclnmc.ora';

    (2) can be done while the instance is up?

    Thank you
    Concerning

    It is possible that the instance is up?

    It is possible at any time; upwards, downwards, go UP.

  • PFile and Spfile to 11g r2

    Hi gurus,

    My Server Oracle 11 g r2 on oel 5 using pfile. When I updated the parameter
    alter system set sga_target = 180 m; he has updated the pending.
    In the case of p should get changes made to the effect of the next instance file starts just... ?

    is there change in pfile in oracle 11g r2 version.

    Please let me know...

    Thank you!

    You use pfile, any changes to the side db have a life memory. To persist after the next power switch, you must manually change the file pfile.
    Why you use a pfile and spfile file?

    Nicolas.

  • difference between pfile and Spfile

    Wiil someone explain the difference between file p and sp file?
    Thanks and greetings

    Hello

    A PFILE is a file of static text, on the client side, which must be updated with a standard text such as "notepad" or "vi" Editor This file is normally resident on the server, however, you need a local copy if you want to start Oracle from a remote machine. DBA generally speak of this file as the INIT. ORA file.

    A SPFILE (file server settings), on the other hand, is a binary file of persistent server side, which can only be changed with the command "ALTER SYSTEM SET". This means that you no longer need a local copy of the pfile to start the database from a remote machine. Edit an SPFILE it corrupt, and you will not be able to start your database and more.

    For more information, please visit

    * [Parameter of initialization files: PFILEs vs SPFILEs | http://www.orafaq.com/node/5] *.

    Thank you
    Anchorage

  • How to know the database uses pfile or spfile?

    Hi guru

    How to know the database uses pfile or spfile?



    Thank you

    Thank you for this question of doc!
    Please type in sql * show spfile parameter.
    If it is empty, you do not use a spfile.

    --------------
    Sybrand Bakker
    Senior Oracle DBA

  • pFile or spfile

    Hello
    I would use my newly configured server Oracle 10.2.0.4 and not a spfile installation seems to want to use a pfile. I had configured Enterprise Manager and wish to remain configured.

    My question is - can I use a pfile with EM? or must it be spfile if I have configured EM?

    Thank you.

    There are reasons why I would use a pfile rather than a spfile but I was wondering if anyone knows whether or not EM like pfiles.

    EM is simply a client GUI in the DB.
    EM himself not to use to make pfile or spfile.
    The DB will use spfile if it exists.
    If there is no such thing as spfile, DB get & use pfile (if it exists).

  • Instance started by pfile or spfile?

    How do I know which file parameter used to start the instance?

    Hello

    run

    view the spfile parameter

    If it presents places and its other wise spfile, then, it is clear from pfile

  • Modding administered a LGS326 - to THE switch to run from 12V DC supply.

    Hi all

    (Type this message again as the 'Preview' button has lost the original on me. Silly me thought 'Preview' meant "Show me what the message looks like" not "delete the message and show me a preview pane empty instead. My bad.  Edit: It would be because Linksys decided to spray on 50 domains JavaScript so NoScript says no.  What is wrong to put the JavaScript code on community.linksys.com with HTML code)?

    I'm implementing a cluster of virtual machines as an exercise in self-education. As an additional technical challenge, I design the system to run with 240V solar power backup. So ideally the whole system will have to run from 12V, coming from a battery of 100Ah. I'll expand on that later.

    Now, I did research the area and apart from some industrial switches which were mostly 100 Mbps and very expensive, there is almost no manageable offered 24 gigabit ports + held of the 12V. There is a possible market for Linksys. I don't need industrial design temperatures.

    After some research, I found myself buy a LGS326-UA, which runs the industry normally. It's 90% of what I'm after. 4 gal can do but I can work around that, it has sufficient capacity of VLAN for what I want.

    Out of curiosity, I cracked open box to see if it was possible to modify it to run from 12V. That's what I found: https://hackaday.io/project/10529/log/34622-modding-the-switch-for-12v-operation

    So the switch supports internally, 240V to 12V, then probably goes down after 3.3V / 5V. So certainly doable - warranty is not my concern here.

    I have a few regulators IDO (Micrel 29750) coming that should handle this. I probed around with a multimeter and can identify it seems to be a split of power supply 12 v on two pairs of drivers with non-standard color coding, so I'll have to move carefully, some tough filtering (a Bank of low ESR electrolytic) should do.

    Did anyone here tried a similar amendment before? All boards/traps to watch out for?

    (Edit to correct the really bad formatting.  Once more, in this world of vulnerabilities XSS, really should we spread the code 50 ways to Sunday?)

    Well, I did it.  For those who were wondering what the answer is, it should be a good starting point.  Essentially, the green/yellow wires are wires are the 0V and Red/Black + 12V.  They are parallel connections together, filled on both sides.  If you're unsure, you can check by returning the motherboard to the wire and looking for one of the pins on the electrolytic capacitors; the negative sides are marked, and you should find that there is a short to 0V on the negative side.

    Given there are a couple of supplies of switchmode step 12V down to the 5V and 3.3V, you are probably safe to go below 12V, I found myself using a small reg IDO, which keeps the power slightly lower at 12V and so far, the switch works fine.  No magic smoke yet. :-)

    The full project details are available here: https://hackaday.io/project/10529/log/36511-12v-regulator-installation

  • How can I remove switch between aps from the desktop?

    Just updated to 8.1 Win
    All kinds of problems
    Erratic WiFi hard to start,
    Flash player has crashed and cannot upgrade from the Adobe site.
    "Switch between Aps" icon is in the middle of the page on the left. Cannot remove, block 2 X 2 on the spot. How do I remove, a total of PIA.
    The mouse now works erratic.
    Not a happy camper.
    If I reload worm. 8 my problems go away?
    Larry

    I can't remove the icon that says "switch between applications" with a large arrow.  It returns whenever I open windows

  • Unplug or switch Office how from one zero client

    I know that if you use the client on a system, you can have the menu bar that a user is able to disconnect from a session. But how a switch or switch user to one zero client workstations? I'm testing with the Wyse P20.

    Maybe if there is a command or a shortcut, so that I can create disconnects

    Hello

    that s okay: the abbreviation is 'CTRL + ALT + F12' to disconnect the session via the keyboard, and is enabled by default.

    You can also disable this function via a profile on the MMC.

    Required minimum Firmware version: PCoIP Firmware 4.0.1 for that shortcut.

    Add: If you use the integration of Imprivata SSO on your ZeroClients, you can disconnect the session by pressing F4.

    That s "Imprivata by default"

    Greetz, Jo!

  • I need to switch to Firefox from Google chrome

    This morning I had clicked on a pop-up and I clicked it and it changed my main browser, Google Chrome, and I need to go back to Firefox. I'm an actress, and I can not now submit on my regular sites... Help!

    In the Options dialog box, on the Advanced tab, you can make Firefox default browser. Of course, you will need boot Firefox from its icon on the desktop or in the start menu > all programs.

    In Firefox, there:

    Orange Firefox button or classic menu Tools > Options > advanced

    Look for the button "check now".

    A little luck?

Maybe you are looking for

  • Android for motorcycle Marshmallow E 4g LTE 2015

    Hey guays it is good news for 2015 of bike E with 4G LTE in Canada, Latin America, Europe and Asia excluding China (2nd generation) announcement for users of bike E 4 G LTE If someone wants more information please visit link below http://Motorola-blo

  • connection to the printer located on the wireless

    My family has the connected printer on their wireless and I can not find this printer or connect. I don't know what I'm doing. I have windows xp and it's a dell 3100cn printer.

  • brainstorming?

    I notice that brainstorming have disappeared, and I saw him in the wall on the adobe blog.Well, I must say that I almost never used it, but does anyone know why it was deleted?

  • Cannot find options and historic Panel. :(

    I just started using indesign in CS6, everything went smoothly, until the historical Panel disappeared. I don't remember what I did, I could press something accidentally, but it's over now. I tried to open the window and search history option, but it

  • SmartView Essbase connection on the default port, must connect to 6423

    Hi allWe have Hyperion 11.1.2.2.30x installed and configured with full SSL everywhere.  With this, we have Essbase successfully listening on 6423 (6423 only, we have disabled 1423) safely and all components (planning, EN, Calcmgr, etc.) are in commun