Performance manager sql action rule for updating metric table

Hi, I need to update metric stop_date using a sql action rule (Performance Manager execute sql action rule). My problem is I can't update stop_date into the PM Repository Database. Sql action database connection is properly set, but when I set sql for executing update in table ci_probe and I schedule the rule the system doesn't seem to connect to Database (the rule run successfully, but the table ci_probe is not updated). I don't understand if the problem is database connection or wrong sql code.
Can Anyone help me with suggestions or sql action rule samples?
Thanks
Luigi
Edited by: Luigi Oliva on Jun 13, 2008 1:32 PM

Hi It's working, Problem was in repeat_interval it's working now,
Thanks,
I changed
  repeat_interval          => 'FREQ=DAILY;BYSECOND=10',to
  repeat_interval          => 'FREQ=SECONDLY;BYSECOND=10',Thanks,
Edited by: NSK2KSN on Jul 26, 2010 11:14 AM

Similar Messages

  • I installed Elements 12 because my version of Photoshop (CS5.1) is not compatible with Yosemite. Now the Adobe Application Manager will not search for updates for any of the programs in CS5.5 that I have. How do I fix this?

    I installed Elements 12 because my version of Photoshop (CS5.1) is not compatible with Yosemite. Now the Adobe Application Manager will not search for updates for any of the programs in CS5.5 that I have. How do I fix this?

    '''Except 8.0.x version also supported version is 3.6.24 '''you can find it here:
    http://www.mozilla.org/en-US/firefox/all-older.html
    check the system requirements:
    http://www.mozilla.org/en-US/firefox/3.6.24/system-requirements/
    see also:
    [https://support.mozilla.com/en-US/kb/Installing%20a%20previous%20version%20of%20Firefox Installing a previous version of Firefox]
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • API for updating pay_people_groups table..

    Hi,
    Is there any API for updating pay_people_groups table. I know we can do it using hr_assignment_api.update_emp_asg_criteria but this API updates the assignement with the new pay_group_id. I want to know is there is any API which can only update the pay_people_groups and not the assignment.
    Regards,
    Shabana.

    Hi,
    Technically you want update values for people group. If you remember At the time of definition of people group you created value set and attached people group flex field.
    People group are created on the basis of combination of segments. So you have to update only values not people group.
    I doubt oracle provides API to update key flex field.
    You may get API to update values try out that option.
    Hope this helps.
    Sathish

  • XD02 transaction to change the customer data for updating KNA1 table?

    Hi all,
    How can we use XD02 transaction to change the customer data for updating KNA1 table?
    Give the steps.
    Thanks in advance
    rk

    Hi KR,
    Why don't u use BDC to run XD02.
    With Regards,
    Zafar Ali

  • Can i use "Oracle Database 12c: Performance Management and Tuning " training for getting certification on "Oracle Database 11g: Performance Tuning 1Z0-054"

    i have taken "Oracle Database 12c: Performance Management and Tuning new" training from oracle university. Now i would like to get certified on "Oracle Database 11g: Performance Tuning 1Z0-054" exam. Is it possible ?

    I essentially endorse and refer you to Matthews' and John's post above.
    I would differ with slightly with Matthew because my guess is you would often be able to use like for like 12c training for an 11g certification ( I believe there are precedents).  BEFORE ANYONE ASKS THE OTHER WAY DOESN'T HAPPEN.
    .... but totally concur with Matthew you would ill advised to procede on that basis without one of:
    - This being advertised as possible on the website : e.g. https://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=654&get_params=p_id:169 ... option 2 show courses.
    - Confirmation from Brandye
    - Confirmation from an Oracle Certification Support Web Ticket ( http://education.oracle.com/pls/eval-eddap-dcd/OU_SUPPORT_OCP.home?p_source=OCP )
    ... The more common (and in my opinion usually better) way would be get your 11g DBA OCP ( or higher first) and then take the 1z0-054.  I am almost certain they will accept your 12c course for the 11g DBA OCP.
    If you are choosing the route of not being a 11g (or 12c ) DBA OCP first but are on option 2 and relying on the course for certification then the issue is more in the balance and you are even more strongly advised to get confirmation before proceding (remember if the rules need to be changed for you only then any profit out of the exam is lost).
    In general my understanding is Oracle would prefer to encourage people to train on the latest version of product that is available for training  and will prefer to avoid restrictions which would cause you to train at a lower version.  ( This is simply my guess at Oracle University Policy ... personal opinion only).
    Having said all I have said I'd encourage you to go with the advice of the earlier two posts.

  • Sql Server Partitioning for Update

    hi ... 
    i have created on my sql server database a table that hold transactions on my database , some of updating process take more time for update .
    my question is is the partitioning for this table will be useful and decrease the updating time , or will be the same
    Thanks for attention

    IMO, I would never partition a table which had 10,000 rows.  You might want to if there is a good partitioning key and you expect this table to get much larger in the future. 
    In any case, on a 10,000 row table, I can't see any scenario where partitioning will significantly improve performance.
    You would be much better off either improving the indexing and/or rewriting the queries to be more efficient. 

  • Performance Managment - Appraisals still pending for ex employees

    Hello!
    I had a quick question and hope someone can answer it for me. Is there a process which can be run to remove appraisals from performance managment (MSS) when an employee leaves an organisation?
    currently we are getting many calls/tickets wondering why a persons appraisal is still active in thier performance management worklist even though they have left the company. So far we have suggested that they manually delete them, but surely there must be an easier way?
    secondly, which actions are automatically purged when an employee leaves?
    Many thanks,
    Samir

    """    On the portal "Status Overview" I-View for MSS --> Maintain Performance Documents, there is a property for employee evaluation period which needs to be set to "Yes".   ""
    how to change this property?
    under content admin????
    Thanks in advance.

  • ERROR using SQL Server 2000, FOR UPDATE clause problem

    Hi All,
    Because our main target for RDBMS mostly SqlServer2000, I try to use ADF BC with one. I successfully run the BC with Tester, scrolling up and down, BUT when i try to make changes and do commit, I receive ERROR, I have tried both JDBC Driver from Microsoft and jTDS, both FAILS.
    I have set the 'Default Locking Mode ..' to 'optimistic'
    (default is 'pessimistic'), it doesn't help.
    Here is the error :
    With Microsoft JDBC Driver :
    (oracle.jbo.DMLException) JBO-26080: Error while selecting entity for Departments
    ----- LEVEL 1: DETAIL 0 -----
    (java.sql.SQLException) [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer] FOR UPDATE cannot be specified on a READ ONLY cursor.
    With jTDS JDBC Driver :
    (oracle.jbo.DMLException) JBO-26080: Error while selecting entity for Departments
    ----- LEVEL 1: DETAIL 0 -----
    (java.sql.SQLException) Line 1: FOR UPDATE clause allowed only for DECLARE CURSOR.
    Pls any body help...
    Thank you,
    Krist

    Krist,
    we added a new SQL Flavor 'SQLServer' in JDeveloper 10.1.2
    This was implemented to handle special SQL syntax of SQLServer, different from SQL92 (among others the FOR UPDATE problem you're facing).
    For new projects, you can select this flavor during their creation. For projects that were defined with Flavor SQL92, you can switch to SQLServer at runtime by setting the parameter jbo.SQLBuilder=SQLServer (in your Application Module configuration or as a java option -Djbo.SQLBuilder=...)
    Regards,
    Didier.

  • PL/SQL cursor with FOR UPDATE STATEMENT

    Welcome,
    I have some troubles with cursors. When I try update values in table using cursor i receive ORA-01410 Error : "INVALID ROWID".
    I use code as below:
    ALTER SESSION SET CURRENT_SCHEMA=TEST_SCHEMA;
    DECLARE
    TYPE LogTable_typ IS TABLE OF ADMIN_FILE_LOG%ROWTYPE;
    v_ModuleId KTIMS.ADMIN_FILE_LOG.MODULE_ID%TYPE;
    v_CDR KTIMS.ADMIN_FILE_LOG.CDR_SUCCESS%TYPE;
    CURSOR c1 IS
    SELECT MODULE_ID, cdr_success FROM ADMIN_FILE_LOG
    FOR UPDATE OF CDR_SUCCESS NOWAIT;
    BEGIN
    OPEN c1;
    LOOP
    FETCH c1 INTO v_ModuleId,v_CDR;
    IF v_ModuleId = 'LOAD' THEN
    UPDATE ADMIN_FILE_LOG SET CDR_SUCCESS = 70 WHERE CURRENT OF c1;
    END IF;
    EXIT WHEN c1%NOTFOUND;
    END LOOP;
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE(SQLERRM || SQLCODE);
    END;
    When I use ROWID in cursor declaration all works fine.Working code is:
    ALTER SESSION SET CURRENT_SCHEMA=KTIMS;
    DECLARE
    TYPE LogTable_typ IS TABLE OF ADMIN_FILE_LOG%ROWTYPE;
    v_ModuleId KTIMS.ADMIN_FILE_LOG.MODULE_ID%TYPE;
    v_CDR KTIMS.ADMIN_FILE_LOG.CDR_SUCCESS%TYPE;
    v_id ROWID;
    CURSOR c1 IS
    SELECT MODULE_ID, cdr_success, ROWID FROM ADMIN_FILE_LOG
    FOR UPDATE OF CDR_SUCCESS NOWAIT;
    BEGIN
    OPEN c1;
    LOOP
    FETCH c1 INTO v_ModuleId,v_CDR,v_id;
    IF v_ModuleId = 'LOAD' THEN
    UPDATE ADMIN_FILE_LOG SET CDR_SUCCESS = 70 WHERE ROWID = v_id;
    END IF;
    EXIT WHEN c1%NOTFOUND;
    END LOOP;
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE(SQLERRM || SQLCODE);
    END;
    What is difference in this two cases ?
    I try to find this in Oracle documentation "Database PL/SQL User's Guide and Reference" ( http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/sqloperations.htm#i45288 ).
    Please help.

    Hi,
    I think the USE of NOWAIT clause in cursor for update is, to remove the lock immediately after the transaction is over.
    In the second example where you are fetching the rowid explicitly and use the same id in loop to make the update, so there should not be any problem in this case.
    In the first example when you are using CURRENT OF to do the update, it is basically work on basis of latest fetched row from cursor and do the update (but i think implicitly it use the reference of row id also).
    I am not sure about it , but still try once by removing the NOWAIT clause from your cursor for update and try once , see whether you are still facing the error or not.

  • Performance of using a Select For Update vs a correlated subquery

    I was wondering wether or not it is more effecient to use the
    Select ... For Update (with a cursor etc.) versus a correlated
    subquery.
    I can accomplish the same thing with either however performance
    at our site is an issue.

    Use select for update cursor as that is faster as it updates
    based on the rowid. One thing to keep in mind is that rowid is
    session specific and the rows to be updated get locked so that
    nobody else can update them till the lock is released. I have
    had very good performance results with these cursors.
    Good luck !
    Sudha

  • Resource configuration for updating multiple tables

    Hi all,
    My aim is to update multiple tables in Sun Identity Manager
    I would like to know what is the resource to be configured for this
    Could any one help me in solving this issue
    Thanks in advance,
    Shalini

    I have used the Scripted JBDC resource as follows;
    go to Resources > Configure Types and select Scripted JDBC > Save
    at Resources, select resource Type Actions > New Resource
    select Scripted JDBC from the drop down, this should start the wizard
    the wizard will guide you with lots of questions.
    The one problem we had is in the Action Scripts (second wizard page). we found the example scripts
    at the webserver root /idm/sample/ScriptedJdbc/SimpleTable/beanshell
    the above scripts had to be modified to the SQL required for the application, but it worked well with the example databases and codes that it is easily understood.
    there are several examples of different table types here... there are lots of options, see the README iles for each type
    hope this helps;
    TG

  • User exit/BADI for updating custom table in MB1B transaction-

    Dear All,
    When performing a material to material conversion in MB1B transaction for  batch managed materials,system is creating a new batch by copying the characteristics of issuing material/batch.The details of the new batch created are updated in standard batch tables(MCH1,MCHA,MCHA).
    The requirement is when the new batch is created,the batch details and characteristics has to be stamped in a custom table.
    Kindly suggest a user exit/BAIi available for updating the same in the custom table.
    Regards,
    Deepak

    Deepak, Exits for MB1B are
    MBCF0002            Customer function exit: Segment text in material doc. item
    MBCF0005            Material document item for goods receipt/issue slip
    MBCF0006            Customer function for WBS element
    MBCF0007            Customer function exit: Updating a reservation
    MBCF0009            Filling the storage location field
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011            Read from RESB and RKPF for print list in  MB26
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.

  • Add a Select List to a Report, for Updating a table.

    I am working on Apex 3.0. I had to allow the Report could update a table. I added two checkbox to the report, and now I should add a Select List. I've tried a lot of ways but I don't know how can I pass the value selected, related to the ID of the row. I've tried with a JavaScript but I couldn't. A process should update the row on the DB when the user change the value on the select list. There is a save button that perform the process. How I could pass the ID of the row and the value to a PL/SQL process?
    Many Thanks for your suggestions.
    SELECT PFA.FOCUS_AREA_ID
    ,FOCUS_AREA_NAME,     
    apex_item.checkbox(1, FA.FOCUS_AREA_ID, DECODE(PFA.FOCUS_AREA_ID, null, ' ','checked="checked" ') ||
    'id="chk'||rownum||'"'|| ' onclick="checking(this)" ') as Focus_AREA_CHK,
    APEX_ITEM.SELECT_LIST(
    *5,*
    PFA.FOCUS_TYPE,
    *'DIS;DIS,ENG;ENG,EXP;EXP,TGT;TGT',*
    *'id="sl_'||FA.FOCUS_AREA_ID||' " ',*
    *'YES',*
    NULL,
    *'-Select-',*
    *DECODE(PFA.FOCUS_AREA_ID, null, 'disabled="disabled" ','' ) || ' --onchange="selectedElement(this)" ',*
    *'NO'*
    *)* "Type"
    FROM PROGRAM_FOCUS_AREAS PFA,
    FOCUS_AREAS FA
    WHERE
    FA.FOCUS_AREA_ID = PFA.FOCUS_AREA_ID(+)
    AND :P151_PROGRAM_ID = PFA.VS_PROGRAM_ID(+)

    **Deleted**
    Edited by: user4498053 on Dec 27, 2011 11:24 AM

  • How to write a procedure for update the table

    Hi all
    can any body please tell me how to write a procedure to update the table......
    I have a table with about 10,000 records...........Now I have add a new column and I want to add values for that like
    registration Code Creidits
    13213 BBA
    1232 MCS
    I had add the creidit now i want to update the table.........the new value want to get by SQL like
    Creidit = select creidit from othere_table...........
    Hope u can understand my problem
    Thanks in advance
    Regards
    Shayan
    [email protected]

    Please try the following --
    update Program_reg a
    set TotalCreidit = ( select tot_cr <Accroding to your logic>
                                from Program_reg b
                                where a.Registration = b.Registration
                                and    a.Enrollment = b.Enrollment
                                and    a.code = b.code
    where a.Registration in ( select distinct Registration
                                        from Program_reg );
    N.B.: Not Tested....
    Regards.
    Satyaki De.

  • FOR UPDATE OF table.field

    Why does the following not work
    create table division (code varchar2(2) primary key, div_desc varchar2(20));
    insert into division values ('01', 'Ninja assassins');
    insert into division values ('02', 'Working for the man');
    create table employees (tk number, first_name varchar2(10), last_name varchar2(10), code varchar2(2) references division(code));
    insert into employees values (1, 'Chuck', 'Smith', '01');
    insert into employees values (2, 'John',  'Smith', '02');
    DECLARE
      CURSOR my_csr IS
        Select e.tk, e.first_name, e.last_name
        From employees e, division d
        Where e.code = d.code
          and e.code = '01'
          and e.last_name = 'Smith'
        For update;
        cnt_updated NUMBER;
    BEGIN
      cnt_updated := 0;
      FOR my_row IN my_csr
      LOOP
        Update employees
        Set last_name = 'Forbes'
        Where current of my_csr;
        cnt_updated := cnt_updated + SQL%ROWCOUNT;
        dbms_output.put_line('You updated '||cnt_updated||' records');
      END LOOP;
    END;but just adding to the "for update" clause allows for an update?
    DECLARE
      CURSOR my_csr IS
        Select e.tk, e.first_name, e.last_name
        From employees e, division d
        Where e.code = d.code
          and e.code = '01'
          and e.last_name = 'Smith'
        For update *of e.tk*;We found this out recently, and fellow Developers are asking "Why?". Is there a documented reason, or is that just how it is?
    Thanks,
    --=Chuck

    It is not about locking it is how oracle translate the "where current". it is a simple rowid.
    did a little trace, and look what I got from 10046 trace file:
    For the update without the "update of", look at the 0 at the cr in the plan,
    Oracle already knows that this update will not do anything:
    PARSING IN CURSOR #6 len=62 dep=1 uid=82 oct=6 lid=82 tim=88904356722 hv=1877266405 ad='1a9b0404' sqlid='5a5zpz5ry9mz5'
    UPDATE EMPLOYEES_T SET LAST_NAME = 'Forbes' WHERE ROWID = :B1
    END OF STMT
    PARSE #6:c=0,e=258,p=0,cr=0,cu=0,mis=1,r=0,dep=1,og=1,tim=88904356717
    BINDS #6:
    Bind#0
      oacdty=208 mxl=3950(3950) mxlc=00 mal=00 scl=00 pre=00
      oacflg=00 fl2=206001 frm=00 csi=00 siz=3952 off=0
      kxsbbbfp=0c2ef090  bln=3950  avl=00  flg=05
    EXEC #6:c=0,e=1108,p=0,cr=0,cu=0,mis=1,r=0,dep=1,og=1,tim=88904357955
    STAT #6 id=1 cnt=0 pid=0 pos=1 obj=0 op='UPDATE  EMPLOYEES_T (cr=0 pr=0 pw=0 time=0 us)'
    STAT #6 id=2 cnt=0 pid=1 pos=1 obj=74422 op='TABLE ACCESS BY USER ROWID EMPLOYEES_T (cr=0 pr=0 pw=0 time=0 us cost=1 size=29 card=1)'for the update with the "update of", look at the 1 at the cr in the plan:
    PARSING IN CURSOR #6 len=62 dep=1 uid=82 oct=6 lid=82 tim=88913977309 hv=1877266405 ad='1a9b0404' sqlid='5a5zpz5ry9mz5'
    UPDATE EMPLOYEES_T SET LAST_NAME = 'Forbes' WHERE ROWID = :B1
    END OF STMT
    PARSE #6:c=0,e=87,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=1,tim=88913977304
    BINDS #6:
    Bind#0
      oacdty=208 mxl=3950(3950) mxlc=00 mal=00 scl=00 pre=00
      oacflg=00 fl2=206001 frm=00 csi=00 siz=3952 off=0
      kxsbbbfp=09f3abfc  bln=3950  avl=13  flg=05
      value=
    Dump of memory from 0x09F3ABFC to 0x09F3AC09
    9F3ABF0                            22010001              [..."]
    9F3AC00 000400B6 00780401 00000000           [......x.....]   
    EXEC #6:c=0,e=379,p=0,cr=1,cu=1,mis=0,r=1,dep=1,og=1,tim=88913977802
    STAT #6 id=1 cnt=1 pid=0 pos=1 obj=0 op='UPDATE  EMPLOYEES_T (cr=1 pr=0 pw=0 time=0 us)'
    STAT #6 id=2 cnt=1 pid=1 pos=1 obj=74422 op='TABLE ACCESS BY USER ROWID EMPLOYEES_T (cr=1 pr=0 pw=0 time=0 us cost=1 size=29 card=1)'Also notice that in the update version with the "update of" we can see dump of memory.
    There are some binds type that oracle won't show directly in the dump (e.g. timestamp, rowid, etc)
    For future, more hex oriented readers here is the rowid from table:
    SQL> select rowid from employees_t;
    ROWID
    AAASK2AAEAAAQR4AAAIf, somebody out there, can show me a way to read the memory dump back into the real rowid,
    I will be very happy.
    Amiel

Maybe you are looking for

  • Custom search using boolean attribute set to True gives no result

    I am setting up an auto-query using the custom search portlet. This is to show all items where a boolean custom attribute is checked, ie = True. In step 3 I have tried to set the operator to Equals to and the default value to True. This gives no resu

  • Server console doesn't show EJB section

    Hi! I tried to deploy EJB example (statelessSession.Trader) for WebLogic Server 5.1 (sp8) on NT 4. Server said that the ejb deployed, but I don't see ejb section in the server console. There is only "console subsystem" in console screen. When I run a

  • Regarding profit center

    Hello guys,              How can we post from one company code to another without assigning the other company codes as business areas. How can we do that with profit centers..?? Can anyone explain me about this. Thank you

  • Iphone 4 not seen in windows 8.1 file explorer

    IPhone 4 IOS 8.3  can not  transfer photos to Window 8.1

  • Parsing long numbers very huge

    Hi all: How i can parse a long number like this: String variable="E898374636475837"; long v=Long.parseLong(variable); This code throw: Exception in thread "main" java.lang.NumberFormatException: E898374636475837 at java.lang.Long.parseLong(Long.java: