Interface is taking lots of time for first time execution

Hello all,
I have one inbound interface in which i am updating T-code CO01 ,CO15 , MIGO and MB1A respectively
depending upon the condition in the incoming file.
When ever i run this interface for the first time it takes lots of time for execution, but when i run the same interface again with the same file it is taking half time of the first time execution.
I am not able to understand why it is taking lots of time for first execution and after that execution time is redued very much with the same file
Kindly help
Thanks
Sachin Yadav

thank you santhosh for your reply..
as this program is in Production system it it taking 3 to 4 hour to execute.
Previously it was OK but from last 2 to 3 moths it is taking more time.
when i debug the code it is working fine. I din't find any point at which it is taking more time.
I am not aware about buffers and SAP memory. can you plz help
Do you have any idea why this is happening.
Or how can i rectify the problem?
Thanks
Sachin

Similar Messages

  • ADF application taking more time for first time and less from second time

    Hi Experts,
    We are using ADF 11.1.1.2.
    Our application contains 5 jsp pages, 10 - 12 taskflows, and 50 jsff pages.
    For the first time in the day if we use the application it is taking more than 60 sec on some actions.
    And from the next time onwords it is taking 5 to 6 sec.
    Same thing is happening daily.
    Can any one tell me why this application is taking more time for first time and less time from second time.
    Regards
    Gayaz

    Hi,
    If you don't restart you WLS every day, then you should read about Tuning Application Module Pools and Connection Pools
    http://docs.oracle.com/cd/E15523_01/web.1111/b31974/bcampool.htm#sm0301
    And pay attention to the parameter: Maximum Available Size, Minimum Available Size
    http://docs.oracle.com/cd/E15523_01/web.1111/b31974/bcampool.htm#sm0314
    And adjust them to suit your needs.

  • Application takes lot of time for first time..

    Hai guys,
              we made an application on a 3rd party software for use on a tool which connects to SAP with RFC.
    the applicaiton updates ORACLE databse after getting relevant information from SAP.
    Now,for information on SAP side we have RFC.
    for updates on oracle we write SQL.
    the unique problem is..this applicaiton  takes lot of time when used the first time..
    once the first use is over it takes much lesser time for any subsequent use(by any user)..
    I DOUBT THE SQLS(ESP UPDATE) TAKE MUCH TIME THE FIRST TIME.

    I DOUBT THE SQLS(ESP UPDATE) TAKE MUCH TIME THE FIRST TIME.
    Why don't you trace the call and be sure?  Don't guess.
    once the first use is over it takes much lesser time for any subsequent use(by any user)..
    Because the statement is in the cursor cache - clear the cache each time and the statement will run long every time.  Again, trace the call and determine the issue - most likely you need an index or have an improperly coded SELECT statement.

  • Query takes long time for first time

    I have a table with 100 million records and another tables with many rows.
    When I ran a query - it's takes about 1 minute to complete, but when I ran it again it takes less than 1 second to complete.
    Why it is happening?
    Thanks,
    Tz.

    Welcome to the forum.
    When you post a question always provide your 4 digit Oracle version. Different versions have different functionality and this can affect your results and the advice you need.
    For performance tuning questions see the FAQ (upper right corner of page) for the information needed for tuning requests.
    >
    When I ran a query
    >
    How did you run it? Did you use sql*plus, sqldeveloper, some other tool?
    What command did you enter?
    Using sql*plus you can get an execution plan for the query by
    SQL> set serveroutput on
    SQL> set autotrace traceonly
    SQL> select * from emp;
    Execution Plan
    Plan hash value: 3956160932
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |    14 |   546 |     3   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS FULL| EMP  |    14 |   546 |     3   (0)| 00:00:01 |
    SQL>

  • Opening premier elements for first time. Been "gathering user info" for 15 minutes...what to do?

    Opening premier elements for first time. Been "gathering user info" for 15 minutes...what to do? Previously hit "organize", ran for 25 min till hit 100%, then "had to close"?

    Unfortunately, there's not enough info listed to give you an effective answer.
    Can you give more detailed system spec's.  There are a lot of differences in RAM, & Hard Drive Technologies.  Is your 2TB a single hard drive, or multiple drives in RAID?  While a single 2TB drive is nice for the storage capacity, they also sacrifice some performance to reach that capacity... What speed is the RAM, & I'm assuming it's properly opperating in Dual Channel mode (watch your POST screen to be sure).  Which Core i7 CPU are you running, & what Operating System are you running.   Finally, bring up your task manager, & see what processes are using CPU cycles.   Also, are you starting up PrE8 through the default shortcut which uses the Welcome screen?
    A quick guess is that Auto Analyzer & the Welcome screen are behind your troubles, but can't be sure till more info is available.
    There is a current thread about Auto Analyzer, & I've posted a way to bypass the Welcome screen in several threads. 
    See my post in this thread to bypass the Welcome screen http://forums.adobe.com/thread/516524 (2nd post in thread)
    Message was edited by: chaosdsmFL -  added link

  • Re transmission bit is set even when packet is transmitting for first time in AP-STA Concurrent testing

    Hi ,
    Test case scenario : STA-AP Concurrent test case.
    1. STAUT interface of CSR-DUT connected to Cisco-AP1252AG and T.P Ref Station Atheros-9462 connected to APUT-CSR.
    2. Run Rx traffic between Cisco-AP1252AG to STAUT-CSR and Atheros to APUT-CSR ( i,e TCP Rx/RX ) Simultaneously .
    Observations :
    1. Re transmission bit is set for packets transmitting for first time -- As seen in sniffer , Please find the attached file -- Retransmission_bit_error_capture for the instance show like wise we have many instance of the issue occurrence .
    2. There might be chance where sniffer is missing these packets but at the same time DUT cannot miss and we should be able to see Block ACK from DUT and this is not happening and more over it is happening at many instances also refer the attached sniffer capture -- TCP_rx-rx-25-19Mbps for further investigation on the issue.
    Please some one help us to understand / solve the above issue explained.
    Thanks,
    Jagadeesh

    Rather hard to put the pieces together without seeing the entire capture.

  • HT1178 I'm setting up airport for first time. I'm getting error no DNS servers help

    I'm setting up airport for first time. Getting error no DNS servers. What is DNS server and how do I fix this?

    DNS server is that translation from a website address in words meaningful to us.. eg www.google.com to an actual number that computers can use. Without DNS the internet may work but you would have to know the ipv4 address of every site you want to visit.
    Whenever you don't know the meaning of a term just type wiki plus the term in google search.
    http://en.wikipedia.org/wiki/Domain_Name_System
    We cannot really help fix the problem without knowing a good deal more info.
    So
    What modem do you have.. make and model may be a help?
    Who is your ISP.. may be helpful??
    Is the modem also a router?
    How is the TC connected to the modem?
    How is the computer connected to the TC?
    A primary example of where you get this problem is a pure cable modem.. ie has no router in it.
    When you replace an existing computer or router that is plugged into it, with the TC, requires that you power cycle the modem. In some cases the off time is 5min.. for a lot of services, it needs to be off 20min.. and for some even longer.. maybe an hour or overnight.
    But it is not worth getting into specifics without knowing the rest of the system.

  • Long time to open workbook for first time

    Hi,
    I have a workbook with three queries . Performance of workbook is good when it was created for first time. It has additional 22 sheets with formulas and other sheets with values based on query sheets.
    The problem starts after I close the existing session and open in another session when it takes 15 to 20 minutes to come up.But after that the book is slow even for single click button action.
    Version of analysis 1.4.6
    Win 7(64 bit)
    Ms office 2010(32 bit)
    Refresh on opening is disabled.
    Few thing which I did:
    >> I opened up task manager and did analyze wait chain, I found that excel.exe is waiting for splwow64.exe process.
    >> I enabled logging at "debugging information" in support setting for workbook and checked things out in log file.
    Found that
    There was warning "AddSerializer failed (Command processors not initialized)
    Looking at log file for events when book took time to open, I found that time stamp gap between  following events"
    -verbose: Working mode as serialized in document:'Local'
    -verbose: Successfully deserialized system info from workbook  XML
    - verbose: ...its logs various properties of queries like query name,id etc"
    and its immediate previous event of cache formula string is 20 mins.
    >> in another session I opened a workbook with normal performance.Found above mentioned warning message and deserialization... information.
    the difference in this case is that there is not delay in events.
    Has anybody faced this issue? Any idea on deserialization of workbook xml in analysis.
    Any idea where is metadata saved in analysis. is it in form of some hidden script object just as in BEx 7.0
    Thanks
    Pramod.

    Hi Pramod,
    Since you have several sheets in this workbook, have you checked the number of custom styles?
    Please check the SAP note http://service.sap.com/sap/support/notes/1899658
    According to the note, too many styles slow down Analysis for Office.
    The note also contains a macro that you can run on your workbook to delete the custom styles if you want to check.
    Regards,
    Filipe

  • HT201250 i am using for first time the time machine and an external hard drive because I want to erase my macbook and start from zero files. do i keep my files in the portable hard disk when I connect it again with the macbook or the time machine will era

    i am using for first time the time machine and an external hard drive because I want to erase my macbook and start from zero files. Am i keeping my files in the portable hard disk when I will connect it again with the macbook or the time machine will erase all?
    I would like to know if after I erase all my data, empy hard drive inside the macbook, the time machine will erase all my files that I have saved in my "WD "My passport" external hard drive

    Welcome to Apple Support Communities
    Time Machine has to erase the external disk in order to make backups. Before setting Time Machine up, copy the files of your external disk to the hard disk of the Mac in order not to lose them, and then, set up Time Machine. The first backup will start automatically.
    If you want more information about Time Machine, read the Pondini's site > http://pondini.org

  • How do I sync my new ipad mini with my old ipad 2, without losing any apps or data in notes?  I need step by step instructions for first-time sync with ipad mini.  Thanks.

    How do I sync my new ipad mini with my old ipad 2, without losing any apps or data in notes?  I need step by step instructions for first-time sync with ipad mini.  Thanks.

    If you synced it many times, you have to have a backup. It's just a question of how old that backup is now. When did you last sync?
    First of all launch iTunes on your computer and go to Edit>Preferences>Devices. Do you see any backups for you iPad in that window? If so, how new is the newest backup? That will be the backup that you will want to use. But remember that if you use that backup and it is one month old, you can only restore from that date back in time. Anything that you did on the iPad in the past month will not be in that backup.
    Turn on the new iPad Minin and start activating OTA via WiFi. You will get to a certain point in the process where you will be given the choice to Set up as new, Restore from iCloud - or Restore from iTunes. You will want to select Restore from iTunes.
    That is the short and sweet version. There are step by step instructions in this article. This applies to the mini as well as the iPad 4 or the iPad 3 for that matter.
    http://www.everythingicafe.com/how-to-set-up-new-ipad/2012/03/16/

  • Using iPod shuffle 4th generation for first time and receiving the error : one of the USB devices attached to this computer has malfunctioned, and windows does not recognize it. For assistance in solving this problem, click this message

    Using iPod shuffle 4th generation for first time and receiving the error : one of the USB devices attached to this computer has malfunctioned, and windows does not recognize it. For assistance in solving this problem, click this message.
    Using win 7 and latest iTunes [10.6.3]. Have already gone through below links and did not find any solution.
    http://support.apple.com/kb/HT2292
    http://support.apple.com/kb/TS1369
    http://support.apple.com/kb/HT1923
    http://en.kioskea.net/forum/affich-17997-ipod-not-detected

    I was hoping it would be something like a USB device conflict, but now the shuffle is the only thing connected...
    This article was one of the ones you linked to above in your initial post
    http://support.apple.com/kb/TS1369
    Under Part 9. Verify that USB drivers are installed, did you try the steps in If only "Unknown Device" appears?  That appears to be your situation.
    Also, you said that the shuffle initially worked well enough to do a sync, then it had the same problem again.  If you can get it to work again initially, before doing anything else, try the following.  Select the shuffle in the iTunes sidebar, under DEVICES.  Over to the right, go to the Summary tab.  By default, the checkbox for Enable disk use should be unchecked.  If so, check it and Apply the change.  See if that makes any difference. 
    (If Enable disk use was already checked, try unchecking it and Apply the change.  Basically, set it the "other way" and see if there is any improvement.)
    NOTE:  When disk use is enabled, you have to eject the iPod in iTunes before disconnecting it physically.
    If the disk use change makes a difference, that may provide a clue about the actual cause.

  • HT1476 if i bought my ipod touch 32gb in germany where the voltage is 220v and i live in America where the voltage is 110, i will have to wait to get to my home to charge it for first time or I can charge it here and change the voltage of the battery in A

    if i bought my ipod touch 32gb in germany where the voltage is 220v and i live in America where the voltage is 110, i will have to wait to get to my home to charge it for first time or I can charge it here and change the voltage of the battery in America?
    please i need help, im worried that if I connect my ipod here, it will burn or sometihng bad.

    Just connect it to a computer's USB port.
    Most wall chargers are dual voltage (110- 220 volts) and only require a plug adopter. Check the wall charger to see if yours is.

  • Getting error 36331 while running prebuilt  etl for  first  time

    Hi all,
    I have installed BI apps 7.9.6 and OBIEE 10.1.3.4.1, DAC 10.13.4.1 on a Linux machine with Oracle 10gR2 as data base and EBS 11 i as the data source. I am running the prebuilt ETL for the first time for a new execution plan created with Financials-Receivables subject area added to it. Of the total 292 tasks 30 tasks run well and the ETL fails after that with the following error.
    The following error message is from the DAC server log. I have seen the session logs and workflow logs for the SDE_ORA_CodeDimension_Supplier_Payment_Method task, but could figure out what could be the issue. Please let me know if any one has encountered the same issue.
    =====================================
    ERROR OUTPUT
    =====================================
    524 SEVERE Tue Sep 22 06:41:14 EDT 2009 Could not attach to workflow because of errorCode 36331 For workflow SDE_ORA_CodeDimension_Supplier_Payment_Method
    525 SEVERE Tue Sep 22 06:41:14 EDT 2009
    ANOMALY INFO::: Error while executing : INFORMATICA TASK:SDE_ORA11510_Adaptor:SDE_ORA_CodeDimension_Supplier_Payment_Method:(Source : FULL Target : FULL)
    MESSAGE:::
    Irrecoverable Error
    Error while contacting Informatica server for getting workflow status for SDE_ORA_CodeDimension_Supplier_Payment_Method
    Error Code = 36331:Unknown reason for error code 36331
    Pmcmd output :
    Thx
    RM

    Found that the indices on tables are failing to be created while running the workflow. I have updated the status of the task as completed and re queued the task. ETL ran successfully then.

  • Performance issue in browsing SSAS cube using Excel for first time after cube refresh

    Hello Group Members,
    This is a continuation of my earlier blog question -
    https://social.msdn.microsoft.com/Forums/en-US/a1e424a2-f102-4165-a597-f464cf03ebb5/cache-and-performance-issue-in-browsing-ssas-cube-using-excel-for-first-time?forum=sqlanalysisservices
    As that thread is marked as answer, but my issue is not resolved, I am creating a new thread.
    I am facing a cache and performance issue for the first time when I try to open a SSAS cube connection using Excel (using Data tab  -> From Other Sources --> From Analysis Services) after daily cube refresh. In end users system (8 GB RAM but around
    4GB available RAM), for the first time, it takes 10 minutes to open the cube. From next run onwards, its open up quickly within 10 secs.
    We have daily ETL process running in high end servers. The configuration of dedicated SSAS cube server is 8 core, 64GB RAM. In total we have 4 cube DB - out of which for 3 is full cube refresh and 1 is incremental refresh. We have seen after daily cube
    refresh, it takes 10 odd minutes to open the cube in end users system. From next time onwards, it opens up really fast with 10 secs. After cube refresh, in server systems (32 GB RAM, around 4GB available RAM), it takes 2 odd minutes to open the cube.
    Is there, any way we could reduce the time taken for first attempt ?
    As mentioned in my previous thread, we have already implemented a cube wraming cache. But, there is no improvement.
    Currently, the cumulative size of the all 4 cube DB are more than 9 GB in Production and each cube DB having 4 individual cubes in average with highest cube DB size is 3.5 GB. Now, the question is how excel works with SSAS cube after
    daily cube refresh?
    Is it Excel creates a cache of the schema and data after each time cube is refreshed and in doing so it need to download the cube schema in Excel's memory? Now to download the the schema and data of each cube database from server to client, it will take
    a significant time based on the bandwidth of the network and connection.
    Is it anyway dependent to client system RAM ? Today the bigest cube DB size is 3.5 GB, tomorrow it will be 5-6 GB. Now, though client system RAM is 8 GB, the available or free RAM would be around 4 GB. So, what will happen then ?
    Best Regards, Arka Mitra.

    Could you run the following two DMV queries filling in the name of the cube you're connecting to. Then please post back the row count returned from each of them (by copying them into Excel and counting the rows).
    I want to see if this is an issue I've run across before with thousands of dimension attributes and MDSCHEMA_CUBES performance.
    select [HIERARCHY_UNIQUE_NAME]
    from $system.mdschema_hierarchies
    where CUBE_NAME = 'YourCubeName'
    select [LEVEL_UNIQUE_NAME]
    from $system.mdschema_levels
    where CUBE_NAME = 'YourCubeName'
    Also, what version of Analysis Services is it? If you connect Object Explorer in Management Studio to SSAS, what's the exact version number it says on the top server node?
    http://artisconsulting.com/Blogs/GregGalloway

  • Error when launch MaxDB studio for first time

    Dear, Experts
    I faced with one issue for launch MaxDB studio for first time.
    It reported:
    Connect user failed
    SAP DBTech JDBC: Cannot connect to jdbc:sapdb://.../.UMDB [Restart required].
    Creating default user management failed
    Could not create database ".UMDB": [C:\sapdb\clients\DatabaseStudio\pgm\dbmcli.exe] > ERR, -24832, ERR_SHMNOTAVAILABLE ...
    Could you please help me on this?
    Thank you in advance.
    Best Regards

    If not solved yet...
    What says appsrv.log ? Which user are you using to start the appserver ? Which user have you specified when sreating the database ?
    Nicolas.

Maybe you are looking for

  • Print dialog options in case sensitive file system

    Since changing the file system running Lion and Mountain Lion from Mac OS Extended (Journaled) to Mac OS Extended (Case-sensitive, Journaled), certain features in print dialogs have disappeared. Particularly the option to print notes with slides in M

  • Using spool in a procedure

    Hi, I've a package with 6 procedures. In one procedure I need to load the data into a flat file. The procedure contains only one select statement. example: procedure pro_test as select * from emp; end pro_test; Shell script is being used to call one

  • STO - Partial Reversal of Goods

    Hello, I would like to know how to reverse the goods movement for a STO Delivery Partially. What is the movement type that i use for it. step 1: Create a STO. Step 2: Create a Outbound Delivery and do a PGI. Say 100 Units. Step 3: Did a GR at the rec

  • Project is dropping audio and connections after burning

    A project was created on an Intel machine running Tiger, then modified with all new assets on a PowerPC G5 with Tiger (10.4.11). When burned to disc, some menu audio is missing, and some connections (button links, menu timeouts) are non-functional. T

  • List view for folders on a sparse image disk

    I have set up a sparse image on an external disk.  I cannot get the sparse image disk folders to default to "List View".  It always opens as "Icons" and I have to click on list view everytime.  Any ideas?