How to remove referred belonging to sys of meshes

Hi experts

I have a beginner questions:

After you set the sql tuning sets (sts).
Now I want to delete some of them! I have to remove their referred in the first instance:
select * from DBA_SQLSET_REFERENCES ;
SQLSET_NAME           SQLSET_OWNER SQLSET_ID ID OWNER CREATED DESCRIPTION
MY_STS             HR     1     1     SYS     08.03.12     created by: SQL Tuning Advisor - task: SQL_TUNING_1331216081407
MYWORKLOAD_1     SH     20     37     SYS     05.04.12     Access Advisor task SQLACCESS5537425          " <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"
STS_20120603_01     SH     21     39     SYS     03.06.12     created by: SQL Tuning Advisor - task: SQL_TUNING_SH_STS_20120603_01
MYWORKLOAD_1     SH     20     35     SYS     05.04.12     created by: SQL Tuning Advisor - task: SQL_TUNING_1333609886368
MYWORKLOAD_1     SH     20     36     SYS     05.04.12     created by: SQL Tuning Advisor - task: SQL_TUNING_1333610666557
STS_20120603_01     SH     21     40     SYS     03.06.12     created by: SQL Tuning Advisor - task: SQL_STS_20120603_01
$$SQLA$$_1     SYS     18     32     SH     03.04.12     $$SQLA$$ (Internal use only): SYS.WORKLOAD_240
$$SQLA$$_1     SYS     18     33     SH     03.04.12     $$SQLA$$ (Internal use only): SYS.WORKLOAD_240
So I tried for example to remove the reference 37 as user sys and got the error:
DECLARE
BEGIN
  -- Delete the reference.
  DBMS_SQLTUNE.remove_sqlset_reference (
    sqlset_name  => 'MYWORKLOAD_1',
    reference_id => 37);
END;
/

ORA-06512: in "SYS.DBMS_SQLTUNE_INTERNAL", Zeile 15117
ORA-06512: in "SYS.DBMS_SQLTUNE", Zeile 5501
ORA-06512: in Zeile 4
13754. 00000 -  "\"SQL Tuning Set\" \"%s\" does not exist for user \"%s\"."
*Cause:    The user attempted to access a SQL Tuning Set that does not exist.
*Action:   Check the speelling of the SQL Tuning Set name and retry
           the operation.
and as a user sh and got:
DECLARE
BEGIN
  -- Delete the reference.
  DBMS_SQLTUNE.remove_sqlset_reference (
    sqlset_name  => 'MYWORKLOAD_1',
    reference_id => 37);
END;
/

ORA-06512: in "SYS.DBMS_SQLTUNE_INTERNAL", Zeile 15117
ORA-06512: in "SYS.DBMS_SQLTUNE", Zeile 5501
ORA-06512: in Zeile 4
13759. 00000 -  "User \"%s\" cannot remove reference \"%s\"."
*Cause:    The user attempted to remove a SQL Tuning Set reference that
           does not exist. The user might not own the reference.
*Action:   Check the reference ID and the reference owner and retry
           the operation.
I spent a lot of time looking for the right oracle documents but can not find them!

Please help me find the right document or how to easily remove the cracks

Thank you and best regards

hqt200475

Published by: hqt200475 on June 6, 2012 03:08

Published by: hqt200475 on June 6, 2012 04:42

It looks good in my test database

Connected to:
Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
With partitioning, Oracle Label Security, OLAP, Data Mining,
Oracle Database Vault and Real Application Testing options

SQL select sqlset_name, id, SQLSET_OWNER, DESCRIPTION of DBA_SQLSET_REFERENCES
SQLSET_NAME ID SQLSET_OWNER DESCRIPTION
---------------------- ------------------------------------------------------
SQLSET_KARAN_33 1 SYS SQL Tuning Advisor - task: karan_task

SQL > START
-Delete the reference.
() DBMS_SQLTUNE.remove_sqlset_reference
sqlset_name-online "SQLSET_KARAN_33."
reference_id-online 1);
END;
/
PL/SQL procedure successfully completed.

Concerning
Karan

Tags: Database

Similar Questions

  • How to remove RPCNET?

    So, today, I found this thing RPCNET software on my computer... Since its completely installed, fresh and without internet until the Symanctec was running... It must come from toshiba themselves.

    I read many things on this subject on the internet, seems that this is part of the lo-jack service?

    Also, I would like to know how to remove it, all the time!

    Can't find anything on the site or these forums (for once it is the guy still think it part of windows).

    :(

    You don't need to delete these files.
    I read that these files belong to an Absolute Software application and are incorrectly identified by some as Trojan horse virus tools.

    These messages can be ignored, and it is recommended to check for the latest definitions for the AV tools anti-virus as Absolute Software works on this issue.

    So, calm down, is not the fault of Toshiba.

  • How to remove safely remove the icon of the DVD RW AD ATA device optiarc 7561 taskbar for windows vista

    How to remove safely remove the icon of the DVD RW AD ATA device optiarc 7561 taskbar for windows vista

    Hello Mark G,.

    I think that Christopher was referring to right click on the remove safely icon on the taskbar and choosing then to remove it safely.

    Otherwise, this may be a feature of the device driver and the device manufacturer may be able to tell how.

    Best regards

    Matthew_Ha

  • How to remove the lid of the scanner on the Photosmart 5520?

    Manual to insist that the lid of the scanner of the Photosmart 5520 (model #CX042A) can be removed.

    When I try however, it does seem it Peel, as if a force is applied over it feels like it will break.

    I contacted HP technical support per session chat, and after about half an hour the technician finally dropped and referred me to the store where I bought it.  I went to Office Max, where I bought and asked them.  They were also puzzled with a right to the camera in front of us, they could not figure out how to remove the cover.  They were also afraid to break if they tried to remove it.

    Are there instructions indicating how to remove it so that the lid or the hinge is not destroyed in the process?

    The manual is not wrong.  You can remove the cover on a 5110.  I was just trying to do the right way the first time.  This post told me how to do it.  As far as I know, the only things that have changed since the 5510-5520 are the firmware and internal control.  The shell of the printer must be roughly the same.

  • How to remove file conversion program?

    How to remove file convertion program that appears when you try to scan a document to your computer? It cannot set the default so all I see is writing that looks Arabic.

    Also how is this program have on my computer?

    Hi Swift89,

     

    1. What is the brand and model of the scanner?
    2. for how to connect had this problem?
    3. the scan function work properly at any time?

     

    You can check if you can identify the program causing problems in the clean boot state.
    To perform the clean boot follow step 1, mentioned in the below article and then check in the clean boot state.

    http://support.Microsoft.com/kb/929135

    If the problem is resolved check which service non-Microsoft is the source of the problem; referring to article and following the other steps.
    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    a. Click Start, type msconfig.exe in the start search box and press ENTER.
    If you are prompted for an administrator password or for confirmation, type your password, or click on continue.

    b. on the general tab, click the Normal startup option and then click OK.

    c. When you are prompted to restart the computer, click on restart.

    I hope this helps.

  • V40 ink jet. How to remove the feeder BAA?

    This excellent V40 belonged to my late mother. I need to disassemble and Pack in a box for moving. May not know how to remove the adf paper tray and don't want to break it. Anyone who can help me... I have no initial installation instructions papers.

    Poster of installation for V40

    http://h10032.www1.HP.com/CTG/manual/bpu04746.PDF

  • Unknown user account has taken control of many documents and media files. How to remove this user.

    We created an unknown accout on my laptop Windows 7 did it probably a malware or some kind of virus. This unknown account took all permissions including the special permission. In this way, he blocked my access to a lot of my documents and multimedia files. This unknown account does not appear in the list of user accounts. Thus, it cannot be deleted or modified/restricted. I tried to detect this virus/malware microsoft security essentials and MacAfee antivirus programs. The two could not detect something. Any help?-ERC

    Hi CED,.

    Thanks for posting in the Microsoft Community.

    I'm sorry to know that you are facing a problem of unknown account. It would be useful that you can answer these questions to help you further.

    1. How do you know that it is an unknown account? You receive messages or error codes?

    2. where are the documents and multimedia files stored?

    3. have you made a recent software or hardware changes to the system?

    If you are referring to an unknown account with a SID string, then try these steps and check if it helps.

    a. go to the folderwhere you saw this string SID.

    b. right-click and select Properties. Click the Security tab.

    c. If it is there, then click on the Edit button, then click the Remove button.

    If you are told that you cannot delete this account because it is to be inherited, and then close the dialog boxes and set up a folder in the tree and repeat the procedure. Keep this up until you can remove the ""unknown account " SID in the permissions dialog box."

    You can also check the suggestions provided by Marilyn O, moderator of the Forum on July 9, 2012 and check if it helps.

    How to remove an unknown account on the Security tab in windows 7?

    Important: The above link contains steps to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs.

    For more information, you can view the article:

    Back up the registry

    I hope this helps to solve the problem.

    If you need further assistance, please answer and we will be happy to help you.

  • How to remove duplicate files/songs in my music library without having to click on each of them?

    original title: removal of duplicates

    How to remove duplicate files/songs in my music library without having to click on each of them?

    Hi MonicaBlanco,

    1 are. what music library you referring?

    2. did you of recent changes on the computer?

    If you are referring to the Windows media player library then the only option to remove duplicates of files is to click with the right button on the file duplicate.

    Remove items from the Windows Media Player library

    http://Windows.Microsoft.com/en-us/Windows7/remove-items-from-the-Windows-Media-Player-library

  • ORA-04089: cannot create triggers on the objects belonged to SYS

    I did a google on this error and it say that I should never get to anything to do with the system and also to make another account when executing my script, I did this, but I still get the error code and the error is less than

    REM **********************************************************************

    CREATE TABLE gam_attribute_bin (/ * gam_ab * /)

    attribute_owner_type char (1) NOT NULL, / * player Att, Att User Instance Att Att class.

    Class criteria, client static/Gulp * /.

    ATTRIBUTE_NAME VARCHAR2 (20) NOT NULL,

    owner_id NUMBER (10) NOT NULL, / * specific check-in attribute_owner * /.

    LONG RAW NULL binary_value

    ) TABLESPACE gam_lgtab STORAGE (INITIAL 256 K NEXT 256 K MAXEXTENTS PCTINCREASE 0 unlimited)

    /

    ALTER TABLE gam_attribute_bin ADD)

    CONSTRAINT gam_attribute_bin_pk

    UNIQUE (attribute_owner_type, owner_id, attribute_name)

    USING INDEX

    TABLESPACE gam_ind

    STORAGE (INITIAL 256 K NEXT 256 K MAXEXTENTS PCTINCREASE 0 unlimited)

    )

    /

    Suppression of REM binary attribute when necessary

    CREATE TRIGGER gam_att_delete

    AFTER YOU REMOVE gam_attribute

    FOR EACH LINE

    BEGIN

    IF (: old.attribute_data_type = 'B')

    THEN

    DELETE FROM gam_attribute_bin

    WHERE attribute_owner_type =: old.attribute_owner_type

    AND attribute_name =: old.attribute_name

    AND owner_id =: old.owner_id;

    END IF;

    END;

    /

    ERROR on line 1:

    ORA-04089: cannot create triggers on the objects belonged to SYS

    hope someone can help me clear this up thanks

    Hello

    You code works very well for me.  I had to change to run on my system tablespaces, but otherwise, what you posted worked for me when I tried (in a different schema than SYS, of course).

  • How to remove the Tables of HFM Application in SQL

    Hi gurus

    1. how to remove the HFM Application Tables in SQL?
    Its manual removal but each application having 120-150 tables? How to do this in one fell swoop?

    I deleted some applications using the workspace / shared services, but still its display under HFM under the Tables of SQL Server.

    Please help me

    concerning
    Smilee

    Hi Smilee,

    1. If the application opens in the web management interface, go to Taskflows management module and make sure that no taskflows exist yet for this application. Remove any existing taskflows.

    2. If demand exists in Shared Services, right-click on the demand for Shared Services and try to remove the application from here

    3. stop Hyperion Shared Services and all the Windows of financial management processes and backups of the relational database of the two patterns.

    4. check the relational database of Hyperion Shared Services repository, in the "ces_apps" table and make sure that there are no lines containing the appname "EXAMPLE." If the line still exists you should enlist the help of Oracle Global Support software to clean Hyperion Shared Services before proceeding.

    5. it is possible to remove all content removed from the relational database of financial management application. Must be very careful when handling manually tables database that permanent damage can be done at the application and other applications if the wrong content is removed.

    (a) first remove all tables, indexes, sequences, and the package objects that begin with the name of the application
    (b) remove all tables starting HSV_appname_xxxxxx
    (c) remove all rows in tables referring to demand HSX_CLUSTER_xxxxx.
    (d) delete all the HSV_ACTIVITY_KILL_USERS, HSV_ACTIVITY_NO_ACCESS, HSV_ACTIVITY_SESSIONS and HSV_ACTIVITY_USERS and HSV_USERS_ON_SYSTEM lines that refer to the name of the application.
    (d) remove the line containing the name of the application from the HSX_DATASOURCES table.

    6. the next time that all Hyperion services are restarted, the application must be removed safely from Windows client.

    You can contact your DBA to write a query on how to remove it.

    Hope this helps,

    Thank you
    Charles Babu J

  • How to remove some archivers without a catalag

    I read in the doc that we need a catalog to manage a backup of data protection. We don't yet have it.

    How to remove archivers of FRA of primary and emergency in order to free up space of the FRA?

    Published by: usersp on April 4, 2012 17:08

    Hello;

    I would still use RMAN to delete without the catalog.

    echo "Starting RMAN..."
    $ORACLE_HOME/bin/rman TARGET SYS/oracle@trgt NOCATALOG << EOF
    
    delete noprompt ARCHIVELOG UNTIL TIME 'SYSDATE-8';
    
    exit
    EOF
    

    Best regards

    mseberg

  • How to remove ARDAgent.app error in osx 10.11.4

    How to remove ARDAgent.app error in osx 10.11.4?

    Hello

    You can ignore these messages. You can also usually ignore any message "ACL found but should not...» ». These messages can occur if you change the permissions on a file or a directory; they are accurate, but is generally not a cause for concern.

    Mac OS x: Messages to repair disk from disk utility permissions that you can safely ignore

  • RE: iOS iPhone 6 s 10 how l remove or disable the slippery camera from outside the locked screen? This feature is a security and threat privacy for me.

    RE: iOS iPhone 6 s 10 how l remove or disable the slippery camera from outside the locked screen? This feature is a security and threat privacy for me.

    You can not. However, I'm not sure why you think it's a privacy or security threat. The only thing that can be accessed without unlocking the phone is the camera to take pictures. No one can access your data already on the phone.

    You can send feedback to Apple here:

    http://www.Apple.com/feedback

  • How to remove souvenirs tab pictures 10 iOS app?

    How to remove the tab from the Photos app in iOS 10 memories, because with memories tab, it's a big mess in my Photos app. I can't use my Photos normally because of this tab. I like facial recognition, but I don't want memories tab in my Photos app. I have movies app for that. A way to remove the memories tab? Thank you.

    Flanua wrote:

    A way to remove the memories tab? Thank you.

    N °

    Submit your Apple asking this feature here:

    http://www.Apple.com/feedback

  • How to remove pop-up virus?

    Does anyone know how to remove pop-up virus? Congratulations google user reviews, it then asks me to answer 3 questions to be in the draw to win an iphone7. Please help, it keeps popping up every time I have using the site "Kissasian".

    Have you tried resetting the network settings? You can do this by going to the settings, choose general and tap reset network settings. Then connect to the Wi - Fi connection again.

Maybe you are looking for

  • Instructions to get out of Safe Mode may not work (reboot, reset), then how the heck out of Mode safe?

    Tonight, I went in Firefox for the first time at least two years. When I tried to open the version of Firefox, I got in my Applications, it is opened in Mode safe. So I downloaded the latest version of Firefox open, and it automatically retrieved my

  • ITunes game subscription

    I have iTunes game and have enjoyed using iTunes Radio without advertising.   Recently, when I try to use the radio I get sent automatically to a Apple music sign up page that none of my radio channels work.   Is there a way to use the radio or this

  • iPod won't start

    My iPod Touch 5 G 16 GB blue could not start.  It was fully charged in running and when the last one used.  The next time I tried to start it (30 min. later) it would not start.  It is running the latest version of iOS.  I tried the procedures of nor

  • Locking of the keyboard and the mouse after update Windows7

    System: HP 3135 Pro Windows 7 Prof 64 bit Microsoft wired keyboard 600 Mouse Logitech RX250 This problem started on October 16: After the automatic updates of Windows, the keyboard and mouse locked. Only to start in secure mode and come back with the

  • When I try to delete the folder, I get: "this item is not found." But...

    This applies to a group of what were empty folders.  I can rename files, move them, even to save new files in them.  But when I try to delete a file, I get the message that the file is not found. I tried to boot mode safe with the same results. I che