RSECLOG - how do i delete/truncate this table???

Hello BW people,
we turned on auth analysis 6 or 7 months ago and now we have a 260 gb table and i am trying to delete the logs manually thru RSECPROT but it is taking forever to delete one log (approx 30 mins).
is there either a program in sap or a manual way of deleteing or truncating this table?
any help would be very much appreciated.

Thanks Jorge,
this has worked perfectly.
I thought there might be a sap program to do this, but this worked.
thx,
Erik

Similar Messages

  • How can I delete all this information, or can I restore the Ipod?

    My daughter is 9 has an Ipod. I put my email on his device and than she have access to all my contacts and messages. Question: How can I delete all this information, or can I restore the Ipod? Second question: How can I create an e-mail for her, in order she has access to Face Time, Imessages and download games, but I need to have track of this?

    Have a look here...
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l

  • How do you delete records from table with data in a select option

    how do you delete records from table with relevant to data in a select option..how to write coding

    Hi,
    Try
    if not s_select_option [ ] is initial.
    delete * from table
    where field in s_select_option.
    endif.
    commit work.
    Be careful though. If select option is emty, you will delete the entire table.
    Regards,
    Arek

  • Server Logon History table in master database has grown to 30GB. Is it a best practice to truncate this table?

    I have noticed that the master database in our staging env has grown to 30Gb with 299803769 records. I am not sure why but this has happened in the last one year. Just from yesterday to today (1/1/2014 to 1/2/2014) it has 629921 records. Is it
    a good practice to truncate or delete data from this table?
    Thanks for your inputs

    AFAIK that's not a system table.
    David
    David http://blogs.msdn.com/b/dbrowne/

  • How can I delete a broken table?

    Hi,
    I´m still a oracle-noob, hope somebody can help me.
    Last night the optimizer hanged on a single table, so I killed the optimizer-process. After that I checked the table where the optimizer hangs... The result was, that I can't make a query, and can't drop it. I tried dbverify, but no error. When I run optimizer again, or analyze it hangs...
    So I tried to drop the user/schema and try to drop the tablespace...but it hangs to. When I stop the execution with ctrl+c it brings a ora-00604.
    OS is AIX 5.3, DBMS 10.2.0.1, archivlog is activ, my SAN-guy told me, that there are no physical errors
    How can I delete the table or tablespace? Thats enough for me, I don't need a backup via rman or something else (it also would be great, but I never used rman until now...i'm still a noob). And maybe someone can tell why I can't drop the table.
    thx
    Edited by: user10650608 on 02.10.2009 08:28

    Hi,
    Yes restarting or killing all your user process could solve your problem but still you would like to do some more trouble shooting without restarting or killing processes then
    SELECT s.sid,
      FROM v$session s,
           x$kglob ob,
           dba_kgllock lk
           ( SELECT kgllkuse, kgllkhdl, kgllkmod, kgllkreq, 'Lock' kgllktype FROM x$kgllk
              UNION ALL
             SELECT kglpnuse, kglpnhdl, kglpnmod, kglpnreq, 'Pin'  kgllktype FROM x$kglpn ) lk
    WHERE lk.kgllkhdl = ob.kglhdadr
       AND lk.kgllkuse = s.saddr
       AND lk.kgllkhdl IN ( SELECT DISTINCT kgllkhdl
                              FROM ( SELECT kgllkhdl, kgllkreq FROM x$kgllk
                                      UNION ALL
                                     SELECT kglpnhdl, kglpnreq FROM x$kglpn )
                             WHERE kgllkreq > 0 )
    ORDER BY lk.kgllkhdl,
              lk.kgllkreq ASC,
              lk.kgllkmod DESC
    --To check if it is hold by any killed session
    select sid, status, program from v$session where status not in ('ACTIVE','INACTIVE')Regards
    Anurag Tibrewal

  • How to implement "delete" on a table using OWB?

    Hi All,
    How do I implement a simple delete using OWB?
    Assumption:
    (1) Table abcd (id number, age number, amt number)
    (2) the_number is a variable
    (3) the_id is a variable
    Want to implement following transformation in OWB?
    DELETE FROM ABCD WHERE AMT=0 AND number = the_number AND id = the_id ;
    Rgds,
    Deepak

    We implemented delete mappings, and delete flows to be able to reverse a failed load. This is in my opinion a very sound and valid reason for deleting from a datawarehouse. Also if the need is there it could be used for deleting old superfluous data from the datawarehouse.
    There are a few things to consider: closed records in type II should be opened up (post mapping).
    Test, test, test.
    It is indeed a bit tricky to realize,but certainly working and possible.
    steps to take are following:
    1) create new mapping
    2) drop mapping table where to delete from onto mapping (2 times, 1 source, 1 target)
    3) map all fields from source to their corresponding fields in target, except the ones that determine the "where" clause (Refered to as filter fields)
    4) Either create a select, or a mapping input parameter which should result in generating the filter-values for your delete.
    5) map above step to the filter fields.
    6)define a delete mapping by altering target table properties as follows:
    6a) Loading Type => Delete
    6b) Match by constraint => No constraints
    7) set properties each field as folows:
    7a) filter fields match column when deleting => Yes
    7b) other fields match column when deleting => No
    Hope this helps,
    Wilco

  • How would I set up this table of Contents?

    I want a TOC that looks like this:
    Chapter title.......................................author's name......................................page number
    Is this possible? I have always done it manually.
    Thanks
    Ian

    I can give you something that will be a little less manual, although not completely automated. It might seem like a lot of work, but it only takes a bit of time in the setup, and after that, it's all copying and pasting. Have a look at this screenshot:
    I put in some placeholder text, created a headline style, and another style (the 6pt magenta text) called For TOC. I put in the title and author placeholders, separated by a tab and set the width of the text frame to something just below the width of the text frame that holds the body text, and I collapsed the height to fit the text. I set the placeholder text frame to non-printing with Window>Output>Attributes, copied the frame, and pasted it just after the headline paragraph (with a space between the headline and the now-anchored placeholder frame).
    I then set the inline object to a custom position so that no matter where the headline was on the page, the anchored frame would be at the top of the page away from the spine. And, because the inline frame is set to non-printing, it won't show up on printouts or when exported to PDF. Once that's all set up, just copy the anchor and the space (you can use the story editor to make sure you are selecting just those two things) and paste them next to any headlines (or titles, in your case). You then copy the titles from the main text and paste them over the Title in the placeholder (I used Edit>Paste Without Formatting so that the style of the headline would change to the style of the placeholder). You would also type in the name of the author when you are entering the title into the placeholder.
    In the table of contents, you would select the For TOC style, instead of the headline style for inclusion into the TOC. Make a paragraph style for the actual TOC, and set the tab stops there, and you will have:
    Title..............Author................Page #
    The placeholder will travel with the title, so as long as you remember to update any text in the placeholder if you choose to update the titles, you should be good to go.

  • How to cpature hard deletes in custom table?

    Hello Team,
    We have custom table in SAP attached to the application tcode.
    As per business requirement, user can delete few items in transacation( hard deletes).
    We are planning to delete these records from custom table if user delete them in Tcode. However the we need track all of these deleted records.
    Since the record physically deleted from this table, please let me know how to capture the deleted record.
    I heard about CDPOS and CDHDR not sure this table has deleted records. and also DBTABLOG as well.
    What is main diffrence between CDPOS/CDHDR with DBTABLOG interms tracking these deleted records. Our basis team recommending not use DBTABLOG table, since its huge table and its hard for them to archvie.
    Like to listen expert advices.
    Thanks
    Angelo

    Rob,
    Do you want me write Z program to read hard deletes from DBTABLOG and update another Ztable that stores only delted records/
    Pls advice,
    Thanks
    Angelo

  • How to delete a customize table

    HI,
    I need to delete a customize table . But while trying to delete the table it's showing a message " Still used in dictionary. can't delete'. because this table is used by some programs and search helps. How to delete the table?
    Thanks & regards
    sandeep

    Thanks for ur rely! but deletion of table is only possible when it refer  to nothing or refers to only abap programs  . Because my program refers to some search helps and screens and programs i am not able to delete it.  Even in SE56 and SE57  showing the same message.
           Is there any way to delete the table with out affecting the programs and search help( without commenting the part of programs that uses tha table and deleating the search help).
        Is it possible to create anather customize with same attribute and fields and replacing the new table with old table.
    Thanks @ Regards
    sandeep

  • Once a row is deleted from a table ,how can i recover it back in the table?

    Hi
    I have made a delete program in Jdev. I had deleted some of the rows from table such that count goes 2 from 10.
    Now I want to use this table again for some other program,how should i restore the deleted rows so that i can use the table properly.
    However toad tool showing that no row is deleted from the table.
    Thanks & Regards

    Can you please elaborate how are you deleting rows from table.

  • Update Function Module Required for Deletion/Truncation of Open Hub Table

    Hi All,
    I need to delete/Truncate DB tables i.e. Ztables using Update FM
    can anyone help me with few Update FM.
    Regards,
    NS.

    If you want to Delete Custom DB table then you can use FM RS_DD_DELETE.
    You can delete, if the table is not used anywhere in SAP.
    Close thread if you got a answer
    Kanagaraja L
    Edited by: Kanagaraja  Lokanathan on Mar 16, 2010 9:54 AM

  • Disable delete button in Table Maintainance Generator

    Hello all,
      How to disable delete button in Table maintainance generator???

    Hi Maya,
    It is very interesting question. If you debug your table maintenance screen, the program of table maintenance screen will not have statically defined pf status. So you cannot exclude delete functionalities using the below statement.
    SET PF-STATUS <the GUI status> EXCLUDING 'DELE'.
    For viewing pf status SAP has programmed in dynamic manner using this FM VIEW_SET_PF_STATUS.
    Before calling above FM you need to exclude delete function. Follow the following step for achieving this
    Go to sm30. Put your table name and press on maintain push button. It will display table entries in maintenance screen.
    Go to system->status
    Click on program name.
    Go to your flow logic of you table maintenance screen number.
    It will have following code in flow logic
    PROCESS BEFORE OUTPUT.
    MODULE LISTE_INITIALISIEREN.
    LOOP AT EXTRACT WITH CONTROL
      TCTRL_ZMAINTAIN CURSOR NEXTLINE.
       MODULE LISTE_SHOW_LISTE.
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE LISTE_EXIT_COMMAND AT EXIT-COMMAND.
    MODULE LISTE_BEFORE_LOOP.
    LOOP AT EXTRACT.
       MODULE LISTE_INIT_WORKAREA.
       CHAIN.
        FIELD ZMAINTAIN-MATNR .
        FIELD ZMAINTAIN-KUNNR .
        FIELD ZMAINTAIN-LIFNR .
        MODULE SET_UPDATE_FLAG ON CHAIN-REQUEST.
       ENDCHAIN.
       FIELD VIM_MARKED MODULE LISTE_MARK_CHECKBOX.
       CHAIN.
        FIELD ZMAINTAIN-MATNR .
        MODULE LISTE_UPDATE_LISTE.
       ENDCHAIN.
    ENDLOOP.
    MODULE LISTE_AFTER_LOOP.
    Add new module in PBO for excluding delete function. ex  module set_pf.
    PROCESS BEFORE OUTPUT.
    ****here I added my own code for excluding delete function
    ****begin of addion
    module set_pf.
    ****end of addition
    MODULE LISTE_INITIALISIEREN.
    LOOP AT EXTRACT WITH CONTROL
      TCTRL_ZMAINTAIN CURSOR NEXTLINE.
       MODULE LISTE_SHOW_LISTE.
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE LISTE_EXIT_COMMAND AT EXIT-COMMAND.
    MODULE LISTE_BEFORE_LOOP.
    LOOP AT EXTRACT.
       MODULE LISTE_INIT_WORKAREA.
       CHAIN.
        FIELD ZMAINTAIN-MATNR .
        FIELD ZMAINTAIN-KUNNR .
        FIELD ZMAINTAIN-LIFNR .
        MODULE SET_UPDATE_FLAG ON CHAIN-REQUEST.
       ENDCHAIN.
       FIELD VIM_MARKED MODULE LISTE_MARK_CHECKBOX.
       CHAIN.
        FIELD ZMAINTAIN-MATNR .
        MODULE LISTE_UPDATE_LISTE.
       ENDCHAIN.
    ENDLOOP.
    MODULE LISTE_AFTER_LOOP.
    *****inclule one line of code for excluding delete fucion
    module set_pf output.
          MOVE 'DELE' TO excl_cua_funct-function. COLLECT excl_cua_funct.
    endmodule.
    Basically sap fetching status dynamically from program SAPLSVIM using FM VIEW_SET_PF_STATUS. Status name is EULG.
    Please donu2019t hardcode anything by using set pf status statment, you just add one line of code the PBO by creating new module.
    Let me know if you need any help .
    Cheers.
    Regards,
    Peranandam

  • How can i find out the table hierarchy

    Hi experts,
    I have one doubt. how can i find out the table hierarchy in the particular schema.
    Let me explain my requirement in detail.. In my Database i have nearly 250 table each table have it's own temporary table(for authorization purpose we are maintaining the temporary tables) for each day i have to clear the temporary table data.
    All temporary table connected with each other. i mean all the table having foreign key relationship.. while i attempt the delete the data from the temporary table it showed ORA-02292: integrity constraint  violated - child record found.
    So can any one please tell how can i delete the child table record first and then parent record table record.
    Thanks in advance
    Arun

    CREATE OR REPLACE FUNCTION get_child_tables (
    ptable VARCHAR2,
    powner VARCHAR2 DEFAULT 'SCOTT',
    plevel NUMBER DEFAULT 10
    RETURN stringarray
    -- -- create this ON SQL*PLUS "CREATE OR REPLACE TYPE STRINGARRAY AS TABLE OF VARCHAR2(50);"
    -- AUTHID CURRENT_USER
    PIPELINED
    AUTHOR DATE VERSION COMMENTS
    ======================================================================================
    [email protected] 26-OCT-2009 1.0 Developed to ease developers effort to find Nth level of Referential integrity
    ======================================================================================
    -- PURPOSE -> To find PARENT=> CHILD relational TABLE(S) in Oracle upto a depth max N Level.
    --SYNTAX TO USE
    SELECT * FROM TABLE( get_child_tables('DEPT','SCOTT',3)); Store this query in a file for your use
    SELECT * FROM TABLE( get_child_tables('EMPLOYEE')); Store this query in a file for your use
    -- RESULTS looks as below
    --1 => DEPT
    --2 => EMP
    --2 => EMP2
    --3 => EMP_CHILD
    --3 => EMP2_CHILD
    -- and so on
    --This can be leveraged to use in any oracle database REGION 10g having and above.
    --This FUNCTION gives formatted result of the Oracle 10g Hierarchical query result coded in the cursor
    --to find MASTER => CHILD relational TABLE(S) upto a depth max 10 Level.
    --The result of the PIPELINED function can be retrieved using Oracle new operator
    --TABLE(array name) in SQL query.
    --Due to the AUTHID CURRENT_USER compiler directive any user can use based on his/her access privileges on the database.
    --GRANT EXECUTE ON SCOTT.get_child_tables TO PUBLIC;
    --CREATE OR REPLACE PUBLIC SYNONYM get_child_tables FOR SCOTT.get_child_tables;
    IS
    atname stringarray := stringarray ();
    -- create this ON SQL*PLUS CREATE OR REPLACE TYPE STRINGARRAY AS TABLE OF VARCHAR2(50);
    vlevel NUMBER;
    vtname VARCHAR2 (50);
    nindex NUMBER := 0;
    bprocessed BOOLEAN := FALSE;
    CURSOR c1 (powner_in IN VARCHAR2, ptable_in VARCHAR2, plevel_in NUMBER)
    IS
    SELECT LEVEL, LPAD (' ', (LEVEL - 1) * 2, ' ') || pt AS "TNAME"
    FROM (SELECT a.owner w1, a.table_name pt, a.constraint_name c1,
    a.r_constraint_name r1, b.owner w2, b.table_name ct,
    b.constraint_name c2, b.r_constraint_name r2
    FROM all_constraints a, all_constraints b
    WHERE a.constraint_name = b.r_constraint_name(+)
    AND a.owner = b.owner(+)
    AND a.owner =
    UPPER (powner)
    -- Change Owner here while testing
    --AND A.r_constraint_name IS NULL
    AND a.constraint_type IN ('P', 'R')) v1
    START WITH pt =
    UPPER
    (ptable)
    -- Change your master table here while testing the QUERY
    CONNECT BY PRIOR ct = pt AND LEVEL <= plevel;
    -- Change lavel here while testing
    BEGIN
    atname.EXTEND;
    atname (1) := 'NOTHING';
    OPEN c1 (powner, ptable, plevel);
    LOOP
    bprocessed := FALSE;
    FETCH c1
    INTO vlevel, vtname;
    IF nindex > 1 AND atname (atname.LAST - 1) = vtname
    THEN
    --DBMS_OUTPUT.PUT_LINE('2 ==== vtname  ' ||vtname || '   '|| atname.count|| '   '||atname.last ||  '   '||atname( atname.last-1));
    bprocessed := TRUE;
    END IF;
    IF NOT bprocessed
    THEN
    nindex := nindex + 1;
    atname.EXTEND;
    atname (nindex) := vtname;
    PIPE ROW (vlevel || ' => ' || vtname);
    DBMS_OUTPUT.put_line ( ' **** nindex - atname( nindex) '
    || nindex
    || ' - '
    || atname (nindex)
    DLOG('ADDING ',vTname); A LOGGING ATONOMUS PROCEDURE FOR DEBUG PURPOSE
    END IF;
    EXIT WHEN c1%NOTFOUND;
    END LOOP;
    CLOSE c1;
    FOR i IN 1 .. atname.COUNT
    LOOP
    DBMS_OUTPUT.PUT_LINE('atname (i) ' ||atname (i));
    END LOOP;
    RETURN;
    EXCEPTION
    WHEN no_data_needed
    THEN -- THIS EXCEPTION HAS TO BE THERE TO GET THE FUCTION WORKABLE
    DBMS_OUTPUT.put_line (SQLERRM);
    RETURN;
    --SELECT * FROM TABLE( get_child_tables('TB_XOP_LETR_TEMPLATE','OPS$CMS',5));
    END get_child_tables;
    Edited by: user3066657 on Jul 21, 2011 8:42 AM
    Edited by: user3066657 on Jul 21, 2011 11:26 AM

  • Deleting the staging tables

    Hi all,
    We are upgrading from 8.4 to 9.0 financials.
    we are at re-applying customizations phase now.
    In previous version(8.4), there was a custom app engine to delete the Voucher Staging tables(EC tables).
    in that app engine, all deletes were based on ECQUEUEINSTANCE field.
    (for ex delete from PS_VCHR_HDR_EC WHERE ECQUEUEINSTANCE BETWEEN 1234 AND 1235)
    Peoplesoft changed EC tables to STG tables in 9.0 version
    So my question is that in 8.4 in PS_VCHR_PYMT_EC has the ECQUEUEINSTANCE field in it. but the corresponding table PS_VCHR_PYMT_STG table does not have the ECQUEUEINSTANCE field. I am just wondering if any one got into this situation and how did you delete the PS_VCHR_PYMT_STG table?
    I don't want to delete everything in PS_VCHR_PYMT_STG table.
    Thank you.

    Please post the details of the application release, database version and OS.
    Do you have the statistics collected up to date?
    Please see these docs.
    PERFORMANCE ISSUE - REFRESH COLLECTIONS SNAPSHOT WHEN RUN FOR ALL [ID 1067892.1]
    Refresh Collection Snapshots Performance - Managing MLOG$ Tables and Snapshots for Data Collections [ID 1063953.1]
    How To Improve the Performance of the Refresh Collection Snapshots When Running Very High Volumes [ID 550005.1]
    How To Run MSRFWOR - Refresh Collections Snapshots Concurrent Request From The Application [ID 211121.1]
    Advanced Supply Chain Planning ASCP Performance TIPS Profile Options [ID 209996.1]
    Fast Refresh Is Slower After OATM and 10.2.0.3 Upgrade [ID 875532.1]
    MSRFWOR Refresh Collection Snapshots Performance Database Bug 4196039 [ID 369173.1]
    Master Note for Materialized View (MVIEW) [ID 1353040.1]
    Thanks,
    Hussein

  • How can i delete a transport request?

    Hello:
    I only speak a little english. I wait that you can understand me.
    I have a transport request that is released. I make bad this request and i need delete it. But, when i go to se10 and I try to delete I recive this messagge:
    Request/task ____ already releaded (not modificable).
    How can I delete this request?
    Thank you very much.
    Report RDDIT076 is internal and should not be executed by customers.
    - Reported by Jason ORiordan
    Message was edited by: Suhas Saha

    Hi,
    It is easilly possible to delete the cofile and the datafile of the released transport request but why would you need to do that ?
    It is also possible to delete a transport request in the transport tables but it is a very bad idea and could even be seen as a temptative to hide a forbidden action in the system.
    It will be seen by a security audit as this would create a hole in the request order numbering.
    You would need to use direct database access to delete a released transport request.
    As I told you before, I would NOT do it as it is hasardous et may generate security audit problems.
    You can also destroy your transport system.
    Transport requests are stored in table E070.
    We only modify the e070 table after system copy by database refresh to reset the next transport request number. It is done by inserting a line in the table. We never delete inside this table.
    Use at your own risk !
    Regards,
    Raj.

Maybe you are looking for

  • Some shows purchased from itunes do not show on Apple TV

    I've downloaded and purchased via iTunes a few kids tv shows. These shows do not show up on my apple Tv. They are marked to sync in iTunes etc, but they still do not appear in Apple TV. any ideas?

  • SMS sent from Nokia Suite is not saved

    PC Nokia Suite (7.1.18.0) seems to be working fine on both Bluetooth and USB Cable with my Nokia 6300 (FW is V07.21). EXCEPT, whenever I send SMSs from the Nokia Communications Centre, they are not saved anywhere.  I assume that they should save in N

  • Cant find music

    I bought a bunch of apps and music from itunes with my iphone , before i could sync my phone ,i dropped it and had to get it repaired. I can find the purchase history on my acct but i cant get the songs into my library... id like to get them on my ph

  • Better Customer Service, More Uniform System Online and by Phone

    My Story: All of my problems started off with such a simple mistake: the street name for my new house wasn't updated in the Verizon system. I'm a stickler for things being done right, so when I can I fill out forms online rather than over the phone s

  • Do I need anytime Quicktime Pro

    I am using Final Cut Express 4.0.1 and do have the latest Quicktime installed on Leopard. Do I need the Quicktime Pro license if I like to use the export from FCE with "Quicktime conversion" or is there something I may miss if not?