Alter system reset aq_tm_processes

Hi!
Trying to reset aq_tm_processes. First some background:
The aq_tm_processes parameter was first set in the pfile. We had to startup the DB using this file (tried removing it from the pfile also, not sure that worked as show parameter showed aq_tm_processes = 0).
But as we are using streams, aq_tm_processes, should not be set.
Well, I have done this:
1. Took down the DB.
2. Set the aq_tm_processes in the pfile to 2. (So I can issue the alter system command)
3. Startup nomount from pfile.
4. Created a new spfile form pfile.
5. Startup DB.
6. alter system reset aq_tm_processes scope=spfile sid='*';
7. Restarted the DB.
Is the aq_tm_processes now reset?
Show parameter shows the value 0.
alter system reset aq_tm_processes scope=spfile sid='*'
ERROR at line 1:
ORA-32010: cannot find entry to delete in SPFILE
It seems that the value is reset (as the parameter can not be found in the spfile). But Im still worried. Should the value show 0 if the parameter is reset?
Regards
Peter

Peter, your question is not clear. Do you want the parameter to be set to 0? Run "show parameter aq", look at the value, if it is what you want, no problem. If it is not, set it to whatever value you want. Setting aq_tm_processes to 0 or not having it in your parameter file have the same effect.

Similar Messages

  • Alter system reset   give error

    hi
    I run following command but not working why ?
    according oracle document we can reset parameters but not working .
    Oracle - 9i & OS - Redhat Linux
    Thanks
    SQL> alter system set sql_trace=true scope=both;
    System altered.
    SQL> show parameter sql_trace;
    NAME TYPE VALUE
    sql_trace boolean TRUE
    SQL> alter system reset sql_trace scope=both;
    alter system reset sql_trace scope=both
    ERROR at line 1:
    ORA-00905: missing keyword
    SQL> alter system reset sql_trace ;
    alter system reset sql_trace
    ERROR at line 1:
    ORA-00905: missing keyword
    SQL> alter system reset sql_trace scope=both sid='dbsd';
    SQL> show parameter sql_trace;
    NAME TYPE VALUE
    sql_trace boolean TRUE

    The command can be used, it doesn't matter if this is a single instance or RAC, it will work on both environments.
    SQL> show parameter audit_trail
    NAME                                 TYPE        VALUE
    audit_trail                          string      NONE
    SQL> alter system set audit_trail=DB scope=spfile;
    System altered.
    SQL> startup force
    ORACLE instance started.
    Database mounted.
    Database opened.
    SQL> show parameter audit_trail
    NAME                                 TYPE        VALUE
    audit_trail                          string      DB
    SQL> alter system reset audit_trail scope=spfile sid='*';
    System altered.
    SQL> startup force
    ORACLE instance started.
    Database mounted.
    Database opened.
    SQL> show parameter audit_trail
    NAME                                 TYPE        VALUE
    audit_trail                          string      NONEThe fact that it will write the spfile is not 'Dangerous' as someone previously declared, it must delete entries from the spfile if required so the parameter takes its default value at startup.
    In case the parameter is not found at the spfile, an error will be displayed:
    SQL> alter system reset service_names  sid='orcl';
    alter system reset service_names  sid='orcl'
    ERROR at line 1:
    ORA-32010: cannot find entry to delete in SPFILEThe sid is a required parameter when resetting an spfile parameter.
    ~ Madrid
    http://hrivera99.blogspot.com/

  • Alter system reset

    I am doing the following to change the undo_suppress_errors parameter value, but the problem is that when I am resetting the parameter value back to its default, it is not doing that.
    SQL> show parameters undo_suppress
    NAME TYPE VALUE
    undo_suppress_errors boolean FALSE
    SQL> alter system set undo_suppress_errors=TRUE scope=MEMORY;
    System altered.
    SQL> show parameters undo_suppress
    NAME TYPE VALUE
    undo_suppress_errors boolean TRUE
    SQL> alter system reset undo_suppress_errors scope=MEMORY sid='db1_inst_01';
    System altered.
    SQL> show parameters undo_suppress
    NAME TYPE VALUE
    undo_suppress_errors boolean TRUE
    This value should be FALSE.
    thanks,
    aks

    ALTER SYSTEM RESET <PARAMETER_NAME> SCOPE=MEMORY SID=<SID> DOESN'T WORK
    this is bug 2146614, fixed in version 11.0 !

  • COMMENTS in ALTER SYSTEM command

    I ran the query
    SQL>ALTER SYSTEM SET sga_target=216M COMMENT='Test';
    which view/table will describe the changes of sga_target and corresponding comment.
    I searched in v$system_parameter and v$parameter, but the value did not get updated.

    I did query on V$PARAMETER, V$SYSTEM_PARAMETER, V$SYSTEM_PARAMETER2 and found that the value of sga_target (148M) is updated in all the views, whereas the comment attribute is updated only in V$PARAMETER view. Also I disconnected from SQL Plus and logged in again (new session), the comment attribute has been reset to old value. As long as the value is updated in all the views, the comment attribute should also be updated in all the views.

  • What is the deal with System Reset/Refresh in Windows 8.1?

    Either this is a serious defect with the Windows Store-provided update for Windows 8.1 or Microsoft has done this intentionally but doing an update to Windows 8.1 from the Windows Store-provided service nukes your ability to use System Reset/Refresh.
    It claims files are missing which means that the update erased the necessary reset files from the HDD but didn't replace them during the update with Windows 8.1 compatible equivalents.
    I had to do a System Reset on one of my computers and I ended up having to get a Windows 8.1 ISO from a less than reputable source just to get my hands around the necessary missing file and now I can't even activate it with my Windows 8 Pro upgrade
    key. None of this would have been a problem if I could just perform the System Reset in place on Windows 8.1 and reset it back to a neutral, clean Windows 8.1 installation.
    I've since managed to find a way to do the install the way I needed to but can someone please give me some clarity on this subject so I don't have to go through all this again (as I've got two other computers that run a Windows Store-updated Windows 8.1
    installation and at least one of them is probably due for its own System Refresh)? What can I do to refresh a valid Windows 8.1 installation if I need to?
    EDIT: Oh, and one more thing: one of those computers is an OEM-installed Windows 8 copy that was subsequently upgraded to 8.1 yet it too suffers from the "missing files" error when a System Refresh/Reset is requested. What
    am I supposed to do here if I want to do a System Refresh to this computer? Will the OEM key inside it activate if I go outside the operating system to install it anew?

    C:\Program Files (x86)\NeoSmart Technologies\EasyBCD\bin>net start sppsvc
    The Software Protection service is starting.
    The Software Protection service could not be started.
    A system error has occurred.
    System error 5 has occurred.
    Access is denied.
    This is the error from running net start sppsvc in an elevated command prompt.  Software Protection Service (sppsvc.exe) is getting an "access denied" error and code 0xC0000022.  Ok, let me break it down for you...  And this is with a fully
    legit VL key that works on several PC in our school that are
    First, you perform a System Refresh for what ever reason.  After the Refresh, within a few minutes get the Windows version watermark in the lower left corner of your desktop that shows the windows version and build.  Then after that
    you get another watermark above the first watermark that says you need to activate by going to **Change PC Settings***.  From there you are on the activation screen and its state with out doing anything...**Activation Error Description Not Found.** 
    When you click "Activate Now" nothing happens.  You briefly see "checking this key" and then nothing.
    This is where the above mentioned Software Protection service  is failing. <---  Needs to be fixed.
    Now at this point I cannot attempt to do an online activation because the sppsvc.exe is producing the 0xC0000022 error
    I cannot do a phone activation because there is no installation ID...all the boxes are blank...because the sppsvc.exe is producing the 0xC0000022 error.
    Oh, and I cannot re-type my product key because...you got it...because the sppsvc.exe is producing the 0xC0000022 error.....
    The Software Protection service runs when I activate my PCs that are getting a "Clean" installs, Just to test the theory I did a refresh install on the "clean" installed pc and **VOILA** SAME ERROR....
    Let me clarify that one of the PCs has a dual partition and a complete re-install of the OS will mean some extensive work fixing the bootloader as well.  I have 150 PCs to refresh and this is what happened on the first one, then the 2nd.  I am
    running these on a TechNet VL and have never had these issues in the last 3 years.
    Listen to these people. ALL are having the same issue.  There has to be a process to fix it.  As difficult as it may seem, some of us don't mind spending a few extra minutes running administrative tasks to fix this instead of re-installing. 
    That's the novice way to fix the issues and the most painstaking for those of us who work 12-to 14 hrs a day and don't have the time.  We need this fixed.  PLEASE PLEASE
    Pretty please.  Please take the time to take ownership of this issue and pioneer a real fix for the hundreds maybe thousands that are having or have had (broke down and did a "clean" install) this EXACT issue.  Thank you so much for your help!!!!!

  • Slow System reset

    I have been running a system reset for over 4 hours now and it's still on 7%. What do I do? It's a hp envy core i7....kindly help

    Hi there @80B29 
    I understand that you are having trouble with, I guess you mean a system restore or recovery. Assuming that you are still having trouble let me know which one you were doing and the full product number and operating system.
    How Do I Find My Model Number or Product Number?
    Is the Windows Version on My Computer 32-bit or 64-bit?
    For now you can look at whichever of these pages most applies to you.
    Performing an HP System Recovery (Windows 8)
    Troubleshooting HP System Recovery Problems (Windows 8)
    Using Microsoft System Restore (Windows 8)
    Performing an HP System Recovery (Windows 7)
    Troubleshooting HP System Recovery Problems (Windows 7)
    Using Microsoft System Restore (Windows 7)
    Malygris1
    I work on behalf of HP
    Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
    Click Kudos Thumbs Up on the right to say “Thanks” for helping!

  • Urgent-how to run 'alter system kill session 'sid, serial#' in form 6i ?

    I want to write a procedure in Form 6i so that user can kill the session by herself.
    I know kill session sql is 'alter system kill session 'sid, serial#'', however, I fould that I can only run it it sql plus screen, how can I run it in Form or in Stored procedure?
    Urgent....Please!

    try using Forms_ddl('alter system......'); in the forms. it will execute the dml statements in the form.
    zaibi.

  • ALLOW A USER TO KILL A SESSION WITHOUT ALTER SYSTEM PRIVILEGE.

    Hi
    I need a user to have permission to kill a session without having the ALTER SYSTEM privilege. I created a procedure on sys schema and granted the EXECUTE privilege to the user but it doesn't work, how can I do, help please.
    CREATE OR REPLACE PROCEDURE SYS.PRC_SESSION_KILLER (P_SID IN NUMBER, P_SERIAL IN NUMBER)
    AS
    BEGIN
         EXECUTE IMMEDIATE 'GRANT ALTER SYSTEM TO SYSADMIN';
         EXECUTE IMMEDIATE 'ALTER SYSTEM KILL SESSION ''' || P_SID || ',' || P_SERIAL || ''' IMMEDIATE';
         EXECUTE IMMEDIATE 'REVOKE ALTER SYSTEM FROM SYSADMIN';
    END;
    Thank you very much.

    Hi,
    I second everything John said.
    Are you sure the arguments are correct?
    Below is the procedure I use. You may want to run it, just to see what the error is.
    PROCEDURE     kill_internal
         s_id          IN     NUMBER,
         serial_num     IN     NUMBER,
         stat_out     OUT     VARCHAR2
    IS
         alter_handle     INTEGER;
         ex_val          INTEGER;     -- Returned by dbms_sql.execute
    BEGIN
         alter_handle := dbms_sql.open_cursor;
         dbms_sql.parse
              alter_handle,
              'ALTER SYSTEM     KILL SESSION '''     ||
                   TO_CHAR (s_id, '999990')     ||
                   ', '                    ||
                   TO_CHAR (serial_num, '999990')     ||
              dbms_sql.native
         ex_val := dbms_sql.execute (alter_handle);
         dbms_sql.close_cursor (alter_handle);
         stat_out := 'Success: '                    ||
                   TO_CHAR (s_id, '999990')     ||
                   ', '                    ||
                   TO_CHAR (serial_num, '999990');
    EXCEPTION
         WHEN OTHERS
         THEN
              stat_out := 'Failure:'          ||
                   SQLERRM;
    --          dbms_output.put_line (stat_out);
              dbms_sql.close_cursor (alter_handle);
    END     kill_internal
    ;

  • "Alter system set command" in a RAC database!!

    Hi, all.
    The database is (10.2.0.2.0) 2- node RAC database on 32-bit windows 2003
    EE SP1.
    I issued the following command on Node 1 database.
    --> Alter system set db_block_buffers= xxx sid='rac1';
    I was able to see "PE enqueue" in top 5 wait event section from an AWR report.
    In addition, I was able to find "PZ99","PZ98" process dump file in BDUMP.
    Soon later, I could find CKPT and DBWR hung.
    Is there anyone who experienced this issue?
    Thanks and Regards.
    Message was edited by:
    user507290

    10.2.0.2 has some bug which is fixed 10.2.0.3
    You check sequence cache. If it has less value, increase it to 10000.
    select CACHE_SIZE from dba_sequences where SEQUENCE_OWNER='SYS' and SEQUENCE_NAME='AUDSES$';
    SQL> alter sequence sys.audses$ cache 10000;
    Ashok

  • How Can I do a System Reset for my Nokia 3120

    Does anyone know how to do a system reset on a regular Nokia 3120?
    Thanks!

    Yes. Take it to a Nokia Care Point.
    There is no way for the end-user to perform anything other than a "revert to factory default settings" on a S40 phone like the 3120.
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • Please I just got an iPad 3 and it keeps restarting itself. How do I stop this. Done hard reset and system reset.

    Please I just got an iPad 3 and it keeps restarting itself. How do I stop this. Done hard reset and system reset.

    iTunes: Restoring iOS software
    You will probably need to restore using Recovery Mode.
    iPad: Unable to update or restore
    Recovery Mode Instructions
    Disconnect the USB cable from the iPad, but leave the other end of the cable connected to your computer's USB port.
    Turn off iPad: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for iPad to turn off.
    If you cannot turn off iPad using the slider, press and hold the Sleep/Wake and Home buttons at the same time. When the iPad turns off, release the Sleep/Wake and Home buttons.
    While pressing and holding the Home button, reconnect the USB cable to iPad. When you reconnect the USB cable, iPad should power on.
    Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears you can release the Home button.
    If necessary, open iTunes. You should see the recovery mode alert that iTunes has detected an iPad in recovery mode.
    Use iTunes to restore iPad.

  • Question about ALTER SYSTEM ARCHIVE LOG START

    Good morning,
    I'm trying (unsuccessfully) to get my database to be in archive log mode.
    These are the steps I followed:
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount;
    ORACLE instance started.
    Total System Global Area  535662592 bytes
    Fixed Size                  1375792 bytes
    Variable Size             377487824 bytes
    Database Buffers          150994944 bytes
    Redo Buffers                5804032 bytes
    Database mounted.
    SQL> select log_mode from v$database;
    LOG_MODE
    ARCHIVELOG
    SQL> show parameter log_archive_start;
    NAME                                 TYPE        VALUE
    log_archive_start                    boolean     FALSE
    SQL> alter system archive log start;
    System altered.
    SQL> show parameter log_archive_start;
    NAME                                 TYPE        VALUE
    log_archive_start                    boolean     FALSE
    SQL>I've gone thru that process twice but, I don't seem to be able to get the ARCH process to start. (newbie mistake I'm sure...)
    Thank you for your help (again!),
    John.

    The parameter log_archive_start is no more needed John (as suggested already) and the best way to check the archive options is through the archive log list command.
    [oracle@edhdr2p0-orcl oui]$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Aug 10 10:51:57 2010
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    SQL> archive log list
    Database log mode              No Archive Mode
    Automatic archival             Disabled
    Archive destination            USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence     11
    Current log sequence           13
    SQL> shut immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area  418484224 bytes
    Fixed Size                  1336932 bytes
    Variable Size             318769564 bytes
    Database Buffers           92274688 bytes
    Redo Buffers                6103040 bytes
    Database mounted.
    SQL> select process,status from V$archive_processes;
       PROCESS STATUS
             0 STOPPED
             1 STOPPED
             2 STOPPED
             3 STOPPED
             4 STOPPED
             5 STOPPED
             6 STOPPED
             7 STOPPED
             8 STOPPED
             9 STOPPED
            10 STOPPED
       PROCESS STATUS
            11 STOPPED
            12 STOPPED
            13 STOPPED
            14 STOPPED
            15 STOPPED
            16 STOPPED
            17 STOPPED
            18 STOPPED
            19 STOPPED
            20 STOPPED
            21 STOPPED
       PROCESS STATUS
            22 STOPPED
            23 STOPPED
            24 STOPPED
            25 STOPPED
            26 STOPPED
            27 STOPPED
            28 STOPPED
            29 STOPPED
    30 rows selected.
    SQL>
    SQL> alter database archivelog;
    Database altered.
    SQL> alter database open;
    archive log list;
    Database altered.
    SQL> Database log mode         Archive Mode
    Automatic archival             Enabled
    Archive destination            USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence     11
    Next log sequence to archive   13
    Current log sequence           13
    SQL>
    SQL> select * from V$archive_processes where status <> 'STOPPED';
       PROCESS STATUS     LOG_SEQUENCE STAT
             0 ACTIVE                0 IDLE
             1 ACTIVE                0 IDLE
             2 ACTIVE                0 IDLE
             3 ACTIVE                0 IDLEHTH
    Aman....

  • Question on alter system set cluster_database = true

    11.2.0.2.0 windows 2008
    doing a restore to a development RAC I noticed the following. I took the database out of cluster mode on one instance
    alter system set cluster_database=false scope=spfile sid='PRD1';
    shutdown, start up, do the restore, all good, I go to set cluster_Database=true but had issue instance would only start on one node, I reviewed my notes and found problem was when I set cluster_Database back to true I had typed
    alter system set cluster_database=true scope=spfile sid='*';
    instead of
    alter system set cluster_database=true scope=spfile sid='PRD1';
    So issue fixed.
    I retested and confirmed '*' wont take. Ive seen many examples of '*' working online and I am sure I have used '*' many times so had just typed it off my head. Anyone explain? probably quotes or something.

    Any chance there are multiple lines for cluster_database in the spfile ?I had thought maybe this, but confirmed no, it was a fresh build anyway that I was restoring to.
    >
    - Dump the spfile to a pfile ... edit ... recreate the spfile on all nodes.
    >
    Im not sure what this will achieve? the spfile is shared on the ASM.
    >
    As the cluster_database=true is a parameter to enable the RAC configuration. As you typed sid='*' it will try to enable the cluster_database parameter in all the instances(nodes) as it is RAC.
    In your case as you did on a single node by specifiying the sid name it will work as it will look only for that sid and enable that particular node.
    >
    I find this hard to read but I think this misinterprets as well.
    Thanks for the contribution. I think Ive found the solution
    the asterisk doesnt apparently mean actually "all instances", from here
    http://www.comp.dit.ie/btierney/oracle11gdoc/rac.111/b28254/admin.htm#BCEFICEE
    and
    "Setting SPFILE Parameter Values for Oracle Real Application Clusters"
    -- this is a good example of what happened to me
    >
    *.OPEN_CURSORS=500
    prod1.OPEN_CURSORS=1000
    Note:
    The value before the dot in an SPFILE entry identifies the instance to which the particular parameter value belongs. When an asterisk precedes the dot, the value is applied to all instances that do not have a subsequent, individual value listed in the SPFILE.
    For the instance with the Oracle system identifier (SID) prod1, the OPEN_CURSORS parameter is set to 1000 even though it has a database-wide setting of 500. Parameter file entries that have the asterisk (*) wildcard character only affect the instances without an instance-specific entry. This gives you control over parameter settings for instance prod1. These two types of settings can appear in any order in the parameter file.
    If another DBA runs the following statement, then Oracle updates the setting on all instances except the instance with SID prod1:
    ALTER SYSTEM SET OPEN_CURSORS=1500 sid='*' SCOPE=MEMORY;
    >
    so when I was on node 1 and ran it for *, I was setting it for all the nodes except the node I was on which holds true from what Ive seen. I'll remember that one.

  • Alter system set nls_length_semantics

    Hi all,
    my question concerns the scope in the change of NLS_LENGTH_SEMANTICS can be performed.
    The 10gR2 documentation only the
    "Modifiable      ALTER SESSION"
    But what about altering the system and making your own setting to default for all sessions? With which scope?
    I tried
    alter system set nls_length_semantics='CHAR';
    alter system set nls_length_semantics='CHAR' scope=spfile;
    alter system set nls_length_semantics='CHAR' scope=both;
    None had really any effect. Do I have to bounce the database?

    Hello,
    Do I have to bounce the database?Yes, you have to shutdown and startup the database.
    Else the NLS_LENGTH_SEMANTICS change won't be effective.
    You may have more details on the following thread:
    nls_database_parameters->nls_length_semantics Help!
    There's also an interesting Note from MOS:
    Examples and limits of BYTE and CHAR semantics usage (NLS_LENGTH_SEMANTICS) [ID 144808.1]They give many information about NLS_LENGTH_SEMANTICS and the following Bug:
    Bug 1488174
    Problem: ALTER SYSTEM does not change the setting of NLS_LENGTH_SEMANTICS for the current and new (!) sessions.
    Workaround: Don't use ALTER SYSTEM SET NLS_LENGTH_SEMANTICS scope=both; but set NLS_LENGTH_SEMANTICS as a init.ora parameter or issue ALTER SYSTEM SET NLS_LENGTH_SEMANTICS=CHAR scope=spfile; and bounce the database.Hope this help.
    Best regards,
    Jean-Valentin
    Edited by: Lubiez Jean-Valentin on May 27, 2010 2:06 PM

  • Query on ALTER SYSTEM SET

    Hi,
    I was under impression that
    "PFILE has the limitation to change the initialization parameters dynamically.If any init parameter is to be changed,we can edit the pfile and the parameter changes will come into effect with the next reboot of the system.
    To overcome this limitation,Oracle has come up with the concept of SPFILE ,where in the initialization parameters can be changed dynamically using ALTER SYSTEM SET statement."
    But,today I started my test database using PFILE and executed the following command to change the memory_target parameter from 300M to 290M.
    ALTER SYSTEM SET memory_target=290M;
    And to my surprise,this statement executed fine without any errors and memory_target parameter has been set to the new value(of course,in memory).
    Isn't it changing the init parameters dynamically using PFILE itself??
    Please clarify my doubt and correct my understanding.
    Regards,
    Bharath

    bharathDBA wrote:
    Hi,
    I was under impression that
    "PFILE has the limitation to change the initialization parameters dynamically.If any init parameter is to be changed,we can edit the pfile and the parameter changes will come into effect with the next reboot of the system.
    To overcome this limitation,Oracle has come up with the concept of SPFILE ,where in the initialization parameters can be changed dynamically using ALTER SYSTEM SET statement."
    But,today I started my test database using PFILE and executed the following command to change the memory_target parameter from 300M to 290M.
    ALTER SYSTEM SET memory_target=290M;
    And to my surprise,this statement executed fine without any errors and memory_target parameter has been set to the new value(of course,in memory).
    Isn't it changing the init parameters dynamically using PFILE itself??
    Please clarify my doubt and correct my understanding.
    Regards,
    Bharath
    You have a wrong interpenetration about the genesis of the SPFILE. Yes it is a binary file and all that but remember, its not the SPFILE that makes a parameter dynamic or a PFILE that makes it static but it's the very nature of the parameter itself that makes it happen. Yes, the difference in the PFILE and SPFILE parameter would be evident when you would change a dynamic parameter and would give a bounce to the db. Since teh PFILE wasn't updated (its a text file so has to be updated manually) , with the next restart, the parameter would take the same value as it has in the PFILE. But with the SPFILE, depending on what you have set in the SCOPE, the parameter would behave accordingly.
    HTH
    Aman....

Maybe you are looking for