Performance of Balance API in Payroll.....

We have one years worth of payroll data (145,000,000 in pay_run_result_values). Many of the recently deliver year-end pl/sql scripts use the pay_us_tax_balance_pkg (Balance API) and run for several days!!!!!! One call to this API takes 1-2 hours.
What can we do aside from adding hardware?
I tried Anaylzing tables and enabling Cost Based Optimizer and things were only worse. We can not modify the code (it is using dynamic SQL btw). HELP!
null

Hi,
I am not sure what is your requirement.As far as my knowledge is concerned there is no Previous YTD balance dimension.
You have balance_dimension suc as YTD,QTD,RUN etc.When you call function the pay_balance_pkg.get_value , you need to pass the balance_dimension,
assignment_id and date_earned parameter andit will retrun the appr value.In your case pass the previous year date for which you need data.
Hope this helps.
regards,
A

Similar Messages

  • Best practice to monitor 10gR3 OSB performance using JMX API?

    Hi guys,
    I need some advice on the best practice to monitor 10gR3 OSB performance using JMX API.
    Jus to show I have done my home work, I managed to get the JMX sample code from
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/jmx_monitoring/example.html#wp1109828
    working.
    The following is the list of options I am think about:
    * Set up: I have a cluster of one 1 admin server with 2 managed servers, which managed server runs an instance of OSB
    * What I try to achieve:
    - use JMX API to collect OSB stats data periodically as in sample code above then save data as a record to a
         database table
    Options/ideas:
    1. Simplest approach: Run the modified version of JMX sample on the Admin Server to save stats data to database
    regularly. I can't see problems with this one ...
    2. Use WLI to schedule the Task of collecting stats data regularly. May be overkill if option 1 above is good for production
    3. Deploy a simple web app on Admin Server, say a simple servlet that displays a simple page to start/stop and configure
    data collection interval for the timer
    What approach would you experts recommend?
    BTW, the caveats os using JMX in http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/jmx_monitoring/concepts.html#wp1095673
    says
         Oracle strongly discourages using this API in a concurrent manner with more than one thread or process. This is because a reset performed in
         one thread or process is not visible to another threads or processes. This caveat also applies to resets performed from the Monitoring Dashboard of
         the Oracle Service Bus Console, as such resets are not visible to this API.
    Under what scenario would I be breaking this rule? I am a little worried about its statement
         discourages using this API in a concurrent manner with more than one thread or process
    Thanks in advance,
    Sam

    Hi Manoj,
    Thanks for getting back. I am afraid configuring aggregation interval from Dashboard doesn't solve problem as I need to collect stats data of endpoint URI or in hourly or daily basis, then output to CSV files so line graphs can be drawn for chosen applications.
    Just for those who may be interested. It's not possible to use SQL to query database tables to extract OSB stats for a specified time period, say 9am - 5pm. I raised a support case already and the response I got back is 'No'.
    That means using JMX API will be the way to go :)
    Has anyone actually done this kind of OSB stats report and care to give some pointers?
    I am thinking of using 7 or 1 days as the aggregation interval set in Dashboard of OSB admin console then collects stats data using JMX(as described in previous link) hourly using WebLogic Server JMX Timer Service as described in
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/jmxinst/timer.html instead of Java's Timer class.
    Not sure if this is the best practice.
    Thanks,
    Regards,
    Sam

  • Balance Dimension in Payroll

    Hi Friends,
    Balance Dimension in Payroll :
    Is der any Balance dimension which will hold the value of Previous year YTD?
    As per my requirement, i want to use the previous year accumulated balance value(from 01-Apr-2010 to 31-Mar-2011) in the current year (in the month of April 2011).
    Thanks & Regards,
    Raghu
    Edited by: Raghu on Apr 20, 2011 7:16 PM
    Edited by: Raghu on May 2, 2011 12:17 AM

    Hi,
    I am not sure what is your requirement.As far as my knowledge is concerned there is no Previous YTD balance dimension.
    You have balance_dimension suc as YTD,QTD,RUN etc.When you call function the pay_balance_pkg.get_value , you need to pass the balance_dimension,
    assignment_id and date_earned parameter andit will retrun the appr value.In your case pass the previous year date for which you need data.
    Hope this helps.
    regards,
    A

  • What exactly is balance in Oracle Payroll. Can someone give an example pls

    Hi
    I am a newbie to Oracle Payroll. Could some one xplain what exactly is balance in Oracle Payroll. Can someone give an example pls. Is there any link which would be useful to clearly explain this.

    Results of Payroll run get accumulated in the Balances. The accumulation happens according to the dimension like ASGRUN holds the value of current payroll run, ASGYTD holds the cumulative value for the current financial year and gets reset at the beginning of the next financial year, ASGQTD holds the cumulative value for the current quarter and gets reset at the beginning of the next quarter etc.
    You can see the values of the balances for different dimension after running the payroll.
    View -> Assignment Process Results -> Balances.

  • GL Balance API's

    Are there any standard GL Balance API's or routines available? I am looking for a standard package that will allow us to make balance calls from code similar to the Balance Inquiry form in GL.

    Hi
    You can find all the API details in the following link
    http://irep.oracle.com/index.html
    Regards
    Ramesh Kumar S

  • Performance of Java API 2

    Hello,
    we are currently using Java API 2 that comes with MDM 5.5 SP5 (Build 5.5.42.65) to read extended information from the mdm repository.
    Our process:
    We are export every product as a XML file over the MDM Syndicator and enrich this file with extended information from the API (This step is needed because we cannot export all data by the Syndicator, for example multilingual attributes / some product data like textblocks / id's for incremental updates ...).
    Actually the performance is really bad, we need ca. 10-15 secs to process one file, that is really frustrating when you have stored near 70.000 products in your repository.
    Are there some tricks to improve the performance or is the API really so slow? Or any better alternatives for an fast export?
    Thanks for your help ....
    Best Regards,
    Jan

    1 - If you are able to use the EJB connection with the LiveCycle SDK classes (you have are using a supported java version such as 1.5_xx, your network security doesn't prevent RMI calls, etc.) then that is your best bet.
    2 - Yes, you will need the java APIs to be accessible for your application. The LiveCycle APIs have remote EJB endpoints so you can access them from another server.
    3 - There are samples that ship with the LiveCycle server (located in your LCInstall\LiveCycle_ES_SDK\samples\Forms). There are also samples on the LiveDocs page at: http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/000064.html

  • Value mapping performance using LookUp API

    All,
    We are using Value mapping look up from an external table using JDBC adapter and Lookup API. The scenario works good, but the performance is a hit for us as it is taking 7 seconds for the first step and the subsequent steps are taking much longer. In the performance header it shows that the steps "DB ENTRY QUEUING" and "DB SPLITTER QUEUING" are taking 90% of the time even though mapping execution is real quick.
    We tried the below things which did not help us analyze or isolate the problem.
    1. We increased the number of dialog processes from 3 to 8. (Optimal value should be 5)
    2. We tested the scenario using Value mapping in ID instead of external table. But it is almost taking the same time in the above two steps mentioned.
    I would like to know whether any kind of configuration settings to be done on the server like "specifying connection pool capabilities" etc...
    Any pointers would be really appreciated.
    Thanks and Regards,
    GP

    Hi,
    Have you seen this weblogs by Prasad recently:
    /people/prasad.illapani/blog/2007/03/08/performance-tuning-checks-in-sap-exchange-infrastructure
    /people/prasad.illapani/blog/2007/04/20/performance-tuning-checks-in-sap-exchange-infrastructurexi-part-ii
    Also are you doing multiple lookups or a single lookup? If you are using multiple lookup for multiple fields which has the same logic then try to use global variables.
    ---Satish

  • Information about Performance manager's APIs

    <p><span style="font-size: 10pt; font-family: Arial">Hi All,</span></p><p><span style="font-size: 10pt; font-family: Arial"> </span><span style="font-size: 10pt; font-family: Arial">I require some information about Performance Manager of Business Objects XI R2. </span></p><p><span style="font-size: 10pt; font-family: Arial">Business Objects provides APIs for BOE server, Web Services for customization, as that of, is there any APIs available for Performance Manager (for customization)? </span><span style="font-size: 10pt; font-family: Arial">Can we customize the performance Manager as per requirements? <span> </span></span><span style="font-size: 10pt; font-family: Arial"> </span></p><p><span style="font-size: 10pt; font-family: Arial">Please let me know your views & finding on this topic.</span><span style="font-size: 10pt; font-family: Arial"> </span></p><p><span style="font-size: 10pt; font-family: Arial">Thanks</span></p>

    Hi John, From the output you shared it looks like you using Performance Advisor and want to share a graph of a 7-mode system.  The instructions link you shared is from Performance Manager which is for Clustered Data ONTAP only.  In the Performance Advisor there is unfortunately no way to share a link.  You can 'save as' to png as you probably already saw, or you can use the dfm CLI to generate the same and email, perhaps as a daily report.  There is also a data collector that will post to the NetApp ToolChest that submits data to Graphite with dashboards in Grafana.  This solution would allow sharing of a URL like you desire.  If you want more info on this let me know. Kind Regards,Chris MaddenStorage Architect, NetApp

  • Process Performance monitoring Java API

    Hi,
    I am looking for java API's which can help me monitor performance stats like CPU utilization, memory utilization etc on a windows platform. I did get a handle on few APIs to measure memory utilization but somehow monitoring the CPU seems to be a problem. My requirement is to measure CPU and memory for a particular process and not for the entire system. Any pointers on this front would be of great help.
    Thanks
    Bhavin

    I don't see any great free libraries that you can just drop in and make this happen.
    There's an interesting looking product called "SIGAR" that seems to speak directly to what you want to do here.
    Or this might be a great opportunity for you to play with JNI and some C++... awesome! ;-)

  • Balance Adjsutment and Payroll

    Hello all,
    Ebs version: 11.5.10
    If a balance adjustment is done, in March 2011, then it is not letting me to run quickpay now( Jan 2012) even though the effective date is set for June 2011. It complains that, there are some future assignements pending.
    Can't we run a quick pay for the month of March 2011 in now?
    Please suggest.
    Thanks,
    Chandu.

    Thank you.
    So, when we can't run the payroll for Mar 2011, if we have payrolls run from April 2011, then in that, if we adjust a balance to an element in Mar 2011, separate action id's are created, right? Meaning that, we don't have to run a payroll again, right? Sorry, I am trying to confirm from what I have understood.
    And, when I do a Balance Adjustment for FIT, in that case, in my reporting, the FIT is being cosidered as regular tax and it is getting deducted from NET_PAY and the NET_PAY is getting affected. Any idea why it could happen so?
    I can try to troubleshoot from now, if you can help me out in providing the source table names and the effected ID's when we adjust a balance for an element?
    I know some of the tables like below:
    PAY_ASSIGNMENT_ACTIONS,
    PAY_RUN_RESULTS,
    PAY_RUN_RESULT_VALUES,
    PAY_ELEMENT_TYPES_F,
    PAY_INPUT_VALUES_F,
    PAY_ELEMENT_CLASSIFICATIONS
    But, which table is unique for balance adjustment is not clear. Can you please help me out here?
    Thanks,
    Chandu.

  • Balancing BW Employee payroll to R3

    Hi,
    I'm looking for the best method to balance employee payroll (0PY_C02) between BW and R3.  We are using end-date of the in-period to allocate pay to month.  I'm trying to use the Wage Types report but it isn't evident how to select so as to get comparable data.  Is there a better method?

    For the record, this is possible using the Wage type report : Transaction PC00_M99_CWTR ou PGM H99CWTR0.
    You must make sure you use the in- or for-view, depending upon the option you take when assigning payroll data to calendar month (i.e. based in end date of in-period or for-period, etc)

  • CrEme 4.0 (beta) GUI performance using different API's

    Hi
    Written a prototype that uses several buttons, a few drop downs,
    couple of textfields, one or two small images and a few different
    kinds of layouts.
    Did this with Swing, AWT and SWT from the Eclipse distribution.
    In my prototype I found that SWT is by far the fastest API for a GUI,
    everything is just smooth and the startup seems faster too.
    Next is AWT, things seem to take twice as much time as with
    SWT (and u lose editable drop downs if u cant impl one in AWT yourself).
    Swing just feels painful , much slower performance than AWT (not
    a surprise tho since it's built on top of AWT).
    I recommend everyone to try SWT if your JVM can run it.

    Just to clarify.
    The PDA I used is iPAQ 6340 (64mb RAM, 240x320
    display, 65536 colors, TI OMAP1510 CPU up to 168 Mhz afaik)

  • Exchange Performance load balancing

    We have a single Exchange Server with 2 mailbox databases, MB01 and MB02.
    Each user is split among the 2 databases. and Each database has its own hard drive location, e:\maildatabase\mb01 and f:\maildatabase\mb02. now the 2 drives are at 85% capacity and the server;s 32Gb memory is in 95-98% physical and commit memory.
    I want to introduce a 2nd Server with same specs to reduce the load on the 1st, how do I go about this?
    1. do I bring up the 2nd exchange server and move some mailbox over? and force users to only look for the 2nd?
    2. Do I do DAG but it means only 1 server is active which would not help my cause
    Note: I have 400 users and 78% are OWA users.

    Hi MAS,
    thanks for the suggestions, actually the log files are in a separate drive and the mailbox database as well.
    Yes I am going to deploy another Exchange Server, my challenge is 
    1. do I split up the database even further into small database per department and spread the mailbox database between the 2 exchange?
    Currently the 2 database are about 600GB each
    break them into 300GB each and move 2 300GB to new server
    Have certain IP/Subnet connect to either servers to reduce work load
    DAG the Servers as a way to keep backup. However the resources required would have
    dropped
    These are just some of my thought, 
    Question are these doable and SMART?

  • How can I get Vendor Balances to Payroll

    Dear Experts,
    I  came across a scenario,
    My client is paying some ammount in behalf of employee like Mobile Bill and keeping this ammount in Vendor account,
    How can I take that Balance in to payroll to deduct in Payroll?
    is there any Standard way of picking direcly from Vendor Open Balances?

    There is no such option available in SAP as per my knowledge.
    yaa, if requierd a report can be taken from SAP FI module, and the same can be used to deduction.
    ASk abaper to create a BDC for this.
    Regards
    ...Sadhu

  • Performance issue on calling the API queryFolders to retrive the subfolders

    Hi, We are using 10.3.0 collaboration server.When we make an API call to get the folders under a parent folder, the API is taking more than 2 minutes to return. When we did research, found out that the query collaboration server is executing taking time to return the results from the collaboration database. I am copying the query below. The performance issue coming when the number of sub folders is more than 1400. I did few experiments on this query. When I remove the sort clause, the query is running too fast. If i keep the sort clause and remove the sub query in select clause , query is running fast. But the combination is taking too much time i.e. 80 seconds. Please share your ideas on how to increase the performance of this API call. We are planning to upgrade to another version of collab but not sure whether it would fix the problem. Highly appreciated your valuable suggestions. Let me know if you need more information.
    SELECT OBJ.OBJECTID, OBJ.TID, OBJ.CREATED, OBJ.MODIFIED, OBJ.NAME,
    OBJ.DESCRIPTION, OBJ.OWNERID, OBJ.PROJECTID, OBJ.PARENTID,
    OBJ.OWNERNAME, OBJ.PARENTPATH, OBJ.PARENTIDPATH, OBJ.DEPTH,
    OBJ.MODERATED, OBJ.CRAWLERACCESSIBLE,(select DISTINCT(1) FROM
    CSFOLDERS where(exists(select * from csFolders subFolders where
    subFolders.parentID=OBJ.objectid))) as HASVISSUBFOLD FROM CSFOLDERS
    OBJ WHERE EXISTS (SELECT * FROM CSROLEMEMBERSHIP RM,CSFOLDERSECURITY
    OS,PLUMTREE.PTVGROUPMEMBERSHIP GRP WHERE OS.ACCESSLEVEL > 0 AND
    GRP.USERID=:v0 AND GRP.GROUPID = RM.PTGROUPID AND RM.OBJECTID =
    OS.ROLEID AND OS.OBJECTID = OBJ.OBJECTID) AND obj.TID = 3 AND
    (obj.parentID=:v1) ORDER BY LOWER(obj.NAME) ASC

    hi reddy,
    before applying for all entries on mseg
    1.sort t_mard by matnr werks and lgort
    2. if not t_mard is initial.
         select mblnr mjahr etc...
       endif. 
    these are the main precautions u need to look into before you are using second select.
    entires from bseg, mseg will consume lot of time.
    so the best if only the fields u r showing are required then take it from the respective table like
    ebeln ebelp from ekpo
    like that .
    so the alternative will be this but this will be the best option if u know only these fields are to be selected .
    hope u r getting my point.
    yeah swagatika also said correctly that u can go for indexing so the Retrieval is faster.
    one more option is construct a view/structure and proceed .
    regards,
    TVK.
    Message was edited by: Vikky

Maybe you are looking for

  • File Name Scheme - Receiver Adapter

    Hi, I have a File Receiver Adapter which is using content conversion to take in XML and output a file. I want the output file to be called EOD286ccyymmdd.txt where ccyymmdd is the current date. Seems to be 2 options for file names: 1. Add Time Stamp:

  • Is there something wrong with STATIC?

    hey every one I had a question the project that I am working on most of my variables are static I did this way to avoid instantiating each class you know like chooser c = new choooser() if my variables are static I could just access them is that wron

  • Database adapter -  commit transactions

    Hello everybody. Is it possible with the BPEL Process Manager (Databas Adapter) to handle some f.e. INSERTS on a database (also with more then one adapter) only with on database connection and commit all INSERTS only at the end of the process? So it

  • Purchase requisition status

    hi all On clicking the approval button (Purchase requisition )..submitted successfully but the status remains Incomplete . does anybody has an idea of this.

  • Can we create a table like this

    Hi experts plz help me in this how to create a table like this Class     Number   count     Amount First          A     1     50           2     70           3     60 Second        B     1     50           2     200           3     9 Thanks sush