Erase (delete) a SPFILE parameter
11.2.0.3/SolarisI want to clear the value set for LOCAL_LISTENER and set the value to null. According to the doc, I have to use the RESET command. But the RESET works that with SCOPE = SPFILE. That is to say. I have to bounce the DB to bring this amendment into force.
SQL> show parameter spfile
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string /u01/app/oracle/product/11.2.0
/dbhome_1/dbs/spfileorcl.ora
SQL>
SQL> show parameter LOCAL_LISTENER
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
local_listener string (DESCRIPTION=(ADDRESS=(PROTOCO
L=TCP)(HOST=192.168.0.182)(POR
T=1892)))
SQL>
SQL>
SQL>
SQL> alter system reset LOCAL_LISTENER scope=both;
alter system reset LOCAL_LISTENER scope=both
*
ERROR at line 1:
ORA-32029: resetting with SCOPE=MEMORY or SCOPE=BOTH is currently not supported
SQL> alter system reset LOCAL_LISTENER ;
System altered.
SQL> show parameter spfile
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string /u01/app/oracle/product/11.2.0
/dbhome_1/dbs/spfileorcl.ora
SQL>
------ Still showing the old value as a bounce is required
SQL> show parameter LOCAL_LISTENER
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
local_listener string (DESCRIPTION=(ADDRESS=(PROTOCO
L=TCP)(HOST=192.168.0.182)(POR
T=1892)))
Is the empty string parameter supported in Oracle. It seems to have worked for me, but I would like to know if it is recommended.SQL> show parameter LOCAL_LISTENER
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
local_listener string (DESCRIPTION=(ADDRESS=(PROTOCO
L=TCP)(HOST=192.168.0.182)(POR
T=1892)))
SQL> alter system set LOCAL_LISTENER = '' scope = both;
System altered.
SQL> show parameter LOCAL_LISTENER
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
local_listener string
SQL>
The article says it is not recommended to use an empty string. But, what other choice do I have to clear the value of a parameter without bouncing the DB?http://Coskan.WordPress.com/2007/03/07/setting-or-resetting-unsetting-parameters/
Published by: greeny on November 12, 2012 06:25
It's how erase editable a SPFILE parameter
I usually use the following to do this:
alter system reset scope=spfile sid='*';
Reference to the alter_system_reset_clause of the SQL language for more information reference:
"This clause allows you to remove the frame, for any instance, any initialization parameter in the spfile which was used to start the instance." etc.
Tags: Database
Similar Questions
-
Impossible the use of erase/delete this local office.
Greetings,
I can't erase/delete the history of the use of the software, music, documents, etc. of the office pop up that I need to show you, but you do not have a box of attachment for me to present the screenshot. How I submit you the screenshot of my problem then you will have a better understanding of my situation?
Hello
Did you do any hardware changes or software on your computer before this problem?
You can provide us with the screenshot of the issue by following this link:
How can I post screenshots of my question in the Forum of answers
Hope the helps of information.
-
Initial configuration of RAID HP ENVY accidentally erased, deleted hard disk?
I was trying to see if I could find an option to change the my new laptop on AHCI SATA controller, but I should have checked more thoroughly online before trying something new in the BIOS. It seems that these laptops are automatically in AHCI?
My laptop had a 1 TB SSHD and a 24GB flash hard drive Cache acceleration configured in RAID 0. With my minimal knowledge of the AHCI, RAID and IDE, I thought that the withdrawal of the RAID configuration would give me a possibility to change the hard drive in AHCI controller. Without thinking, I "removed" the RAID volume, and I think I have completely erase my new hard drive and the operating system, including the recovery partition.
When I start up the laptop, I get the error "boot device not found 3f0", and f11 does not work to try to get into the recovery mode. The hard drive test always passes the two elements. I ordered at HP USB recovery media earlier, but I don't know if there is anything else I can do?
I don't know exactly how the acceleration of the Disk Cache, but my main question is why only SSHD would be setup in RAID 0 factory mode, and if there is a good reason, how do I put up again after the reinstallation of the OS from the USB media?
After screwing my OS, I played in the BIOS to re - setup the RAID0, but I don't know that I've got it right. I myself remember the size of the band was set to 128 KB, but I have no idea what was the "Capacity (MB)", or should I put it when I create new RAID?
Any help would be appreciated. Thank you.
Ryan
Hi, Popo:
I didn't get the rush of shipped recovery media.
When you order by regular mail, it may take up to 10 days, so unless you're bored to death, so I would just wait until your recovery media is coming tomorrow.
Yes, you are right. The file I gave you is a simple vanilla W8 version and there are no programs whatsoever other than that which accompanies the W8.
The product key in the BIOS of your PC will work with this file and you get the recovery media.
You can always want to DL this file and make a bootable DVD just as it is for future use.
After installing W8, you get the upgrade to W8.1 against the Windows store.
It may take a few hours to appear as a sort of update should run before updating the W8.1 appears in the Windows store.
You won't have to look for.
It will be displayed when you click the windows store.
You will be able to switch to W8.1 with the regular ISO W8 file, or your installation HP factory.
-
BlackBerry Smartphones memory erase/delete/Format BB 9000
Hi everyone I have a simple question and would aprecciate any help you can give me. I bought a BB to a friend of mine and I want to erase all of the content that is entered into the memory of the BB, including the e-mail account. Is there an option in the phone or the software that could help me with this task? Thanks in advance
On the device, go to Options - Security Options - General settings
Open the menu and select 'clear the cell '.
-
Hello! I have a free subscription to creative cloud. Now 30 days of program adobe trial versions is finished. How can I delete/cancel my account?
Cancel see answer #1 in https://forums.adobe.com/thread/2023066 - includes a link to cat
-
Ghost of Smartphones blackBerry email message - how envelope erase/delete?
Any advice?
Thanks for help/respone. Thought it might have been another thing but als when he doubts - reboot try it!
Rgds
-
erase/delete Image_Item
Hello
for some time, we use Read_Image to read files OS in an Image_Item in the forms-Block.
And we found a 'solution' to clear the Image_Item:
======
go_field ('Block.Image_Item');
Select_all;
cut_region;
======
This worked well for Forms6i. Now we are moving towards Forms10G and it doesn't work anymore.
Is there another solution to clear the Image_Item?
The Image_Item to NULL just definition ": Block.Image_Item: = NULL; ' does not work.
Any idea would be appreciated.
MarkUse BLOB instead of LONG RAW data type. This will solve your problem.
raw long has some limititions...
before this test on a sample table.
Concerning
Houda
Published by: houda Shareef on March 18, 2010 02:58
-
update the initialization parameter, spfile created on ASM
Hello
I would like to increase my database OPEN_LINKS initialization parameter.
My created spfile ASM storage
SYS@main1_1 > view the spfile parameter
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
+DATA_DG/main1/parameterfile/spfilemain1.ora string SPFile
ASMCMD > pwd
+ MAIN1/DATA_DG/FICHIER_PARAMETRES
ASMCMD > ls
SPFile.333.833957263
spfilemain1.ora
ASMCMD >
$ cat initmain1_1.ora
SPFile='+DATA_DG/main1/parameterfile/spfilemain1.ora'
Any help, greatly appreciated
Thank you
It does not matter where is the spfile.
The command is
ALTER system set open_links is... scope = spfile;.
and bounce the database. IIRC, open_links is a static parameter.
Note: Please do NOT change the spfile with a text editor, such as vi or vim.
--------
Sybrand Bakker
Senior Oracle DBA
-
Member.erase () is good for dynamic deletion of Member objects?
Hello
After you have created a few members dynamically at execution ( _movie.newmember (#text)), they accumulate in the cast. I want to erase/delete to prevent memory problems in the complex case of demand, but the reference/help Director warns of the use of member.erase () running:
Quote:
For best results, use this method during the creation and not in the spotlight. Using this method in the spotlight may cause memory problems. -
Mail to delete messages from the trash on iMac
Mail is deleting messages to my trash folder despite me selecting 'Store on the server' and "Never permanently delete" in the menu of the mailbox behavior for how to deal with deleted messages. I checked the settings on my iMac, iPad and iPhone and everything seems in order, and yet my basket on my iMac is deleted approximately daily.
I have an IMAP of Yahoo! account.
OS X Version of Yosemite 10.10.5
Thanks for any help!
Hello hlrnco,
I understand your Yahoo IMAP email trash stored on the server is deleted, even though the e-mail settings say not.
Looks like that trash is perhaps not a good place to store mail that you want to keep.
Mailbox behaviors preferences - help Mail
Permanently erase deleted messages when
Mail automatically deletes messages deleted at the specified time. Select one setting other than ever to avoid exceeding the storage limits defined by your account provider.
If your account provider configures the server to delete old messages, the messages are deleted regardless of how you set this option.
Mail for desktop PC | SLN3518 - what are the empty trash and Spam folders?
When the trash and Spam folders are empty?
Yahoo Mail regularly deletes the contents of the Recycle Bin. This isn't a parameter, you can change.
Take care.
-
How to move ASM spfile to a different disk group
HelloBecause of less storage, we plan to move the ASMPARAMETER DATABASE file to the disk of data.2 group and delete the DATA disk group so that we can allocate these free disks to other disk groups.
This isn't a RAC Setup.
But I noticed the file ASMPARAMETER in the DataSet and disc of data2. Could you please some help me in this.
Oracle version is 11.2.0
OS - Aix server.
The Type redundancy ASM disk group: NORMAL redundancy
I searched in Oracle Metalink and found this document -
Kind regards
Stephen
Hello
For example, please check step bey:
sqlplus / as sysasm
SQL * more: Production version 11.2.0.1.0 on
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the option of Automatic Storage Management
SQL > show the spfile parameter
VALUE OF TYPE NAME
------- ------- --------------------------------------------------
+DATA/ASM/asmparameterfile/registry.253.715881237 string SPFile
SQL > create pfile='/tmp/pfile+ASM.ora' of spfile;
Created file.
2. create spfile in a new disk of the pfile intermediary group
SQL > create spfile ='+ PLAY "of pfile='/tmp/pfile+ASM.ora."
Created file.
SQL > exit
Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.1.0 - Production
With the option of Automatic Storage Management
3. restart battery HA to check ASM starts fine with moved spfile
crsctl stop $
CRS-2791: from closing resources managed by Oracle high availability Services on "
". ...
CRS-4133: Oracle high availability Services was arrested.
crsctl start $ has
CRS-4123: Oracle high availability Services started.
Verify that the new spfile is used
$ sqlplus / as sysasm
SQL * more: Production version 11.2.0.1.0 on
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the option of Automatic Storage Management
SQL > show the spfile parameter
VALUE OF TYPE NAME
------- ------- --------------------------------------------------
+PLAY/ASM/asmparameterfile/registry.253.715963539 string SPFile
SQL > select name, status from v$ asm_diskgroup;
NAME STATE
----- -----------
DATA CLIMBS
ROOM RISE
SQL > exit
Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.1.0 - Production
With the option of Automatic Storage Management
The use of the new spfile can also be verified with asmcmd as follows:
$ asmcmd spget
+Play/ASM/asmparameterfile/registry.253.715963539
4. remove the original spfile
$ rm +DATA/asm/asmparameterfile/registry.253.715881237 asmcmd
And this is an example of moving ASM spfile with 'spcopy asmcmd ".
1 copy the spfile with the-u option - Update the profile of negotiators in RAC environment
$ asmcmd spget
+Data/ASM/asmparameterfile/registry.253.722601213
$ asmcmd lsdg
G_files of Type Rebal sector block to Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks votin' state name
EXTERN MOUNTED N 512 4096 1048576 14658 9814 0 9814 0 N DATA.
EXTERN MOUNTED N 512 4096 1048576 9772 8507 0 8507 0 'N PLAY.
EXTERN MOUNTED N 512 4096 1048576 9772 9212 0 9212 0 N RECO.
$ asmcmd spcopy u +DATA/asm/asmparameterfile/registry.253.722601213 + PLAY/spfileASM.ora
2. restart battery HA to check ASM starts with copiedspfile
crsctl stop $
CRS-2791: from closing resources managed by Oracle high availability Services on "
". ...
CRS-4133: Oracle high availability Services was arrested.
crsctl start $ has
CRS-4123: Oracle high availability Services started.
$ asmcmd spget
+ Play/spfileASM.ora
3. remove the original spfile
$ ls-l asmcmd + DATA/asm/asmparameterfile
Name of type Redund time scratched Sys
REGISTRY.253.722601213 OF Y ASMPARAMETERFILE UNPROT COARSE 25 JUNE AT 10:00
$ rm +DATA/asm/asmparameterfile/registry.253.722601213 asmcmd
Other information plays please this link: http://blog.csdn.net/tianlesoftware/article/details/6347461
Thank you
-
Questions about SPFILE in ASM 11G
I did some tests on Oracle 11 G ASM and questions have been raised.
At glance...
I deleted my SPFILE and start the ASM.
echo $ORACLE_HOME
/U01/app/11.2.0/grid_crs
export ORACLE_SID = + ASM1
sqlplus / as sysasm
Connect to an instance is idle.
SQL > startup
ORA-00099: WARNING: no file parameter specified for the ASM instance
ASM instance started
Total System Global Area 283930624 bytes
Bytes of size 2212656 fixed
256552144 variable size bytes
ASM Cache 25165824 bytes
ORA-15110: none start not mounted
Oracle instance started a mannequin...
SQL > show the dummy parameter
a modelinstance boolean TRUE
Now, I'll create a PFILE file to start the ASM.
VI /home/oracle/asm_init.ora
* .cluster_database_instances = 2
ASM1.instance_name =' ASM1'
ASM1.instance_name =' ASM2'
* .instance_type = ASM
*.asm_diskstring='/dev/oracleasm/disks / *'
*.diagnostic_dest='/U01/app/Oracle '
* .asm_diskgroups = "DATA".
* .asm_power_limit = 1
* .large_pool_size = 12 M
* .remote_login_passwordfile = "EXCLUSIVE."
Now, I'll start instance with new PFILE.
SQL > startup asm_init.ora = pfile
ASM instance started
Total System Global Area 283930624 bytes
Bytes of size 2212656 fixed
256552144 variable size bytes
ASM Cache 25165824 bytes
ASM starts up
Volume of starts active ASM
Now, I create SPFILE from PFILE.
SQL > create spfile ='+ DATA 'from pfile='/home/oracle/asm_init.ora ';
Created file.
From there, one wonders.
I will restart the example using new spfile.
SQL > shutdown;
Volume of starts disabled ASM
ASM starts rough
Shutdown ASM instance
SQL >
I'll check for init in the directory files $CRS_HOME/dbs
LS /u01/app/11.2.0/grid_crs/dbs
ab_ + ASM1.dat
hc_ + ASM1.dat
No init file... both nodes
Now, I'll start the ASM with new SPFILE instance.
SQL > startup
ASM instance started
Total System Global Area 283930624 bytes
Bytes of size 2212656 fixed
256552144 variable size bytes
ASM Cache 25165824 bytes
ASM starts up
Volume of starts active ASM
SQL > show the spfile parameter
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
+DATA/ASM/asmparameterfile/registry.253.732993435 string SPFile
The most interesting that the second node was also the Forum with model... just restart the ASM to the second node found SPFILE.
In GPnP... No SPFILE
$srvctl config asm
ASM home: /u01/app/11.2.0/grid_crs
ASM listener: LISTENER
Docs said. ...
When an instance of Oracle ASM search a setup initialization file, the search order is:
1. the location of the initialization file parameter specified in the profile of Plug-and-Play (GPnP) grid
2. If the location has not been set in the profile of negotiators, the search order go to:
1. in the instance of Oracle ASM House SPFILE
For example, the SPFILE for Oracle ASM has the following default path to Oracle grid infrastructure home in a Linux environment:
$ORACLE_HOME/dbs/spfile+ASM.ora
2. in the instance of Oracle ASM House PFILE
Questions...
How ASM 11 g to find the path of the SPFILE?
When we run the CREATE SPFILE it records the path of the SPFILE in somewhere?
How ASM reads the SPFILE which within a DG who theoretically was not mounted?Hi Renon,
Here's my answer...
http://aychin.WordPress.com/2011/01/22/Oracle-11gr2-ASM-SPFile-Eng/
Thank you
Levi Pereira -
I need to remove the spfile a database. I want to use only the pfile file. How do I do that?
Hello
The default location of the SPFILE is under $ORACLE_HOME/dbs on Unix and %ORACLE_HOME%\database on Windows.You can directly delete SPFILE. Oracle search sequentially follwing files at startup in above directory.
spfileSID.ora
SPFile.ora
initSID.ora
init.oraSELECT DECODE (' NULL, 'PFILE' value, ' SPFILE ") 'Init file Type' v $ parameter WHERE name ="spfile ".
HTH
Kind regards!Published by: Ora - Lad on November 26, 2008 09:03
PS. before you delete the SPFILE, create PFILE FROM SPFILE -
Hi guys,.
I would be grateful if you could help me with the following problem I am unable to locate my spfile said database.
SQL > show the spfile parameter
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
+DATA03/cpmstg/spfilecpmstg.ora string SPFile
When I go in ASM to the location of the said this is what I see:
ASMCMD > ls
spfilecpmstg
ASMCMD > ls - lrt
WARNING: 'r' is deprecated for 'method '.
Please use 'inverse '.
Name of type Redund time scratched Sys
N spfilecpmstg = > +DATA03/CPMSTG/PARAMETERFILE/spfile.510.859115335
Now, when I go to the default location i.e./u02/app/oracle/product/11.2.0.4/db/dbs I see the init file:
[oracle@ora-stg-1a dbs] $ ls - ltr initcpmstg1.ora
-rw - r-. 1 oracle oinstall 41 24 September 11:25 initcpmstg1.ora
The init file contains the following entry:
[oracle@ora-stg-1a dbs] $ initcpmstg1.ora more
SPFile='+DATA03/CPMSTG/spfilecpmstg.ora'
Now my question is:
- Why I get ORA-01565: could not open the Spfile + DATA03/cpmstg/spfilecpmstg.ora. ?
- How can I fix?
Note: I am running Oracle Database Enterprise Edition 11.2.0.4.0 and run Linux 6 (64-bit).
Greetings
Nadège
So if you hurt the spile file, do a "create spfile from pfile".
-
problem create spfile RAC and ASM
Hello
I created a database RAC 11.2.0.1 on virtual machines (oracleVM and oracle linux) (2 cases) with the ASM.
But when I tried to create spfile, I did no mistake, spfile is created but do not change the value of parameter:
SQL > create spfile='+DATA/RAC/spfileRAC.ora' of pfile;
Created file.
SQL > show the spfile parameter
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
chain of SPFile
can you explain to me?
THX.
Create a SPFILE does not force the Oracle to use it effectively. Therefore, your setting does not show the in use. You must restart the instance:
START SPFILE='+DATA/RAC/spfileRAC.ora'
Oracle RAC, I do two things... first of all, is I put the SPFILE on the shared storage. I then create a pfile file called initORCLx.ora where ORCL is the name of database and 'x' is the instance id. So on node 1, it would be initorcl1.ora and on node 2, initorcl2.ora and so on. The pfile file contains just this one line:
SPFile='+Data/RAC/spfileRAC.ora'
Second, you will need to change your configuration in the OCR, so that the instances starts automatically with this spfile.
srvctl change database ORCL Pei spfile_location_and_name d
HTH,
Brian
Maybe you are looking for
-
How to return to the former health dashboard after updating iOS 9.3?
The new view of the histogram is terrible and doesn't show that the average, total. I hate it and many prefer the old graphic line. At the very least, there must be an option for multiple displays. I lost my reason to actually use the app.
-
Help with a catastrophic mistake with HARD drive
Original title: would like to know I have a large hard drive that has been barely used. Current was cut off during use. When power has been restored hard drive said catastrophic error. Also we tried to drive to the partition. Reader can be erased and
-
Install problem Win7 Home premium - installation not available sources (0xE0000100)
Trying to go from Vista home premium to Win7 Home premium 32B version (Norwegian Norwegian vista and Win7) When I start the installation program, after you choose to do a clean install, an error message appears with the 0xE0000100 error code. The err
-
Shared folders compile error - VMware Tools 9.6.0 - Ubuntu 13.10
I am running Ubuntu 13.10 as a guest in Windows 7 using VMware Workstation 10.0.0.When you try to install VMware Tools 9.6.0 I get this compilation error:Using 2.6.x kernel build system.do: enter the directory "/ tmp/modconfig-wX4US5/vmhgfs-only./ us
-
Install VMWare Tools in W2008R2 - vmwareto.gtz
HelloWhen you try to install vmware tools on a freshly installed server win2008r2 supposted to browser CD virtual to propose setup.exe shows two linux files: vmwareto.gtz and manifesto.How can I have the MSI 'setup.exe' pop-up here vmware tools?I als